aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/l10n.js
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-01-05 21:51:30 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-01-05 23:17:36 +0100
commit6be98b208a59535af4cbbcfff3af0d49d111a6bd (patch)
tree8b031c95ce50a0da189a37dc6cb1b2fd9dc94da5 /server/sonar-web/src/main/js/helpers/l10n.js
parentde4bd7cf6c5ac9dba12040b19635ab4305ce2bde (diff)
downloadsonarqube-6be98b208a59535af4cbbcfff3af0d49d111a6bd.tar.gz
sonarqube-6be98b208a59535af4cbbcfff3af0d49d111a6bd.zip
Upgrade to parent 26 and new copyright headers
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/l10n.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/l10n.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/l10n.js b/server/sonar-web/src/main/js/helpers/l10n.js
index de950a94b93..62ebe85e9c6 100644
--- a/server/sonar-web/src/main/js/helpers/l10n.js
+++ b/server/sonar-web/src/main/js/helpers/l10n.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube :: Web
+ * Copyright (C) 2009-2016 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
export function getLocalizedDashboardName (baseName) {
var l10nKey = 'dashboard.' + baseName + '.name';
var l10nLabel = window.t(l10nKey);