Commit 3b308f9cde787a78b0a7c44eb1acdc645be0a63b
adding translation strings
andre alves garzia committed on 5/7/2018, 3:04:52 PMParent: 4caad32bdc583a475ce49a53d2293c67c0f52cb6
Files changed
app/page/settings.js | changed |
translations/en.js | changed |
app/page/settings.js | ||
---|---|---|
@@ -88,13 +88,13 @@ | ||
88 | 88 | h('div.left', strings.settingsPage.section.zoom), |
89 | 89 | h('div.right', [zoomButton(-0.1, '-'), zoomButton(+0.1, '+')]) |
90 | 90 | ]), |
91 | 91 | h('section -sharing', [ |
92 | - h('div.left', 'Web Sharing Metrics'), | |
92 | + h('div.left', strings.share.settings.caption), | |
93 | 93 | h('div.right', [].concat( |
94 | - webSharingOption('public', 'publish metrics openly'), | |
95 | - webSharingOption('author', 'publish for you and author'), | |
96 | - webSharingOption('private', 'publish just for you') | |
94 | + webSharingOption('public', strings.share.settings.publicOption), | |
95 | + webSharingOption('author', strings.share.settings.authorAndYouOption), | |
96 | + webSharingOption('private', strings.share.settings.justYouOption) | |
97 | 97 | )) |
98 | 98 | ]), |
99 | 99 | h('section -version', [ |
100 | 100 | h('div.left', strings.settingsPage.section.version), |
translations/en.js | ||
---|---|---|
@@ -165,8 +165,14 @@ | ||
165 | 165 | action: { |
166 | 166 | share: 'Share', |
167 | 167 | copy: 'Copy external URL', |
168 | 168 | open: 'Open external URL' |
169 | + }, | |
170 | + settings: { | |
171 | + caption: 'Web Sharing Metrics', | |
172 | + publicOption: 'publish metrics openly', | |
173 | + authorAndYouOption: 'publish for you and author', | |
174 | + justYouOption: 'publish just for you' | |
169 | 175 | } |
170 | 176 | }, |
171 | 177 | languages: { |
172 | 178 | en: 'English', |
Built with git-ssb-web