Przeglądaj źródła

* fixed error message when using for-in with Objective-Pascal 1.0

git-svn-id: trunk@15541 -
Jonas Maebe 15 lat temu
rodzic
commit
2bf79e6e51

+ 1 - 1
compiler/msg/errord.msg

@@ -1325,7 +1325,7 @@ parser_e_widestring_to_ansi_compile_time=03293_E_Eine Unicodechar/string Konstan
 % constant expressions that have to be converted into an ansistring or shortstring
 % at compile time, for example inside typed constants. The reason is that the
 % compiler cannot know what the actual ansi encoding will be at run time.
-parser_e_objc_enumerator_2_0=03294_E_Objective-Pascal For-in Schleifen erfordern, dass der Modenschalter \{\$modeswitch ObjectiveC1\} aktiv ist
+parser_e_objc_enumerator_2_0=03294_E_Objective-Pascal For-in Schleifen erfordern, dass der Modenschalter \{\$modeswitch ObjectiveC2\} aktiv ist
 % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
 % hence the appropriate modeswitch has to be activated to expose this feature.
 % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.

+ 1 - 1
compiler/msg/errordu.msg

@@ -1325,7 +1325,7 @@ parser_e_widestring_to_ansi_compile_time=03293_E_Eine Unicodechar/string Konstan
 % constant expressions that have to be converted into an ansistring or shortstring
 % at compile time, for example inside typed constants. The reason is that the
 % compiler cannot know what the actual ansi encoding will be at run time.
-parser_e_objc_enumerator_2_0=03294_E_Objective-Pascal For-in Schleifen erfordern, dass der Modenschalter \{\$modeswitch ObjectiveC1\} aktiv ist
+parser_e_objc_enumerator_2_0=03294_E_Objective-Pascal For-in Schleifen erfordern, dass der Modenschalter \{\$modeswitch ObjectiveC2\} aktiv ist
 % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
 % hence the appropriate modeswitch has to be activated to expose this feature.
 % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.

+ 1 - 1
compiler/msg/errore.msg

@@ -1315,7 +1315,7 @@ parser_e_widestring_to_ansi_compile_time=03293_E_Unicodechar/string constants ca
 % constant expressions that have to be converted into an ansistring or shortstring
 % at compile time, for example inside typed constants. The reason is that the
 % compiler cannot know what the actual ansi encoding will be at run time.
-parser_e_objc_enumerator_2_0=03294_E_For-in Objective-Pascal loops require \{\$modeswitch ObjectiveC1\} to be active
+parser_e_objc_enumerator_2_0=03294_E_For-in Objective-Pascal loops require \{\$modeswitch ObjectiveC2\} to be active
 % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
 % hence the appropriate modeswitch has to be activated to expose this feature.
 % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.

+ 1 - 1
compiler/msg/errorpt.msg

@@ -1317,7 +1317,7 @@ parser_e_widestring_to_ansi_compile_time=03293_E_Constantes caracteres/unicode n
 % constant expressions that have to be converted into an ansistring or shortstring
 % at compile time, for example inside typed constants. The reason is that the
 % compiler cannot know what the actual ansi encoding will be at run time.
-parser_e_objc_enumerator_2_0=03294_E_La‡os "For-in Objective-Pascal" requerem que a chave \{\$modeswitch ObjectiveC1\} esteja ativa
+parser_e_objc_enumerator_2_0=03294_E_La‡os "For-in Objective-Pascal" requerem que a chave \{\$modeswitch ObjectiveC2\} esteja ativa
 % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
 % hence the appropriate modeswitch has to be activated to expose this feature.
 % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.

+ 1 - 1
compiler/msg/errorptu.msg

@@ -1317,7 +1317,7 @@ parser_e_widestring_to_ansi_compile_time=03293_E_Constantes caracteres/unicode n
 % constant expressions that have to be converted into an ansistring or shortstring
 % at compile time, for example inside typed constants. The reason is that the
 % compiler cannot know what the actual ansi encoding will be at run time.
-parser_e_objc_enumerator_2_0=03294_E_Laços "For-in Objective-Pascal" requerem que a chave \{\$modeswitch ObjectiveC1\} esteja ativa
+parser_e_objc_enumerator_2_0=03294_E_Laços "For-in Objective-Pascal" requerem que a chave \{\$modeswitch ObjectiveC2\} esteja ativa
 % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
 % hence the appropriate modeswitch has to be activated to expose this feature.
 % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.

+ 1 - 1
compiler/msgtxt.inc

@@ -458,7 +458,7 @@ const msgtxt : array[0..000236,1..240] of char=(
   '03293_E_Unicodechar/string constants cannot be converted to ansi/short'+
   'string at compile-time'#000+
   '03294_E_For-in Objective-Pascal loops require \{\$modeswitch Objective'+
-  'C1\} to be',' active'#000+
+  'C2\} to be',' active'#000+
   '03295_E_The compiler cannot find the NSFastEnumerationProtocol or NSFa'+
   'stEnumerationState type in the CocoaAll unit'#000+
   '04000_E_Type mismatch'#000+