mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
translating error modal
This commit is contained in:
parent
bed02f2750
commit
f2d57d6d5e
@ -30,6 +30,9 @@ export const en = {
|
|||||||
dark: 'Dark',
|
dark: 'Dark',
|
||||||
light: 'Light',
|
light: 'Light',
|
||||||
|
|
||||||
|
operationFailed: 'Operation Failed',
|
||||||
|
tryAgain: 'Please try again.',
|
||||||
|
|
||||||
save: 'Save',
|
save: 'Save',
|
||||||
forget: 'Forget',
|
forget: 'Forget',
|
||||||
unlock: 'Unlock',
|
unlock: 'Unlock',
|
||||||
@ -95,6 +98,9 @@ export const fr = {
|
|||||||
dark: 'Sombre',
|
dark: 'Sombre',
|
||||||
light: 'Lumineux',
|
light: 'Lumineux',
|
||||||
|
|
||||||
|
operationFailed: 'Opération Échouée',
|
||||||
|
tryAgain: 'Veuillez réessayer.',
|
||||||
|
|
||||||
save: 'Enregistrer',
|
save: 'Enregistrer',
|
||||||
forget: 'Oublier',
|
forget: 'Oublier',
|
||||||
unlock: 'Déverrouiller',
|
unlock: 'Déverrouiller',
|
||||||
|
@ -30,9 +30,9 @@ export function Profile({ closeProfile }) {
|
|||||||
catch(err) {
|
catch(err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
modal.error({
|
modal.error({
|
||||||
title: 'Failed to Save',
|
title: <span style={state.menuStyle}>{state.strings.operationFailed}</span>,
|
||||||
content: 'Please try again.',
|
content: <span style={state.menuStyle}>{state.strings.tryAgain}</span>,
|
||||||
bodyStyle: { padding: 16 },
|
bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -45,9 +45,9 @@ export function Profile({ closeProfile }) {
|
|||||||
catch(err) {
|
catch(err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
modal.error({
|
modal.error({
|
||||||
title: 'Failed to Save',
|
title: <span style={state.menuStyle}>{state.strings.operationFailed}</span>,
|
||||||
content: 'Please try again.',
|
content: <span style={state.menuStyle}>{state.strings.tryAgain}</span>,
|
||||||
bodyStyle: { padding: 16 },
|
bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,9 +16,9 @@ export function AccountAccess() {
|
|||||||
catch (err) {
|
catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
modal.error({
|
modal.error({
|
||||||
title: 'Failed to Set Sealing Key',
|
title: <span style={state.menuStyle}>{state.strings.operationFailed}</span>,
|
||||||
comment: 'Please try again.',
|
content: <span style={state.menuStyle}>{state.strings.tryAgain}</span>,
|
||||||
bodyStyle: { padding: 16 },
|
bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -30,9 +30,9 @@ export function AccountAccess() {
|
|||||||
catch (err) {
|
catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
modal.error({
|
modal.error({
|
||||||
title: 'Update Registry Failed',
|
title: <span style={state.menuStyle}>{state.strings.operationFailed}</span>,
|
||||||
content: 'Please try again.',
|
content: <span style={state.menuStyle}>{state.strings.tryAgain}</span>,
|
||||||
bodyStyle: { padding: 16 },
|
bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -45,9 +45,9 @@ export function AccountAccess() {
|
|||||||
catch (err) {
|
catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
modal.error({
|
modal.error({
|
||||||
title: 'Failed to Save',
|
title: <span style={state.menuStyle}>{state.strings.operationFailed}</span>,
|
||||||
comment: 'Please try again.',
|
content: <span style={state.menuStyle}>{state.strings.tryAgain}</span>,
|
||||||
bodyStyle: { padding: 16 },
|
bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
16
todo
16
todo
@ -1,47 +1,47 @@
|
|||||||
profile:
|
|
||||||
- add translations
|
|
||||||
- style modals
|
|
||||||
- image edit
|
|
||||||
- details edit
|
|
||||||
- sealed topics
|
|
||||||
- change login
|
|
||||||
|
|
||||||
contact:
|
contact:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- detail layout
|
- detail layout
|
||||||
- action buttons
|
- action buttons
|
||||||
|
|
||||||
cards:
|
cards:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- alert name overlay
|
- alert name overlay
|
||||||
- @ symbol
|
- @ symbol
|
||||||
- remove back
|
- remove back
|
||||||
|
|
||||||
listing:
|
listing:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- remove back
|
- remove back
|
||||||
- match widtch
|
- match widtch
|
||||||
|
|
||||||
thread:
|
thread:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- button tool tip
|
- button tool tip
|
||||||
|
|
||||||
details:
|
details:
|
||||||
- back button
|
- back button
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- action buttons
|
- action buttons
|
||||||
|
|
||||||
calling:
|
calling:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- layout
|
- layout
|
||||||
- fullscreen
|
- fullscreen
|
||||||
- device selection
|
- device selection
|
||||||
|
|
||||||
access:
|
access:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
- language
|
- language
|
||||||
- color theme
|
- color theme
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
- dark style
|
- dark style
|
||||||
|
- translation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user