mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-18 12:05:28 -04:00
(translation mode) allow check in of missing translations which equal the base translations
This commit is contained in:
parent
22e64071fa
commit
e65ba5a903
@ -87,7 +87,7 @@ export const mutations: MutationTree<RootState> = {
|
|||||||
state.translationMode = false;
|
state.translationMode = false;
|
||||||
},
|
},
|
||||||
translate(state, { translator, key, newValue }) {
|
translate(state, { translator, key, newValue }) {
|
||||||
if (newValue !== translator.get(key)) {
|
if (newValue !== translator.get(key, false, false, false)) {
|
||||||
const translationChanges = { ...state.translationChanges };
|
const translationChanges = { ...state.translationChanges };
|
||||||
translationChanges[key] = newValue;
|
translationChanges[key] = newValue;
|
||||||
state.translationChanges = translationChanges;
|
state.translationChanges = translationChanges;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user