diff --git a/net/web/src/constants/Strings.js b/net/web/src/constants/Strings.js
index a8aabf39..2f19d72d 100644
--- a/net/web/src/constants/Strings.js
+++ b/net/web/src/constants/Strings.js
@@ -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',
diff --git a/net/web/src/session/account/profile/Profile.jsx b/net/web/src/session/account/profile/Profile.jsx
index c4a0c407..5f5bffaf 100644
--- a/net/web/src/session/account/profile/Profile.jsx
+++ b/net/web/src/session/account/profile/Profile.jsx
@@ -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: {state.strings.operationFailed},
+ content: {state.strings.tryAgain},
+ 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: {state.strings.operationFailed},
+ content: {state.strings.tryAgain},
+ bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
});
}
}
diff --git a/net/web/src/session/account/profile/accountAccess/AccountAccess.jsx b/net/web/src/session/account/profile/accountAccess/AccountAccess.jsx
index 0c5a70b3..d55049ac 100644
--- a/net/web/src/session/account/profile/accountAccess/AccountAccess.jsx
+++ b/net/web/src/session/account/profile/accountAccess/AccountAccess.jsx
@@ -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: {state.strings.operationFailed},
+ content: {state.strings.tryAgain},
+ 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: {state.strings.operationFailed},
+ content: {state.strings.tryAgain},
+ 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: {state.strings.operationFailed},
+ content: {state.strings.tryAgain},
+ bodyStyle: { borderRadius: 8, padding: 16, ...state.menuStyle },
});
}
}
diff --git a/todo b/todo
index 790c3ff4..60b12b2e 100644
--- a/todo
+++ b/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