[yast-commit] <web-client> master : release language 0.0.10 fix showing only supported locales
ref: refs/heads/master commit 1be65ddef9b2de7f5a51fbcf5435ffb0431cbf5b Author: Josef Reidinger <jreidinger@suse.cz> Date: Wed Nov 18 12:48:50 2009 +0100 release language 0.0.10 fix showing only supported locales --- plugins/language/app/views/language/index.rhtml | 2 +- .../package/yast2-webclient-language.changes | 8 ++++++++ .../language/package/yast2-webclient-language.spec | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/language/app/views/language/index.rhtml b/plugins/language/app/views/language/index.rhtml index b42cefb..9866d0f 100644 --- a/plugins/language/app/views/language/index.rhtml +++ b/plugins/language/app/views/language/index.rhtml @@ -5,7 +5,7 @@ <p> <label><%=_("webYaST language")%> <label> <%= select_tag "webyast_language", - options_for_select(LangHelper::LANGUAGES.invert.to_a.sort_by { |a| a[0].parameterize}, current_locale) %> + options_for_select(LangHelper::LANGUAGES.invert.to_a.reject{|val| !(I18n.supported_locales.include?(val[1]))}.sort_by { |a| a[0].parameterize}, current_locale) %> </p> </fieldset> <div> diff --git a/plugins/language/package/yast2-webclient-language.changes b/plugins/language/package/yast2-webclient-language.changes index 143702a..dd18886 100644 --- a/plugins/language/package/yast2-webclient-language.changes +++ b/plugins/language/package/yast2-webclient-language.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed Nov 18 11:40:51 UTC 2009 - jreidinger@novell.com + +- show only webyast language (bnc#547176) +- webyast language to select box (bnc#547176) +- use only available localizations (bnc#554683) +- 0.0.10 + +------------------------------------------------------------------- Thu Nov 12 12:29:24 UTC 2009 - jreidinger@novell.com - adjust module headers (mschidkunz) diff --git a/plugins/language/package/yast2-webclient-language.spec b/plugins/language/package/yast2-webclient-language.spec index d4b7882..0af66e9 100644 --- a/plugins/language/package/yast2-webclient-language.spec +++ b/plugins/language/package/yast2-webclient-language.spec @@ -15,7 +15,7 @@ Provides: yast2-webclient:/srv/www/yast/app/controllers/language_controlle License: GPL v2 only Group: Productivity/Networking/Web/Utilities Autoreqprov: on -Version: 0.0.9 +Version: 0.0.10 Release: 0 Summary: YaST2 - Webclient - Language Source: www.tar.bz2 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Josef Reidinger