Merge pull request #5149 from davidtaylorhq/presence-translations
Simplify presence copy & add transifex config
This commit is contained in:
commit
f14f8d756f
12
.tx/config
12
.tx/config
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue