summaryrefslogtreecommitdiff
path: root/src/locales
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-06-23 20:24:27 +0300
committerDerick Montague <derick.montague@ibm.com>2020-07-28 00:35:55 +0300
commitfc16f3c268a9d35f889f5770331d11e87ab16af3 (patch)
tree447e8f3b8b1eba2767e05ab016a46fd540e3a230 /src/locales
parenta2c99829a713e8411bda20091765ee972cd4d8b9 (diff)
downloadwebui-vue-fc16f3c268a9d35f889f5770331d11e87ab16af3.tar.xz
Add timezone to profile settings page
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
Diffstat (limited to 'src/locales')
-rw-r--r--src/locales/en-US.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 023efa55..63c75367 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -367,14 +367,22 @@
"solConsole": "Serial over LAN console"
}
},
- "profileSettings": {
+ "pageProfileSettings": {
+ "browserOffset": "Browser offset (%{timezone})",
"changePassword": "Change password",
"confirmPassword": "Confirm new password",
+ "defaultUTC": "Default (UTC)",
"newPassword": "New password",
"newPassLabelTextInfo": "Password must be between %{min} - %{max} characters",
"passwordsDoNotMatch": "Passwords do not match",
"profileInfoTitle": "Profile information",
- "username": "Username"
+ "timezone": "Timezone",
+ "timezoneDisplay": "Timezone display preference",
+ "timezoneDisplayDesc": "Select how time is displayed throughout the application",
+ "username": "Username",
+ "toast": {
+ "successSaveSettings": "Successfully saved account settings."
+ }
},
"pageManagePowerUsage": {
"description": "Set a power cap to keep power consumption at or below the specified value in watts",