Merge pull request #5149 from davidtaylorhq/presence-translations

Simplify presence copy & add transifex config
This commit is contained in:
Jeff Atwood 2017-09-07 16:50:02 -07:00 committed by GitHub
commit f14f8d756f
3 changed files with 16 additions and 8 deletions

View File

@ -38,6 +38,18 @@ source_file = plugins/discourse-narrative-bot/config/locales/server.en.yml
source_lang = en
type = YML
[discourse-org.presenceclientenyml]
file_filter = plugins/discourse-presence/config/locales/client.<lang>.yml
source_file = plugins/discourse-presence/config/locales/client.en.yml
source_lang = en
type = YML
[discourse-org.presenceserverenyml]
file_filter = plugins/discourse-presence/config/locales/server.<lang>.yml
source_file = plugins/discourse-presence/config/locales/server.en.yml
source_lang = en
type = YML
[discourse-org.403html]
file_filter = public/403.<lang>.html
source_file = public/403.html

View File

@ -7,9 +7,9 @@
<span class="presence_text">
<span class="description">
{{#if isReply ~}}
{{i18n 'presence.is_replying' count=users.length}}
{{i18n 'presence.replying'}}
{{~else~}}
{{i18n 'presence.is_editing' count=users.length}}
{{i18n 'presence.editing'}}
{{~/if}}</span>{{!-- (using comment to stop whitespace)
--}}</span>{{!--
--}}<span class="wave"><span class="dot">.</span><span class="dot">.</span><span class="dot">.</span>

View File

@ -1,9 +1,5 @@
en:
js:
presence:
is_replying:
one: "is also replying"
other: "are also replying"
is_editing:
one: "is also editing"
other: "are also editing"
replying: "replying"
editing: "editing"