summaryrefslogtreecommitdiff
path: root/apps/language.c (follow)
Commit message (Collapse)AuthorAge
* Add stdio.h include for SEEK_SET define to various files.Thomas Martitz2010-12-25
| | | | | | Patch by Thomas Jarosch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28892 a1c6a512-1295-4272-9138-f99709370657
* lang_load(): ignore unused field from the lang fileRafaël Carré2010-09-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28133 a1c6a512-1295-4272-9138-f99709370657
* Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.Thomas Martitz2010-08-27
| | | | | | | | Removes the need to fix up those in the simulator. Also work around some posix-mingw incompatibilities (e.g. getcwd()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
* make language array initialized correctlly with builtin strings when loading ↵Teruaki Kawashima2010-07-11
| | | | | | .lng file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27385 a1c6a512-1295-4272-9138-f99709370657
* Change the .lng files to contain strings from multiple users. Still ↵Tom Ross2009-10-18
| | | | | | hard-coded to only output the core strings for now. Should be the majority of the core changes needed for translatable plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23241 a1c6a512-1295-4272-9138-f99709370657
* Change lang_init() to take a source, destination, and count. Needed for ↵Tom Ross2009-10-17
| | | | | | translatable plugins. Minor stylist changes as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
* RTL: Cosmetic changes, no functional change - Rename constantsTomer Shalev2009-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
* Fix player red and remove an obsolete function call.Thomas Martitz2009-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23056 a1c6a512-1295-4272-9138-f99709370657
* Fix red: Protect viewport RTL flag manipulation with #ifdef HAVE_LCD_BITMAPTomer Shalev2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22973 a1c6a512-1295-4272-9138-f99709370657
* Add rtl flagging to viewport_set_defaults(), and ensure thatTomer Shalev2009-10-05
| | | | | | | viewportmanager_theme_changed() is called during font loading git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22971 a1c6a512-1295-4272-9138-f99709370657
* RTL support in menusTomer Shalev2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22945 a1c6a512-1295-4272-9138-f99709370657
* Use similiar constants in genlang and language.c.Tomer Shalev2009-10-04
| | | | | | | | - In the future, they should be united. - Fix bug in max size calculation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22930 a1c6a512-1295-4272-9138-f99709370657
* new skin tag: %Sx|<english>| will display the current languages translation ↵Jonathan Gordon2009-09-26
| | | | | | | | | | | | | of the "<english>" string. the <english> is the Source: bit in the .lang files. (must be exactly as it is there...) checkwps cannot verify that the string is correct so make sure to use the sim to verify the string is acurate. Also "fix" checkwps so %St|<setting>| can be accepted for the theme site git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22837 a1c6a512-1295-4272-9138-f99709370657
* 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