Index: trunk/extensions/cldr/rebuild.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | $dir = dirname(__FILE__); |
15 | 15 | require_once( "$dir/cldr.php" ); |
16 | 16 | |
17 | | -$DATA = "$dir/core/common/main"; |
| 17 | +$DATA = "$dir/common/main"; |
18 | 18 | $OUTPUT = $dir; |
19 | 19 | |
20 | 20 | if (isset( $options['datadir'] ) ) { |
Index: trunk/extensions/cldr/README |
— | — | @@ -11,8 +11,8 @@ |
12 | 12 | http://www.unicode.org/cldr/repository_access.html |
13 | 13 | |
14 | 14 | Example: |
15 | | - wget http://www.unicode.org/Public/cldr/1.8.0/core.zip |
16 | | - unzip core.zip -d core |
| 15 | + wget http://www.unicode.org/Public/cldr/2.0.1/common.zip |
| 16 | + unzip common.zip -d core |
17 | 17 | php rebuild.php |
18 | 18 | |
19 | 19 | == Usage == |
Index: trunk/extensions/cldr/Makefile |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | .PHONY: help all clean |
3 | 3 | |
4 | | -CORE=http://www.unicode.org/Public/cldr/1.8.0/core.zip |
| 4 | +COMMON=http://www.unicode.org/Public/cldr/2.0.1/common.zip |
5 | 5 | |
6 | 6 | help: |
7 | 7 | @echo "'make all' to download CLDR data and rebuild files." |
— | — | @@ -12,15 +12,17 @@ |
13 | 13 | distclean: |
14 | 14 | rm -f core.zip |
15 | 15 | rm -rf core |
| 16 | + rm -f common.zip |
| 17 | + rm -rf common |
16 | 18 | |
17 | 19 | clean: |
18 | 20 | rm -f LanguageNames[A-Z]*.php |
19 | 21 | |
20 | | -LanguageNames.php: core/ |
| 22 | +LanguageNames.php: common/ |
21 | 23 | php rebuild.php |
22 | 24 | |
23 | | -core/: core.zip |
24 | | - unzip core.zip -d core |
| 25 | +common/: common.zip |
| 26 | + unzip common.zip -d common |
25 | 27 | |
26 | | -core.zip: |
27 | | - curl -C - -O $(CORE) || wget $(CORE) || fetch $(CORE) |
| 28 | +common.zip: |
| 29 | + curl -C - -O $(COMMON) || wget $(COMMON) || fetch $(COMMON) |