[Scummvm-git-logs] scummvm master -> a0e9556554640a309b93f7649ce49b2b540cf4c9

criezy criezy at scummvm.org
Sun Jan 15 20:41:33 CET 2017


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
780e0fe490 DEVTOOLS: Add missing end of line in error messages for cp parser
a0e9556554 I18N: Add codepage file for ISO-8859-7


Commit: 780e0fe49014c934df94f3b938d840fe09720085
    https://github.com/scummvm/scummvm/commit/780e0fe49014c934df94f3b938d840fe09720085
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2017-01-15T19:39:46Z

Commit Message:
DEVTOOLS: Add missing end of line in error messages for cp parser

Changed paths:
    devtools/create_translations/cp_parser.cpp


diff --git a/devtools/create_translations/cp_parser.cpp b/devtools/create_translations/cp_parser.cpp
index f5e4c9d..c7c7597 100644
--- a/devtools/create_translations/cp_parser.cpp
+++ b/devtools/create_translations/cp_parser.cpp
@@ -50,7 +50,7 @@ Codepage *parseCodepageMapping(const std::string &filename) {
 
 	std::ifstream in(filename.c_str());
 	if (!in) {
-		fprintf(stderr, "ERROR: Could not open file \"%s\"!", filename.c_str());
+		fprintf(stderr, "ERROR: Could not open file \"%s\"!\n", filename.c_str());
 		return 0;
 	}
 
@@ -63,7 +63,7 @@ Codepage *parseCodepageMapping(const std::string &filename) {
 		if (in.eof())
 			break;
 		if (in.fail()) {
-			fprintf(stderr, "ERROR: Reading from file \"%s\" failed!", filename.c_str());
+			fprintf(stderr, "ERROR: Reading from file \"%s\" failed!\n", filename.c_str());
 			return 0;
 		}
 
@@ -76,7 +76,7 @@ Codepage *parseCodepageMapping(const std::string &filename) {
 		int unicode, required;
 		const int parsed = sscanf(line.c_str(), "%d %d", &unicode, &required);
 		if (parsed < 1 || parsed > 2) {
-			fprintf(stderr, "ERROR: Line \"%s\" is malformed!", filename.c_str());
+			fprintf(stderr, "ERROR: Line \"%s\" is malformed!\n", filename.c_str());
 			return 0;
 		}
 		// In case no required integer was given, we assume the character is
@@ -97,7 +97,7 @@ Codepage *parseCodepageMapping(const std::string &filename) {
 
 	// Check whether all character encodings are mapped, if not error out
 	if (processedMappings != 256) {
-		fprintf(stderr, "ERROR: File \"%s\" does not contain mappings for exactly 256 characters!", filename.c_str());
+		fprintf(stderr, "ERROR: File \"%s\" does not contain mappings for exactly 256 characters!\n", filename.c_str());
 		return 0;
 	}
 


Commit: a0e9556554640a309b93f7649ce49b2b540cf4c9
    https://github.com/scummvm/scummvm/commit/a0e9556554640a309b93f7649ce49b2b540cf4c9
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2017-01-15T19:40:25Z

Commit Message:
I18N: Add codepage file for ISO-8859-7

This is needed for the Greek translation.

Changed paths:
  A po/iso-8859-7.cp


diff --git a/po/iso-8859-7.cp b/po/iso-8859-7.cp
new file mode 100644
index 0000000..b5940a2
--- /dev/null
+++ b/po/iso-8859-7.cp
@@ -0,0 +1,320 @@
+# 0x00 (  0)
+0 0    # Not required
+1 0    # Not required
+2 0    # Not required
+3 0    # Not required
+# 0x04 (  4)
+4 0    # Not required
+5 0    # Not required
+6 0    # Not required
+7 0    # Not required
+# 0x08 (  8)
+8 0    # Not required
+9 0    # Not required
+10 0    # Not required
+11 0    # Not required
+# 0x0C ( 12)
+12 0    # Not required
+13 0    # Not required
+14 0    # Not required
+15 0    # Not required
+# 0x10 ( 16)
+16 0    # Not required
+17 0    # Not required
+18 0    # Not required
+19 0    # Not required
+# 0x14 ( 20)
+20 0    # Not required
+21 0    # Not required
+22 0    # Not required
+23 0    # Not required
+# 0x18 ( 24)
+24 0    # Not required
+25 0    # Not required
+26 0    # Not required
+27 0    # Not required
+# 0x1C ( 28)
+28 0    # Not required
+29 0    # Not required
+30 0    # Not required
+31 0    # Not required
+# 0x20 ( 32)
+32
+33
+34
+35
+# 0x24 ( 36)
+36
+37
+38
+39
+# 0x28 ( 40)
+40
+41
+42
+43
+# 0x2C ( 44)
+44
+45
+46
+47
+# 0x30 ( 48)
+48
+49
+50
+51
+# 0x34 ( 52)
+52
+53
+54
+55
+# 0x38 ( 56)
+56
+57
+58
+59
+# 0x3C ( 60)
+60
+61
+62
+63
+# 0x40 ( 64)
+64
+65
+66
+67
+# 0x44 ( 68)
+68
+69
+70
+71
+# 0x48 ( 72)
+72
+73
+74
+75
+# 0x4C ( 76)
+76
+77
+78
+79
+# 0x50 ( 80)
+80
+81
+82
+83
+# 0x54 ( 84)
+84
+85
+86
+87
+# 0x58 ( 88)
+88
+89
+90
+91
+# 0x5C ( 92)
+92
+93
+94
+95
+# 0x60 ( 96)
+96
+97
+98
+99
+# 0x64 (100)
+100
+101
+102
+103
+# 0x68 (104)
+104
+105
+106
+107
+# 0x6C (108)
+108
+109
+110
+111
+# 0x70 (112)
+112
+113
+114
+115
+# 0x74 (116)
+116
+117
+118
+119
+# 0x78 (120)
+120
+121
+122
+123
+# 0x7C (124)
+124
+125
+126
+127 0    # Not required
+# 0x80 (128)
+128 0    # Not required
+129 0    # Not required
+130 0    # Not required
+131 0    # Not required
+# 0x84 (132)
+132 0    # Not required
+133 0    # Not required
+134 0    # Not required
+135 0    # Not required
+# 0x88 (136)
+136 0    # Not required
+137 0    # Not required
+138 0    # Not required
+139 0    # Not required
+# 0x8C (140)
+140 0    # Not required
+141 0    # Not required
+142 0    # Not required
+143 0    # Not required
+# 0x90 (144)
+144 0    # Not required
+145 0    # Not required
+146 0    # Not required
+147 0    # Not required
+# 0x94 (148)
+148 0    # Not required
+149 0    # Not required
+150 0    # Not required
+151 0    # Not required
+# 0x98 (152)
+152 0    # Not required
+153 0    # Not required
+154 0    # Not required
+155 0    # Not required
+# 0x9C (156)
+156 0    # Not required
+157 0    # Not required
+158 0    # Not required
+159 0    # Not required
+# 0xA0 (160)
+160
+8216
+8217
+163
+# 0xA4 (164)
+8364
+8367
+166
+167
+# 0xA8 (168)
+168
+169
+890
+171
+# 0xAC (172)
+172
+173
+-1 0    # Not required
+8213
+# 0xB0 (176)
+176
+177
+178
+179
+# 0xB4 (180)
+900
+901
+902
+183
+# 0xB8 (184)
+904
+905
+906
+187
+# 0xBC (188)
+908
+189
+910
+911
+# 0xC0 (192)
+912
+913
+914
+915
+# 0xC4 (196)
+916
+917
+918
+919
+# 0xC8 (200)
+920
+921
+922
+923
+# 0xCC (204)
+924
+925
+926
+927
+# 0xD0 (208)
+928
+929
+-1 0    # Not required
+931
+# 0xD4 (212)
+932
+933
+934
+935
+# 0xD8 (216)
+936
+937
+938
+939
+# 0xDC (220)
+940
+941
+942
+943
+# 0xE0 (224)
+944
+945
+946
+947
+# 0xE4 (228)
+948
+949
+950
+951
+# 0xE8 (232)
+952
+953
+954
+955
+# 0xEC (236)
+956
+957
+958
+959
+# 0xF0 (240)
+960
+961
+962
+963
+# 0xF4 (244)
+964
+965
+966
+967
+# 0xF8 (248)
+968
+969
+970
+971
+# 0xFC (252)
+972
+973
+974
+-1 0    # Not required





More information about the Scummvm-git-logs mailing list