Commit graph

30 commits

Author SHA1 Message Date
Tom Ross
ec2737b2c2 Change the .lng files to contain strings from multiple users. Still 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
2009-10-18 00:56:42 +00:00
Tom Ross
9fbf346368 Change lang_init() to take a source, destination, and count. Needed for translatable plugins. Minor stylist changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 06:07:50 +00:00
Tomer Shalev
6d80565b1b RTL support in menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22945 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 11:43:38 +00:00
Jonathan Gordon
340f32356a new skin tag: %Sx|<english>| will display the current languages translation 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
2009-09-26 00:58:32 +00:00
Nils Wallménius
4317ff90a9 Move #defines and #include into c file as this is the only place they are used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19313 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 12:14:46 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
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
2008-06-28 18:10:04 +00:00
Daniel Stenberg
8ebbe99328 FS#8482 take two. Make the language files built first, so that the largest
size can be used as buffer size for languages. Work to this also contributed 
by Jonas Haggqvist.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16343 a1c6a512-1295-4272-9138-f99709370657
2008-02-18 12:17:34 +00:00
Daniel Stenberg
9425cf6548 eeek, revert the FS#8482 commit again as it broke the bootloaders and the
generated size wasn't actually used yet!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16339 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 23:24:28 +00:00
Daniel Stenberg
4a06c87e78 FS#8482:
Build system tweak that builds all languages first, to make the system able
to use a buffer size that fits the larger language only. Parts of this work
done by Jonas Haggqvist, but all the mistakes are my own!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16337 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 23:12:54 +00:00
Jonas Häggqvist
d1e4bb2334 Reduce the size of the language buffer a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16087 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 23:03:01 +00:00
Jonas Häggqvist
79ad71ac55 Updated Thai translation by Prakarn Sahasoontornvute (FS#8395). Enlarge the language buffer as pointed out by Harry Tu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16086 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 22:25:08 +00:00
Nils Wallménius
b311367481 *** Lang v2 cleanup (FS#6574) ***
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
2007-08-05 19:19:39 +00:00
Marianne Arnold
e48dcdc2dc Greek language update by Ioannis Koutoulakis - needs an increase of the language buffer once again (21kB) to fit in memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11403 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 23:26:09 +00:00
Marcoen Hirschberg
c70b390f11 increase the language buffer to fit the greek language file again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11023 a1c6a512-1295-4272-9138-f99709370657
2006-09-21 22:28:58 +00:00
Peter D'Hoye
bfee7eb4e8 Greek language update by Alexander Spyridakis. Also increased language buffer (18KB) to let the new file fit in memory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10008 a1c6a512-1295-4272-9138-f99709370657
2006-05-28 20:25:58 +00:00
Peter D'Hoye
85faccb797 Increase language buffer from 14000 to 16000 so that russian.lang fits again. Fix for bug 5286.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9872 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 20:52:43 +00:00
Jens Arnold
67de1d3d9b Thorough .lang rework: Removed all deprecated strings, combined string which were only split because long ago we had no splash(), sorted strings into logical groups to ease the transition to langv2. Bunped binary .lng version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9398 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 13:36:33 +00:00
Marcoen Hirschberg
b0fee17d6e waiting is over: initial unicode commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Jens Arnold
bec86d7b92 Increased max. .lng file size to 8000 bytes to make greek fit again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7593 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 21:59:49 +00:00
Magnus Holmgren
49775a4602 Increased language buffer size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7236 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 19:15:33 +00:00
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