aboutsummaryrefslogtreecommitdiffstats
path: root/locales/en
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-03-30 21:47:45 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-16 00:54:57 +0200
commit85d91c64b5b3ec31df8acecd68a1fa6a68d57ff9 (patch)
tree277ab45a66a1c74e2d0a885c8a354aea27128d12 /locales/en
parentfeat(main): Translation hot reloading during development (diff)
downloadsophie-85d91c64b5b3ec31df8acecd68a1fa6a68d57ff9.tar.gz
sophie-85d91c64b5b3ec31df8acecd68a1fa6a68d57ff9.tar.zst
sophie-85d91c64b5b3ec31df8acecd68a1fa6a68d57ff9.zip
feat(renderer): Renderer translations
Add react-i18n to make us able to use i18next translations in the renderer process just like we do in the main process. Translations are hot-reloaded automatically. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'locales/en')
-rw-r--r--locales/en/translation.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/locales/en/translation.json b/locales/en/translation.json
index 2cd7959..e215adc 100644
--- a/locales/en/translation.json
+++ b/locales/en/translation.json
@@ -1,4 +1,16 @@
1{ 1{
2 "banner": {
3 "close": "Dismiss notification",
4 "newWindow": {
5 "followLink": "Follow link in this window",
6 "openInExternalBrowser": "Open in browser",
7 "openAllInExternalBrowser": "Open all",
8 "dismiss": "Ignore",
9 "messageSingleLink": "{{name}} wants to open <2>{{url}}</2> in a new window",
10 "messageMultipleLinks_one": "{{name}} wants to open <2>{{url}}</2> and <5>{{count}}</5> other link in new windows",
11 "messageMultipleLinks_other": "{{name}} wants to open <2>{{url}}</2> and <5>{{count}}</5> other links in new windows"
12 }
13 },
2 "menu": { 14 "menu": {
3 "servicesMenu": "Services", 15 "servicesMenu": "Services",
4 "view": { 16 "view": {
@@ -16,5 +28,31 @@
16 "help": { 28 "help": {
17 "gitlab": "Gitlab" 29 "gitlab": "Gitlab"
18 } 30 }
31 },
32 "securityLabel": {
33 "notSecureConnection": "Not secure",
34 "secureConnection": "Secure connection",
35 "unknownSite": "Unknown site"
36 },
37 "service": {
38 "title": {
39 "nameWithMessages": "{{name}} ({{messages}})",
40 "nameWithNoMessages": "{{name}}",
41 "directMessageCount_one": "{{count}} direct message",
42 "directMessageCount_other": "{{count}} direct messages",
43 "indirectMessageCount_one": "{{count}} indirect message",
44 "indirectMessageCount_other": "{{count}} indirect messages",
45 "directAndIndirectMessageCount": "$t(service.title.directMessageCount, { \"count\": {{directMessageCount}} }) and $t(service.title.indirectMessageCount, { \"count\": {{indirectMessageCount}} })"
46 }
47 },
48 "toolbar": {
49 "back": "Back",
50 "forward": "Forward",
51 "home": "Home",
52 "openInBrowser": "Open in browser",
53 "reload": "Reload",
54 "stop": "Stop",
55 "toggleDarkMode": "Toggle dark mode",
56 "toggleLocationBar": "Toggle location bar"
19 } 57 }
20} 58}