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