Mailinglist Archive: yast-devel (126 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] <web-client> master : display correct language name
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Wed, 04 Nov 2009 12:50:39 +0100
  • Message-id: <4AF16A8F.5060802@xxxxxxx>
On 4.11.2009 11:14, Martin Vidner wrote:
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)

Ooops, that's my "favorite" typo...

Thanks, I'll fix it.


--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References