Jonathan G Rennison
18a42664fc
Merge branch 'master' into jgrpp
...
Remove 'byte' typedef
2 weeks ago
Patric Stout
a3cfd23cf9
Codechange: rename byte to uint8_t ( #12308 )
2 months ago
Rubidium
4c117dd2d8
Revert #11993 : new number format system does not and cannot work for CJK languages
...
There are too many intricacies that I am unaware of that are popping up after
asking whether things are right or not.
I do not want to keep playing whack-a-mole, so just revert the whole thing.
This reverts:
15be383b93
360fe8b0b6
1aa9a5c0ab
59f56941e5
7e2eefb91f
b741b2ba6f
609d0071d5
9f8fd80112
a253205b93
819c6c756e
3 months ago
Rubidium
7e2eefb91f
Cleanup: Remove digit group separators from strgen and languages
3 months ago
Rubidium
819c6c756e
Codechange: Add support for number format and abbreviations pragmas/attributes to strgen
3 months ago
Jonathan G Rennison
97e6f3062e
Adding of _t to (u)int types, and WChar to char32_t
...
See: eaae0bb5e
4 months ago
Jonathan G Rennison
0460b820f3
Use std::string for LanguageMetadata::file
5 months ago
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
10 months ago
Jonathan G Rennison
d75c489466
Add various missing includes
11 months ago
Rubidium
13cdf5fffa
Codechange: use std::filesystem::path for the language file's path
12 months ago
Rubidium
3323402aaa
Codechange: rename smallvec_type to container_func and use only when needed
1 year ago
frosch
37222c3fa2
Change: treat languages as finished, if translations are 75% completed.
...
Unfinished translations are not auto-picked from the locale.
In release builds, unfinished translations are not offered in the GUI.
Unfinished translations are available in non-release builds, or by editing openttd.cfg.
3 years ago
Michael Lutz
024a3f6259
Codechange: Use automatic memory management for language pack reading.
3 years ago
Charles Pigott
860c270c73
Codechange: Replace assert_compile macro with static_assert
3 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Henry Wilson
c01a2e2a81
Codechange: Removed SmallVector completely
5 years ago
Patric Stout
36105841b9
Codechange: ICU_SORT is in reality ICU_I18N (according to their CMake files)
...
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
5 years ago
Charles Pigott
19076c24c1
Fix #6690 : Compilation with ICU 61
6 years ago
frosch
a56e2bccd0
(svn r27756) -Codechange: Add StringTab enum
7 years ago
frosch
f4da8ece0c
(svn r27755) -Codechange: Move TAB_SIZE to strings_type.h and use it consistently.
7 years ago
frosch
9ad09627ad
(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and MakeStringID() to access the structure of StringIDs.
7 years ago
rubidium
69fac508c3
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
9 years ago
rubidium
50b63c5870
(svn r23585) -Codechange: replace some magic numbers with less magic constants
13 years ago
rubidium
525e2c9e73
(svn r22806) -Codechange: store the number of untranslated strings in the language file
13 years ago
rubidium
fb5ecb9499
(svn r22411) -Document: another bunch of bits
13 years ago
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
terkhen
4b944cb13e
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
14 years ago
rubidium
034eb834cc
(svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage
14 years ago
rubidium
d46a2ef122
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
14 years ago
rubidium
8aba642ed5
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
14 years ago
rubidium
68b94e61e0
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
14 years ago
rubidium
f4e4056aed
(svn r21161) -Codechange: make the currently used language easier accessible
14 years ago
rubidium
f195920695
(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
14 years ago