Mailinglist Archive: yast-devel (126 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] <web-client> master : display correct language name
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Wed, 4 Nov 2009 11:14:31 +0100
  • Message-id: <20091104101431.GA3874@xxxxxxxxxxxxxxxx>
On Tue, Nov 03, 2009 at 06:36:27PM +0100, Ladislav Slezak wrote:
ref: refs/heads/master
commit 055f49b8bd433d33b00dd88fdec3e390b8508a74
--- a/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb
+++ b/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb
@@ -42,6 +42,12 @@ module LangHelper
end

def current_locale_name
+ # check full locale at first (language + country)
+ if LANGUGAGES.has_key?(locale.to_s)

toog manyg g's (fortunately consistently in the code)
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
< Previous Next >
Follow Ups