Commit graph

10 commits

Author SHA1 Message Date
Jens Arnold
0f04029293 New way of handling the builtin language strings. Now the string pointers 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
2005-01-19 21:43:15 +00:00
Jose Maria Garcia-Valdecasas Bernal
9f5ca5a12d allows bigger language files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5600 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 09:49:07 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
2fb5b913fa Increased language buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4834 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 22:17:31 +00:00
Daniel Stenberg
a91dfd53be Henrik Backe's english language file cleanup. This ups the language file
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
2004-01-23 11:41:11 +00:00
Daniel Stenberg
56c2a62ec8 The newest german .lng file is 5.26K, so I extended the maximum .lng file
size from 5000 bytes to 6000 bytes now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3937 a1c6a512-1295-4272-9138-f99709370657
2003-08-21 13:49:45 +00:00
Daniel Stenberg
50b1dbeabe allow a bigger language file to load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3360 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 16:09:11 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Daniel Stenberg
2d8aef9ab7 lang_load() returns an int to signal success
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2396 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 13:53:41 +00:00
Daniel Stenberg
8d38c965dd binary language load support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2388 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:39:33 +00:00