IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Conflicts:
install.sh
src/sunstone/etc/sunstone-server.conf
src/sunstone/public/js/plugins/hosts-tab.js
src/sunstone/public/js/plugins/vnets-tab.js
I have updated the vnets plugin to include missing translations.
This commit sets all 'tr' calls in the same form, so they can be easily matched and grep-ed. This way, a small script (generate_translation_template.rb) allows the automatic generation of the template translation, containing all the strings that can be translatable from the application. This script is not installed.
An empty default en_US generated translation has been added, which can be also used as templates for new translations.
Documentation, community, support, sign out, welcome, strings from the main view are now translated as well.
This commit enables internationalization support for the Sunstone interface.
Language is chosen according to the variable LANG in user's template. This variable is automaticly set when users chooses a new language from the select field on top, so that it is preserved on future logins.
If no LANG is set, language is chosen according to the :lang: variable of the configuration. Otherwise it defaults to English.
Special thanks to ZAO VIVOSS i OI for contributing the initial patch for OpenNebula Sunstone 3.0 and the first translation: russian. The contents from this patch have been partially applied with the necessary corrections and improvements to the master branch, which was ahead on many aspects to the 3.0 release.
jQuery, jQueryLayout, jQueryUI, flot, Datatables, jGrowl have been updated to latest versions.
Due to that, some corrections have been made to css (applilcation.css has been additionaly whitespace-cleaned).
Templates, views and install.sh script have been updated accordingly.
(cherry picked from commit f9769932cb44d100d015981ca58b55bba3fa2310)