Translated 'Custom queries' and 'Global queries'

pull/1809/head
Marek Takac 10 years ago committed by Hagen Schink
parent 2ebf4ecdad
commit 9eab1a1b4f
  1. 4
      app/assets/javascripts/angular/work_packages/controllers/work-packages-controller.js
  2. 2
      config/locales/js-de.yml
  3. 2
      config/locales/js-en.yml

@ -48,8 +48,8 @@ angular.module('openproject.workPackages.controllers')
$scope.$watch(QueryService.getAvailableGroupedQueries, function(availableQueries) {
if (availableQueries) {
$scope.groups = [{ name: 'GLOBAL QUERIES', models: availableQueries['queries']},
{ name: 'CUSTOM QUERIES', models: availableQueries['user_queries']}];
$scope.groups = [{ name: I18n.t('js.label_global_queries').toUpperCase(), models: availableQueries['queries']},
{ name: I18n.t('js.label_custom_queries').toUpperCase(), models: availableQueries['user_queries']}];
}
});

@ -141,6 +141,8 @@ de:
label_watcher_deleted_successfully: "Beobachter wurde erfolgreich entfernt!"
label_unwatch_work_package: "Arbeitspaket nicht beobachten"
label_uploaded_by: "Hochgeladen von"
label_global_queries: "Benutzerdefinierte Filter"
label_custom_queries: "Öffentliche Filter"
text_are_you_sure: "Sind Sie sicher?"

@ -140,6 +140,8 @@ en:
label_watcher_deleted_successfully: "Watcher successfully deleted!"
label_unwatch_work_package: "Unwatch work package"
label_uploaded_by: "Uploaded by"
label_global_queries: "Global queries"
label_custom_queries: "Custom queries"
text_are_you_sure: "Are you sure?"

Loading…
Cancel
Save