diff --git a/.tx/config b/.tx/config index 77c2f933219..d5da845ad7a 100644 --- a/.tx/config +++ b/.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..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..yml +source_file = plugins/discourse-presence/config/locales/server.en.yml +source_lang = en +type = YML + [discourse-org.403html] file_filter = public/403..html source_file = public/403.html diff --git a/plugins/discourse-presence/assets/javascripts/discourse/templates/components/composer-presence-display.hbs b/plugins/discourse-presence/assets/javascripts/discourse/templates/components/composer-presence-display.hbs index 1b105bcd817..b83042d73d2 100644 --- a/plugins/discourse-presence/assets/javascripts/discourse/templates/components/composer-presence-display.hbs +++ b/plugins/discourse-presence/assets/javascripts/discourse/templates/components/composer-presence-display.hbs @@ -7,9 +7,9 @@ {{#if isReply ~}} - {{i18n 'presence.is_replying' count=users.length}} + {{i18n 'presence.replying'}} {{~else~}} - {{i18n 'presence.is_editing' count=users.length}} + {{i18n 'presence.editing'}} {{~/if}}{{!-- (using comment to stop whitespace) --}}{{!-- --}}... diff --git a/plugins/discourse-presence/config/locales/client.en.yml b/plugins/discourse-presence/config/locales/client.en.yml index 9de83306d75..be37c328f26 100644 --- a/plugins/discourse-presence/config/locales/client.en.yml +++ b/plugins/discourse-presence/config/locales/client.en.yml @@ -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" \ No newline at end of file + replying: "replying" + editing: "editing" \ No newline at end of file