From 3536b5e3bb0b0dd934ba9c8efadfb0e6569ec832 Mon Sep 17 00:00:00 2001 From: Laszlo Hornyak Date: Fri, 1 May 2015 19:42:02 +0200 Subject: [PATCH 1/3] added hungarian to the list of localized languages Signed-off-by: Laszlo Hornyak --- client/WEB-INF/classes/resources/messages.properties | 3 ++- ui/dictionary.jsp | 1 + ui/index.jsp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index de6efa50a3ca..523c7cc86a69 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -735,6 +735,7 @@ label.lang.norwegian=Norwegian label.lang.polish=Polish label.lang.russian=Russian label.lang.spanish=Spanish +label.lang.hungarian=Hungarian label.last.disconnected=Last Disconnected label.last.name=Last Name label.latest.events=Latest events @@ -2057,4 +2058,4 @@ state.Stopping=Stopping state.Suspended=Suspended ui.listView.filters.all=All ui.listView.filters.mine=Mine -label.na=NA \ No newline at end of file +label.na=NA diff --git a/ui/dictionary.jsp b/ui/dictionary.jsp index 9c0fd55e00b8..317acfa08108 100644 --- a/ui/dictionary.jsp +++ b/ui/dictionary.jsp @@ -741,6 +741,7 @@ dictionary = { 'label.lang.japanese': '', 'label.lang.korean': '', 'label.lang.spanish': '', +'label.lang.hungarian': '', 'label.last.disconnected': '', 'label.last.name': '', 'label.latest.events': '', diff --git a/ui/index.jsp b/ui/index.jsp index 9ba2faad6f03..344fbf7c2f24 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -88,6 +88,7 @@ + From c295f18c6279b9797766f283e467c5826856f97a Mon Sep 17 00:00:00 2001 From: Laszlo Hornyak Date: Sat, 2 May 2015 18:10:52 +0200 Subject: [PATCH 2/3] CSS for the hungarian localization Signed-off-by: Laszlo Hornyak --- ui/css/cloudstack3.hu.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ui/css/cloudstack3.hu.css diff --git a/ui/css/cloudstack3.hu.css b/ui/css/cloudstack3.hu.css new file mode 100644 index 000000000000..0ccae5c7d80d --- /dev/null +++ b/ui/css/cloudstack3.hu.css @@ -0,0 +1,27 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +/* + * correct the breadcrumbs, hungarian translation is longer + * than the english default. + */ +#breadcrumbs div.home { + width: 100px; +} + From a474ca7d4ab7dfc6f609d1e8c68b759b8c78b9cf Mon Sep 17 00:00:00 2001 From: Laszlo Hornyak Date: Sat, 2 May 2015 19:30:02 +0200 Subject: [PATCH 3/3] Added hu to the language list Signed-off-by: Laszlo Hornyak --- tools/transifex/sync-transifex-ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/transifex/sync-transifex-ui.sh b/tools/transifex/sync-transifex-ui.sh index 8f24642413cf..b0487446ad6c 100755 --- a/tools/transifex/sync-transifex-ui.sh +++ b/tools/transifex/sync-transifex-ui.sh @@ -17,7 +17,7 @@ # under the License. SRCLANG=en -LIST_LANG="ar ca de_DE es fr_FR it_IT ja_JP ko_KR nb_NO nl_NL pl pt_BR ru_RU zh_CN" +LIST_LANG="ar ca de_DE es fr_FR it_IT ja_JP ko_KR nb_NO nl_NL pl pt_BR ru_RU zh_CN hu" DIRECTORY_RESOURCES="../../client/WEB-INF/classes/resources" WORKDIR="./work-dir"