From 42f92355cea30c09fb451f0ac59f6777401585ea Mon Sep 17 00:00:00 2001 From: Diego Sampaio <chinello@gmail.com> Date: Thu, 18 Feb 2016 13:31:35 -0200 Subject: [PATCH] translate sentence --- .../client/views/pushNotificationsFlexTab.html | 2 +- .../client/views/pushNotificationsFlexTab.js | 4 ++-- packages/rocketchat-push-notifications/i18n/en.i18n.json | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html index d339f14b69d..8d2b703ae3f 100644 --- a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html +++ b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html @@ -43,7 +43,7 @@ <label><input type="radio" name="emailNotifications" value="mentions" checked="{{$eq emailNotifications 'mentions'}}" /> {{_ "Mentions"}}</label> {{/if}} <label><input type="radio" name="emailNotifications" value="nothing" checked="{{$eq emailNotifications 'nothing'}}" /> {{_ "Nothing"}}</label> - <label><input type="radio" name="emailNotifications" value="default" checked="{{$eq emailNotifications 'default'}}" /> {{_ "Respect_account_preference"}}</label> + <label><input type="radio" name="emailNotifications" value="default" checked="{{$eq emailNotifications 'default'}}" /> {{_ "Use_account_preference"}}</label> <button type="button" class="button secondary cancel">{{_ "Cancel"}}</button> <button type="button" class="button primary save">{{_ "Save"}}</button> {{else}} diff --git a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.js b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.js index 128ccdd379f..d396fd823b1 100644 --- a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.js +++ b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.js @@ -55,12 +55,12 @@ Template.pushNotificationsFlexTab.helpers({ case 'nothing': return t('Nothing'); case 'default': - return t('Respect_account_preference'); + return t('Use_account_preference'); case 'mentions': return t('Mentions'); default: if (field === 'emailNotifications') { - return t('Respect_account_preference'); + return t('Use_account_preference'); } else { return t('Mentions'); } diff --git a/packages/rocketchat-push-notifications/i18n/en.i18n.json b/packages/rocketchat-push-notifications/i18n/en.i18n.json index 9612779bd40..13b3c5f7fd6 100644 --- a/packages/rocketchat-push-notifications/i18n/en.i18n.json +++ b/packages/rocketchat-push-notifications/i18n/en.i18n.json @@ -6,5 +6,6 @@ "Mentions_default" : "Mentions (default)", "Mobile_push_notifications" : "Mobile push notifications", "Nothing" : "Nothing", - "Push_notifications" : "Push notifications" -} \ No newline at end of file + "Push_notifications" : "Push notifications", + "Use_account_preference": "Use account preference" +} -- GitLab