Skip to content

Commit

Permalink
[MNOE-206] Add i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
hedudelgado committed Oct 27, 2016
1 parent 9f2a637 commit 8abdc07
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/app/views/apps/modals/app-settings-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ <h3><b>{{ 'mno_enterprise.templates.impac.dock.settings.settings' | translate }}
{{ 'mno_enterprise.templates.impac.dock.settings.free_trial' | translate }}: {{ app.free_trial_end_at }}
</div>
<div ng-show="!app.free_trial_end_at && app.per_user_licence">
<ng-pluralize count="app.licences_count" when="{'0': 'No users', '1': '1 user', 'other': '{{app.licences_count | number}} users'}"
tooltip-placement="bottom" tooltip="{{'mno_enterprise.templates.impac.dock.settings.number_of_people' | translate:{ app.name} }}"></ng-pluralize>
<ng-pluralize count="app.licences_count" when="{'0': '{{ &quot;mno_enterprise.templates.impac.dock.settings.no_users&quot; | translate }}', '1': '{{ &quot;mno_enterprise.templates.impac.dock.settings.1_user&quot; | translate }}', 'other': '{{app.licences_count | number}} {{ &quot;mno_enterprise.templates.impac.dock.settings.users&quot; | translate }}'}"
tooltip-placement="bottom" uib-tooltip="{{ 'mno_enterprise.templates.impac.dock.settings.number_of_people_tooltip' | translate:{ appname: app.name} }}"></ng-pluralize>
</div>
<div ng-show="!app.app.free_trial_end_at && !app.per_user_licence">{{ 'mno_enterprise.templates.impac.dock.settings.pricing_details' | translate }}</div>
</div>
Expand Down Expand Up @@ -93,8 +93,8 @@ <h4>{{ 'mno_enterprise.templates.impac.dock.settings.confirm_app_deletion' | tra
</div>
<div class="buttons">
<button class="btn btn-default" ng-click="app.showDelete=false" >{{ 'mno_enterprise.templates.impac.dock.settings.cancel' | translate}}</button>
<button class="btn btn-danger" ng-click="deleteApp()" ng-disabled="sentence != sentenceCheck || modal.loading">
<span ng-show="modal.loading"><i class="fa fa-spinner fa-pulse"></i>&nbsp;</span>
<button class="btn btn-danger" ng-click="deleteApp()" ng-disabled="sentence != sentenceCheck">
<span ng-show="modal.loading"><i class="fa fa-spinner fa-spin"></i>&nbsp;</span>
{{ 'mno_enterprise.templates.impac.dock.settings.delete' | translate }} </button>
</div>
</div>
Expand Down
9 changes: 6 additions & 3 deletions src/locales/en.locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
"mno_enterprise.templates.dashboard.marketplace.app_selection.cancel": "Cancel",
"mno_enterprise.templates.dashboard.marketplace.app_selection.select_orga": "Select an organization",
"mno_enterprise.templates.dashboard.marketplace.app_selection.no_orga_authorized": "Invalid purchase",
"mno_enterprise.templates.dashboard.marketplace.app_selection.unauthorized_to_add_app": "Unfortunately you do not have permission to purchase products for this organization. Please select another organization.",
"mno_enterprise.templates.dashboard.marketplace.app_selection.unauthorized_to_add_app": "Unfortunately you do not have permission to purchase products for this organization.",
"mno_enterprise.templates.dashboard.organization.arrears.title": "Sorry we couldn't process this payment",
"mno_enterprise.templates.dashboard.organization.arrears.explanation": "Your account is currently in arrears as we were unable to charge your designated credit card.",
"mno_enterprise.templates.dashboard.organization.arrears.recommendation": "Please make sure your credit card details are up to date, then click the button below.",
Expand Down Expand Up @@ -551,8 +551,11 @@
"mno_enterprise.templates.impac.dock.settings.disconnect_link": "Disconnect Link",
"mno_enterprise.templates.impac.dock.settings.delete": "Delete",
"mno_enterprise.templates.impac.dock.settings.pricing_details": "Pricing details inside your app",
"mno_enterprise.templates.impac.dock.settings.number_of_people": "mno_enterprise.templates.impac.dock.settings.free_trial": "Free Trial",
"This is the total number of people in your organization using",
"mno_enterprise.templates.impac.dock.settings.free_trial": "Free Trial",
"mno_enterprise.templates.impac.dock.settings.number_of_people_tooltip": "This is the total number of people in your organization using",
"mno_enterprise.templates.impac.dock.settings.1_user": "1 user",
"mno_enterprise.templates.impac.dock.settings.no_users": "No users",
"mno_enterprise.templates.impac.dock.settings.users": "users",
"mno_enterprise.templates.impac.dock.settings.confirm_app_deletion": "Confirm app deletion",
"mno_enterprise.templates.impac.dock.settings.please_note_this_app": "Please note this app is on a monthly plan. Your billing for this app will be calculated pro rata.",
"mno_enterprise.templates.impac.dock.settings.delete_instructions": "In order to delete your app, please enter the following statement in the box below.",
Expand Down
26 changes: 26 additions & 0 deletions src/locales/id.locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,32 @@
"mno_enterprise.templates.dashboard.teams.team_list.tbl_email": "Email",
"mno_enterprise.templates.dashboard.teams.team_list.tbl_role": "Jabatan",
"mno_enterprise.templates.dashboard.teams.team_list.remove": "Hapus",
"mno_enterprise.templates.impac.dock.launch": "Launch",
"mno_enterprise.templates.impac.dock.connect": "Connect",
"mno_enterprise.templates.impac.dock.settings.settings": "Settings",
"mno_enterprise.templates.impac.dock.settings.status": "Status",
"mno_enterprise.templates.impac.dock.settings.app_name": "Name",
"mno_enterprise.templates.impac.dock.settings.access_add-on_settings": "Access add-on Settings",
"mno_enterprise.templates.impac.dock.settings.manual_data_sharing": "Data sharing",
"mno_enterprise.templates.impac.dock.settings.manual_data_sync": "Manual Data Sync",
"mno_enterprise.templates.impac.dock.settings.disconnect_link": "Disconnect Link",
"mno_enterprise.templates.impac.dock.settings.delete": "Delete",
"mno_enterprise.templates.impac.dock.settings.pricing_details": "Pricing details inside your app",
"mno_enterprise.templates.impac.dock.settings.free_trial": "Free Trial",
"mno_enterprise.templates.impac.dock.settings.number_of_people_tooltip": "This is the total number of people in your organization using",
"mno_enterprise.templates.impac.dock.settings.1_user": "1 user",
"mno_enterprise.templates.impac.dock.settings.no_users": "No users",
"mno_enterprise.templates.impac.dock.settings.users": "users",
"mno_enterprise.templates.impac.dock.settings.confirm_app_deletion": "Confirm app deletion",
"mno_enterprise.templates.impac.dock.settings.please_note_this_app": "Please note this app is on a monthly plan. Your billing for this app will be calculated pro rata.",
"mno_enterprise.templates.impac.dock.settings.delete_instructions": "In order to delete your app, please enter the following statement in the box below.",
"mno_enterprise.templates.impac.dock.settings.cancel": "Cancel",
"mno_enterprise.templates.impac.dock.settings.developer_details": "developer details",
"mno_enterprise.templates.impac.dock.settings.linked_to": "Linked to",
"mno_enterprise.templates.impac.dock.settings.organization_id": "Organization id",
"mno_enterprise.templates.impac.dock.settings.group_id": "Group id (uid)",
"mno_enterprise.templates.impac.dock.add_more_apps": "Add more apps",
"mno_enterprise.templates.impac.dock.cancel": "Cancel",
"mno_enterprise.templates.impac.index.dashboard": "Dasbor",
"mno_enterprise.templates.impac.index.new_dashboard": "Dasbor Baru",
"mno_enterprise.templates.impac.index.source": "Sumber",
Expand Down
26 changes: 26 additions & 0 deletions src/locales/zh.locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,32 @@
"mno_enterprise.templates.modals.new_organization.enter_new_company_name": "为您的新公司输入一个名称",
"mno_enterprise.templates.modals.new_organization.cancel": "取消",
"mno_enterprise.templates.modals.new_organization.create": "创建",
"mno_enterprise.templates.impac.dock.launch": "Launch",
"mno_enterprise.templates.impac.dock.connect": "Connect",
"mno_enterprise.templates.impac.dock.settings.settings": "Settings",
"mno_enterprise.templates.impac.dock.settings.status": "Status",
"mno_enterprise.templates.impac.dock.settings.app_name": "Name",
"mno_enterprise.templates.impac.dock.settings.access_add-on_settings": "Access add-on Settings",
"mno_enterprise.templates.impac.dock.settings.manual_data_sharing": "Data sharing",
"mno_enterprise.templates.impac.dock.settings.manual_data_sync": "Manual Data Sync",
"mno_enterprise.templates.impac.dock.settings.disconnect_link": "Disconnect Link",
"mno_enterprise.templates.impac.dock.settings.delete": "Delete",
"mno_enterprise.templates.impac.dock.settings.pricing_details": "Pricing details inside your app",
"mno_enterprise.templates.impac.dock.settings.free_trial": "Free Trial",
"mno_enterprise.templates.impac.dock.settings.number_of_people_tooltip": "This is the total number of people in your organization using",
"mno_enterprise.templates.impac.dock.settings.1_user": "1 user",
"mno_enterprise.templates.impac.dock.settings.no_users": "No users",
"mno_enterprise.templates.impac.dock.settings.users": "users",
"mno_enterprise.templates.impac.dock.settings.confirm_app_deletion": "Confirm app deletion",
"mno_enterprise.templates.impac.dock.settings.please_note_this_app": "Please note this app is on a monthly plan. Your billing for this app will be calculated pro rata.",
"mno_enterprise.templates.impac.dock.settings.delete_instructions": "In order to delete your app, please enter the following statement in the box below.",
"mno_enterprise.templates.impac.dock.settings.cancel": "Cancel",
"mno_enterprise.templates.impac.dock.settings.developer_details": "developer details",
"mno_enterprise.templates.impac.dock.settings.linked_to": "Linked to",
"mno_enterprise.templates.impac.dock.settings.organization_id": "Organization id",
"mno_enterprise.templates.impac.dock.settings.group_id": "Group id (uid)",
"mno_enterprise.templates.impac.dock.add_more_apps": "Add more apps",
"mno_enterprise.templates.impac.dock.cancel": "Cancel",
"mno_enterprise.templates.impac.widgets.common.data_not_found.data_not_found": "找不到数据",
"mno_enterprise.templates.impac.widgets.common.data_not_found.are_you_missing_an_app": "您是否丢失了一个应用程序?",
"mno_enterprise.templates.impac.widgets.settings.account.title": "应监控的帐户",
Expand Down

0 comments on commit 8abdc07

Please sign in to comment.