search for: getlanguag

Displaying 4 results from an estimated 4 matches for "getlanguag".

Did you mean: getlanguage
2007 Jun 01
5
il8n with Prototype
...tion translateChildren(parent, language) { var phrases = parent.getElementsByClassName(''lang''); phrases.each(function(p) { var phrase = p.readAttribute(''for''); p.innerHTML = translations[phrase][language]; }); } /* Get language from Cookie */ function getLanguage() { document.cookie.scan(/language=(..)/, function(match){ lang = match[1] }) return lang; } /* JSON dictionary */ var translations = { ''search'': {''en'': "Search", ''de'': "Suche"}, ''logout'': {''...
2013 Sep 30
1
[LLVMdev] [patch] Prototype/proof-of-concept for DWARF type units
This isn't a realistic/viable implementation, just a hacked up "can I make it produce the right output" kind of thing, but while I hammer out a few more details (like fixing MC to allow multiple sections with the same name but different comdat groups) I figured I'd throw it out there to have a bit of a chat about it. I've tested simple cases of a single type and they seem to
2016 Jan 05
2
llvm.natvis should be included when generating LLVM.sln
As of Visual Studio 2015, natvis files can be included as part of individual projects <http://blogs.msdn.com/b/vcblog/archive/2015/09/28/debug-visualizers-in-visual-c-2015.aspx>, a much better method than manually copying the file to an specific directory in %USERPROFILE%. I think it should be included in one of the CMakeLists.txt files, does anybody know how I can add it? Sincerely,
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...> h2. Methods </span><span class="cx"> </span><del>-* "Supported languages":#Locale_languages </del><ins>+h3. Class Methods + +* "Locale#find_language_info":#Locale_findlanguageinfo +* "Locale#get_language_info":#Locale_getlanguageinfo +* "Locale#get_language_name":#Locale_getlanguagename +* "Locale.get_system_encoding":#Locale_getsystemencoding +* "Locale.get_system_encoding_name":#Locale_getsystemencodingname +* "Locale.get_system_language":#Locale_getsystemlanguage </ins><s...