summaryrefslogtreecommitdiff
path: root/apps/language.c (follow)
Commit message (Collapse)AuthorAge
* Another small change from my GSoC work: get rid of some old printf code in ↵Tom Ross2009-03-02
| | | | | | language.c and replace it with DEBUGF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20168 a1c6a512-1295-4272-9138-f99709370657
* Move #defines and #include into c file as this is the only place they are usedNils Wallménius2008-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19313 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Use file_exists and dir_exists functions where appropriate, fix one wrong ↵Nils Wallménius2008-04-16
| | | | | | file descriptor check and one possible dir descriptor leak git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17147 a1c6a512-1295-4272-9138-f99709370657
* *** Lang v2 cleanup (FS#6574) ***Nils Wallménius2007-08-05
| | | | | | | | | | | | | | | | | | | 1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
* don't load the language file into the buffer untill we know it is not too ↵Marcoen Hirschberg2005-12-06
| | | | | | big and of the right version (files can now be 3 bytes bigger ;-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8164 a1c6a512-1295-4272-9138-f99709370657
* kill gcc4 warningsDaniel Stenberg2005-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
* removed debug outputDaniel Stenberg2005-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6034 a1c6a512-1295-4272-9138-f99709370657
* I intended to fix it, really\!Jens Arnold2005-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5610 a1c6a512-1295-4272-9138-f99709370657
* Tweaked to compile with older gcc.Jens Arnold2005-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5609 a1c6a512-1295-4272-9138-f99709370657
* New way of handling the builtin language strings. Now the string pointers ↵Jens Arnold2005-01-19
| | | | | | are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 3Jens Arnold2004-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
* Henrik Backe's english language file cleanup. This ups the language fileDaniel Stenberg2004-01-23
| | | | | | | version number from 1 to 2, making *ALL* old language files obsolete. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4270 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* blatantly stupid proto added for mingw simulator compiles to get rid ofDaniel Stenberg2002-11-04
| | | | | | | the darned warning git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2805 a1c6a512-1295-4272-9138-f99709370657
* made the language loader output all new strings on stdout when loaded inDaniel Stenberg2002-10-29
| | | | | | | | the simulator, as it really helps to detect language-loading related problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2777 a1c6a512-1295-4272-9138-f99709370657
* prevent storing IDs that are higher than we have knowledge about!Daniel Stenberg2002-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2620 a1c6a512-1295-4272-9138-f99709370657
* lang_load() returns an int to signal successDaniel Stenberg2002-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2396 a1c6a512-1295-4272-9138-f99709370657
* updated comments for the functionDaniel Stenberg2002-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2394 a1c6a512-1295-4272-9138-f99709370657
* code-policed my own code ;-)Daniel Stenberg2002-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2393 a1c6a512-1295-4272-9138-f99709370657
* binary language load supportDaniel Stenberg2002-09-24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2388 a1c6a512-1295-4272-9138-f99709370657