vcpkg/ports/devil/0001_fix-encoding.patch

174 lines
7.4 KiB
Diff
Raw Normal View History

2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-ILU/include/ilu_error/ilu_err-french.h b/DevIL/src-ILU/include/ilu_error/ilu_err-french.h
2017-10-30 11:50:29 +08:00
index d3b280d..445440e 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-ILU/include/ilu_error/ilu_err-french.h
+++ b/DevIL/src-ILU/include/ilu_error/ilu_err-french.h
2017-10-30 11:50:29 +08:00
@@ -17,19 +17,19 @@
#include "ilu_internal.h"
ILconst_string iluErrorStringsFrench[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1] = {
- IL_TEXT("<22>num<75>ration invalide"),
- IL_TEXT("d<>passement de m<>moire"),
- IL_TEXT("format non support<72>"),
+ IL_TEXT("énumération invalide"),
+ IL_TEXT("dépassement de mémoire"),
+ IL_TEXT("format non supporté"),
IL_TEXT("erreur interne"),
- IL_TEXT("valeur ill<6C>gale"),
- IL_TEXT("op<6F>ration ill<6C>gale"),
- IL_TEXT("valeur de fichier ill<6C>gale"),
- IL_TEXT("en-t<>te de fichier invalide"),
- IL_TEXT("param<61>tre invalide"),
+ IL_TEXT("valeur illégale"),
+ IL_TEXT("opération illégale"),
+ IL_TEXT("valeur de fichier illégale"),
+ IL_TEXT("en-tête de fichier invalide"),
+ IL_TEXT("paramètre invalide"),
IL_TEXT("ne peut pas ouvrir le fichier"),
IL_TEXT("extension invalide"),
- IL_TEXT("fichier d<>j<EFBFBD> existant"),
- IL_TEXT("<22>quivalent hors-format"),
+ IL_TEXT("fichier déjà existant"),
+ IL_TEXT("équivalent hors-format"),
IL_TEXT("stack overflow"), //often used like this in French, so no need to translate
IL_TEXT("stack underflow"),
IL_TEXT("conversion invalide"),
@@ -38,7 +38,7 @@ ILconst_string iluErrorStringsFrench[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1] =
};
ILconst_string iluLibErrorStringsFrench[IL_LIB_EXR_ERROR - IL_LIB_GIF_ERROR + 1] = {
- IL_TEXT("gif : erreur dans la librairie"), //or: gif : erreur dans la biblioth<74>que (but less used)
+ IL_TEXT("gif : erreur dans la librairie"), //or: gif : erreur dans la bibliothèque (but less used)
IL_TEXT("jpeg : erreur dans la librairie"),
IL_TEXT("png : erreur dans la librairie"),
IL_TEXT("tiff : erreur dans la librairie"),
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-ILU/include/ilu_error/ilu_err-german.h b/DevIL/src-ILU/include/ilu_error/ilu_err-german.h
2017-10-30 11:50:29 +08:00
index bf3f05c..acdbe8a 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-ILU/include/ilu_error/ilu_err-german.h
+++ b/DevIL/src-ILU/include/ilu_error/ilu_err-german.h
2017-10-30 11:50:29 +08:00
@@ -6,7 +6,7 @@
//
// Filename: src-ILU/include/ilu_error/ilu_err_German.h
//
-// Description: Error functions in German, translated by Andreas St<53>ckel.
+// Description: Error functions in German, translated by Andreas Stöckel.
//
//-----------------------------------------------------------------------------
@@ -17,23 +17,23 @@
#include "ilu_internal.h"
ILconst_string iluErrorStringsGerman[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1] = {
- IL_TEXT("Ung<6E>ltiger Enumerator"),
- IL_TEXT("Kein Speicher verf<72>gbar"),
- IL_TEXT("Das Format wird noch nicht unterst<73>tzt"),
+ IL_TEXT("Ungültiger Enumerator"),
+ IL_TEXT("Kein Speicher verfügbar"),
+ IL_TEXT("Das Format wird noch nicht unterstützt"),
IL_TEXT("Interner Fehler"),
- IL_TEXT("Ung<6E>ltiger Wert"),
- IL_TEXT("Unzul<75>ssige Operation"),
- IL_TEXT("Unzul<75>ssiger Datei-Wert"),
- IL_TEXT("Unzul<75>ssiger Datei-Header"),
- IL_TEXT("Unzul<75>ssiger Parameter"),
- IL_TEXT("Datei konnte nicht ge<67>ffnet werden"),
- IL_TEXT("Ung<6E>ltiger Erweiterung"),
+ IL_TEXT("Ungültiger Wert"),
+ IL_TEXT("Unzulässige Operation"),
+ IL_TEXT("Unzulässiger Datei-Wert"),
+ IL_TEXT("Unzulässiger Datei-Header"),
+ IL_TEXT("Unzulässiger Parameter"),
+ IL_TEXT("Datei konnte nicht geöffnet werden"),
+ IL_TEXT("Ungültiger Erweiterung"),
IL_TEXT("Die Datei existiert bereits"),
IL_TEXT("out format equivalent"),
- IL_TEXT("Stack <20>berlauf"),
+ IL_TEXT("Stack Überlauf"),
IL_TEXT("Stack Unterlauf"),
- IL_TEXT("Ung<6E>ltige Konvertierung"),
- IL_TEXT("Unzul<75>ssige Abmessungen"),
+ IL_TEXT("Ungültige Konvertierung"),
+ IL_TEXT("Unzulässige Abmessungen"),
IL_TEXT("Fehler beim Lesen der Datei")
};
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-ILU/include/ilu_error/ilu_err-italian.h b/DevIL/src-ILU/include/ilu_error/ilu_err-italian.h
2017-10-30 11:50:29 +08:00
index 09d7bd1..d34b23f 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-ILU/include/ilu_error/ilu_err-italian.h
+++ b/DevIL/src-ILU/include/ilu_error/ilu_err-italian.h
2017-10-30 11:50:29 +08:00
@@ -22,13 +22,13 @@ ILconst_string iluErrorStringsItalian[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1]
IL_TEXT("configuri non sostenne"),
IL_TEXT("erreur interne"),
IL_TEXT("errore interno"),
- IL_TEXT("op<6F>ration ill<6C>gale"),
+ IL_TEXT("opération illégale"),
IL_TEXT("operazione illegale"),
IL_TEXT("inebri archivio nullo"),
IL_TEXT("parametro nullo"),
- IL_TEXT("non pu<70> aprire l'archivio"),
+ IL_TEXT("non può aprire l'archivio"),
IL_TEXT("dilazione nulla"),
- IL_TEXT("archivi gi<67> esistendo"),
+ IL_TEXT("archivi già esistendo"),
IL_TEXT("equivalente fuori-configuri"),
IL_TEXT("inondi di batteria"),
IL_TEXT("insufficienza di batteria"),
2018-10-18 02:41:58 +08:00
diff --git a/DevIL/src-ILU/include/ilu_error/ilu_err-spanish.h b/DevIL/src-ILU/include/ilu_error/ilu_err-spanish.h
2017-10-30 11:50:29 +08:00
index 77b5a24..0945fdf 100644
2018-10-18 02:41:58 +08:00
--- a/DevIL/src-ILU/include/ilu_error/ilu_err-spanish.h
+++ b/DevIL/src-ILU/include/ilu_error/ilu_err-spanish.h
2017-10-30 11:50:29 +08:00
@@ -6,7 +6,7 @@
//
// Filename: src-ILU/include/ilu_error/ilu_err-spanish.h
//
-// Description: Error functions in Spanish, translated by Carlos Aragon<6F>s
+// Description: Error functions in Spanish, translated by Carlos Aragonés
//
//-----------------------------------------------------------------------------
@@ -19,32 +19,32 @@
ILconst_string iluErrorStringsSpanish[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1] = {
IL_TEXT("enumerador incorrecto"),
IL_TEXT("no queda memoria disponible"),
- IL_TEXT("formato no soportado todav<61>a"),
+ IL_TEXT("formato no soportado todavía"),
IL_TEXT("error interno"),
IL_TEXT("valor incorrecto"),
- IL_TEXT("operaci<63>n ilegaIL_TEXT("),
+ IL_TEXT("operación ilegaIL_TEXT("),
IL_TEXT("valor de fichero ilegaIL_TEXT("),
IL_TEXT("cabecera incorrecta"),
- IL_TEXT("par<61>metro incorrecto"),
+ IL_TEXT("parámetro incorrecto"),
IL_TEXT("no se puede abrir el fichero"),
- IL_TEXT("extensi<73>n desconocida"),
+ IL_TEXT("extensión desconocida"),
IL_TEXT("el fichero ya existe"),
IL_TEXT("formato de salida equivalente"),
IL_TEXT("desbordamiento superior de pila"),
IL_TEXT("desbordamiento inferior de pila"),
- IL_TEXT("conversi<73>n incorrecta"),
- IL_TEXT("n<>mero de dimensiones incorrecto"),
+ IL_TEXT("conversión incorrecta"),
+ IL_TEXT("número de dimensiones incorrecto"),
IL_TEXT("error de lectura en el fichero")
};
ILconst_string iluLibErrorStringsSpanish[IL_LIB_EXR_ERROR - IL_LIB_GIF_ERROR + 1] = {
- IL_TEXT("error en la librer<65>a gif"), // the correct translation will be 'error en la biblioteca gif', but nobody in spain uses the word 'biblioteca' for the translation the word 'library'. Almost all Spanish programmers translate 'library' incorrectly to 'librer<65>a'.
- IL_TEXT("error en la librer<65>a jpeg"),
- IL_TEXT("error en la librer<65>a png"),
- IL_TEXT("error en la librer<65>a tiff"),
- IL_TEXT("error en la librer<65>a mng"),
- IL_TEXT("error en la librer<65>a jp2"),
- IL_TEXT("error en la librer<65>a exr"),
+ IL_TEXT("error en la librería gif"), // the correct translation will be 'error en la biblioteca gif', but nobody in spain uses the word 'biblioteca' for the translation the word 'library'. Almost all Spanish programmers translate 'library' incorrectly to 'librería'.
+ IL_TEXT("error en la librería jpeg"),
+ IL_TEXT("error en la librería png"),
+ IL_TEXT("error en la librería tiff"),
+ IL_TEXT("error en la librería mng"),
+ IL_TEXT("error en la librería jp2"),
+ IL_TEXT("error en la librería exr"),
};
ILconst_string iluMiscErrorStringsSpanish[2] = {