mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[FONTVIEW] Make hardcoded messages localizable (#5305)
- Move messages from OnInstall procedure to en-US resource file. - Applied the same changes to all language files, now it's available for translation into other languages. CORE-18952 Signed-off-by: Nikita Piatygorskiy <generalhammond16@gmail.com>
This commit is contained in:
parent
2e836fb339
commit
5ef3f347ad
26 changed files with 196 additions and 25 deletions
|
@ -58,24 +58,50 @@ FormatString(
|
|||
}
|
||||
|
||||
static void
|
||||
ErrorMsgBox(HWND hParent, DWORD dwMessageId, ...)
|
||||
FormatMsgBox(
|
||||
_In_ HWND hParent,
|
||||
_In_ DWORD dwMessageId,
|
||||
_In_ DWORD dwCaptionId,
|
||||
_In_ UINT uType,
|
||||
_In_ va_list args)
|
||||
{
|
||||
HLOCAL hMemCaption = NULL;
|
||||
HLOCAL hMemText = NULL;
|
||||
|
||||
FormatString(FORMAT_MESSAGE_ALLOCATE_BUFFER,
|
||||
NULL, dwMessageId, 0, (LPWSTR)&hMemText, 0, &args);
|
||||
FormatString(FORMAT_MESSAGE_ALLOCATE_BUFFER,
|
||||
NULL, dwCaptionId, 0, (LPWSTR)&hMemCaption, 0, NULL);
|
||||
|
||||
MessageBoxW(hParent, hMemText, hMemCaption, uType);
|
||||
LocalFree(hMemCaption);
|
||||
LocalFree(hMemText);
|
||||
}
|
||||
|
||||
static void
|
||||
ErrorMsgBox(
|
||||
HWND hParent,
|
||||
DWORD dwMessageId,
|
||||
...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
va_start(args, dwMessageId);
|
||||
FormatString(FORMAT_MESSAGE_ALLOCATE_BUFFER,
|
||||
NULL, dwMessageId, 0, (LPWSTR)&hMemText, 0, &args);
|
||||
FormatMsgBox(hParent, dwMessageId, IDS_ERROR, MB_ICONERROR, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
FormatString(FORMAT_MESSAGE_ALLOCATE_BUFFER,
|
||||
NULL, IDS_ERROR, 0, (LPWSTR)&hMemCaption, 0, NULL);
|
||||
static void
|
||||
SuccessMsgBox(
|
||||
HWND hParent,
|
||||
DWORD dwMessageId,
|
||||
...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
MessageBoxW(hParent, hMemText, hMemCaption, MB_ICONERROR);
|
||||
|
||||
LocalFree(hMemCaption);
|
||||
LocalFree(hMemText);
|
||||
va_start(args, dwMessageId);
|
||||
FormatMsgBox(hParent, dwMessageId, IDS_SUCCESS, MB_ICONINFORMATION, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
int WINAPI
|
||||
|
@ -451,7 +477,6 @@ MainWnd_OnInstall(HWND hwnd)
|
|||
HKEY hKey;
|
||||
|
||||
SendDlgItemMessage(hwnd, IDC_DISPLAY, FVM_GETFULLNAME, 64, (LPARAM)szFullName);
|
||||
// MessageBoxW(hwnd, szFullName, L"Debug", MB_OK);
|
||||
|
||||
/* First, we have to find out if the font still exists */
|
||||
if (GetFileAttributes(g_fileName) == INVALID_FILE_ATTRIBUTES)
|
||||
|
@ -468,21 +493,17 @@ MainWnd_OnInstall(HWND hwnd)
|
|||
wcscat(szDestPath, L"\\Fonts\\");
|
||||
wcscat(szDestPath, pszFileName);
|
||||
|
||||
/* Debug Message */
|
||||
// MessageBoxW(hwnd, szDestPath, L"szDestPath", MB_OK);
|
||||
// MessageBoxW(hwnd, pszFileName, L"pszFileExt", MB_OK);
|
||||
|
||||
/* Check if the file already exists */
|
||||
if (GetFileAttributesW(szDestPath) != INVALID_FILE_ATTRIBUTES)
|
||||
{
|
||||
MessageBoxW(hwnd, L"This font is already installed!", L"Already Installed", MB_OK);
|
||||
ErrorMsgBox(hwnd, IDS_ERROR_ISINSTALLED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Copy the font file */
|
||||
if (!CopyFileW(g_fileName, szDestPath, TRUE))
|
||||
{
|
||||
MessageBoxW(hwnd,L"Failed to copy the font file!", L"File Error", MB_OK);
|
||||
ErrorMsgBox(hwnd, IDS_ERROR_FONTCPY);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -494,7 +515,7 @@ MainWnd_OnInstall(HWND hwnd)
|
|||
&hKey);
|
||||
if (res != ERROR_SUCCESS)
|
||||
{
|
||||
MessageBoxW(hwnd, L"Failed top open the fonts key!", L"Debug1", MB_OK);
|
||||
ErrorMsgBox(hwnd, IDS_ERROR_OPENKEY);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -504,10 +525,10 @@ MainWnd_OnInstall(HWND hwnd)
|
|||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)pszFileName,
|
||||
(wcslen(pszFileName) + 1) * sizeof(WCHAR));
|
||||
(DWORD)(wcslen(pszFileName) + 1) * sizeof(WCHAR));
|
||||
if (res != ERROR_SUCCESS)
|
||||
{
|
||||
MessageBoxW(hwnd, L"Failed to register the new font!", L"Debug2", MB_OK);
|
||||
ErrorMsgBox(hwnd, IDS_ERROR_REGISTER);
|
||||
RegCloseKey(hKey);
|
||||
return -1;
|
||||
}
|
||||
|
@ -519,7 +540,7 @@ MainWnd_OnInstall(HWND hwnd)
|
|||
SendMessageW(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
|
||||
|
||||
/* if all of this goes correctly, message the user about success */
|
||||
MessageBoxW(hwnd, L"Font Installation Completed.", L"Success", MB_OK);
|
||||
SuccessMsgBox(hwnd, IDS_COMPLETED);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Няма достатъчно място за завършване на действието."
|
||||
IDS_ERROR_NOFONT "%1 не е редовен шрифтов файл."
|
||||
IDS_ERROR_NOCLASS "Неуспешно изпълнение на класа на прозореца."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "K dokončení operace není dostatek paměti."
|
||||
IDS_ERROR_NOFONT "Soubor %1 není platným souborem písma."
|
||||
IDS_ERROR_NOCLASS "Inicializace okna aplikace selhala."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Podporované soubory písem (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Písmo Font (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Písmo TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Es steht nicht genügend Speicher zur Verfügung."
|
||||
IDS_ERROR_NOFONT "Die angegebene Datei %1 ist keine gültige Schriftartendatei."
|
||||
IDS_ERROR_NOCLASS "Fehler beim Initialisieren der Fensterklasse."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "There is not enough memory to complete the operation."
|
||||
IDS_ERROR_NOFONT "The file %1 is not a valid font file."
|
||||
IDS_ERROR_NOCLASS "Could not initialize window class."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "No hay memoria suficiente para completar la operación."
|
||||
IDS_ERROR_NOFONT "El archivo %1 no es un archivo de fuente válido."
|
||||
IDS_ERROR_NOCLASS "No es posible iniciar la clase de ventana."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Todas las tipografías (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Tipografía de mapa de bits (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Tipografía TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Mémoire insuffisante pour terminer l'opération."
|
||||
IDS_ERROR_NOFONT "Le fichier %1 n'est pas un fichier de polices valide."
|
||||
IDS_ERROR_NOCLASS "Impossible d'initialiser la classe de fenêtre."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Toutes polices supportées (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Fichier de polices (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Fichier de polices TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "אין מספיק זיכרון כדי להשלים את הפעולה."
|
||||
IDS_ERROR_NOFONT "הקובץ %1 אינו קובץ גופנים חוקי."
|
||||
IDS_ERROR_NOCLASS "Could not initialize window class."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Memori tidak cukup untuk menyelesaikan operasi."
|
||||
IDS_ERROR_NOFONT "Berkas %1 bukan berkas fon yang valid."
|
||||
IDS_ERROR_NOCLASS "Tidak bisa memulai window class."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Semua fon yang didukung (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Berkas Fon (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Fon (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Memoria insufficiente per completare l'operazione."
|
||||
IDS_ERROR_NOFONT "Il file% 1 non è un file di origine valido."
|
||||
IDS_ERROR_NOCLASS "Impossibile avviare la classe."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Tutti i font supportati (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Font TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Užduočiai užbaigti, nepakanka atminties."
|
||||
IDS_ERROR_NOFONT "%1 nėra teisinga šrifto byla."
|
||||
IDS_ERROR_NOCLASS "Nepavyko inicijuoti lango klasės."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Terdapat tidak cukup ingatan untuk melengkapkan operasi ini."
|
||||
IDS_ERROR_NOFONT "Fail %1 bukanlah fail fon yang sah."
|
||||
IDS_ERROR_NOCLASS "Tidak dapat mengawalkan kelas tetingkap."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Semuanya disokong fon (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -10,6 +10,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Det er ikke nok minne for å fullføre oppgaven."
|
||||
IDS_ERROR_NOFONT "Filen %1 er ikke et gyldig skriftfil."
|
||||
IDS_ERROR_NOCLASS "Kunne ikke initialise vindu klassen."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -18,6 +18,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Brakuje pamięci do ukończenia tej operacji."
|
||||
IDS_ERROR_NOFONT "Plik %1 nie jest poprawnym plikiem czcionki."
|
||||
IDS_ERROR_NOCLASS "Nie udało się zainicjować klasy window."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Wszystkie obsługiwane czcionki (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Plik czcionki (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Czcionka TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Não há memória suficiente para completar a operação."
|
||||
IDS_ERROR_NOFONT "O arquivo %1 não é um arquivo de fonte válida."
|
||||
IDS_ERROR_NOCLASS "Não foi possível inicializar a janela."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Nu e destulă memorie pentru a încheia operația."
|
||||
IDS_ERROR_NOFONT "Fișierul «%1» este un fișier font deteriorat."
|
||||
IDS_ERROR_NOCLASS "Clasa de ferestre nu a putut fi inițializată."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Toate fonturile recunoscute (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Fișiere de tip Font (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
Fonturi de tip TrueType (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -12,6 +12,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Недостаточно памяти для выполнения операции."
|
||||
IDS_ERROR_NOFONT "%1 не является корректным файлом шрифта."
|
||||
IDS_ERROR_NOCLASS "Невозможно инициализировать класс окна."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Все поддерживаемые шрифты (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Файлы шрифтов (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType шрифты (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -15,6 +15,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Na vykonanie tejto operácie nie je dostatok voľnej pamäte."
|
||||
IDS_ERROR_NOFONT "Požadovaný súbor %1 nie je platným súborom písiem."
|
||||
IDS_ERROR_NOCLASS "Nepodarilo sa inicializovať triedu window."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -14,6 +14,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Nuk ka memorie të mjaftueshme për të përfunduar operacionin."
|
||||
IDS_ERROR_NOFONT "Dokumenti %1 nuk është një font i vlefshem."
|
||||
IDS_ERROR_NOCLASS "Nuk mund të fillojë dritaren e klases."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -17,6 +17,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Det er inte nog minne för att slutföre operationen."
|
||||
IDS_ERROR_NOFONT "Filen %1 är inte en giltig typsnittsfil."
|
||||
IDS_ERROR_NOCLASS "Kunde inte initialisera Windows klassen."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -18,6 +18,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Bu işlemi bitirmek için yeterli bellek yok."
|
||||
IDS_ERROR_NOFONT "%1 dosyası, geçerli bir yazı tipi dosyası değil."
|
||||
IDS_ERROR_NOCLASS "Pencere sınıfı başlatılamadı."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "Tüm Desteklenen Yazı Tipleri (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Yazı Tipi Dosyası (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Yazı Tipi (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -18,6 +18,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "Недостатньо пам'яті для завершення операції."
|
||||
IDS_ERROR_NOFONT "Файл %1 не є коректним файлом шрифту."
|
||||
IDS_ERROR_NOCLASS "Неможливо ініціалізувати віконний клас."
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "All Supported Fonts (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
Font File (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType Font (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -20,6 +20,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "没有足够的内存来完成操作。"
|
||||
IDS_ERROR_NOFONT "%1不是一个有效的字体文件。"
|
||||
IDS_ERROR_NOCLASS "无法初始化窗口。"
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "所有支持的字体 (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
字体文件 (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType 字体 (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -18,6 +18,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "沒有足夠的記憶體來完成操作。"
|
||||
IDS_ERROR_NOFONT "%1 不是一個有效的字型檔案。"
|
||||
IDS_ERROR_NOCLASS "無法初始化視窗。"
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "所有支援的字型 (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
字型檔案 (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType 字型 (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -18,6 +18,12 @@ BEGIN
|
|||
IDS_ERROR_NOMEM "沒有足夠的記憶體來完成操作。"
|
||||
IDS_ERROR_NOFONT "%1 不是一個有效的字型檔案。"
|
||||
IDS_ERROR_NOCLASS "無法初始化視窗。"
|
||||
IDS_ERROR_ISINSTALLED "This font is already installed!"
|
||||
IDS_ERROR_FONTCPY "Failed to copy the font file!"
|
||||
IDS_ERROR_OPENKEY "Failed to open the fonts key!"
|
||||
IDS_ERROR_REGISTER "Failed to register the new font!"
|
||||
IDS_SUCCESS "Success"
|
||||
IDS_COMPLETED "Font installation completed."
|
||||
IDS_FILTER_LIST "所有支援的字型 (*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc)\0*.fon;*.fnt;*.ttf;*.ttc;*.otf;*.otc\0\
|
||||
字型檔案 (*.fon;*.fnt)\0*.fon;*.fnt\0\
|
||||
TrueType 字型 (*.ttf)\0*.ttf\0\
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#define IDS_ERROR 100
|
||||
#define IDS_ERROR_NOMEM 101
|
||||
#define IDS_ERROR_NOFONT 102
|
||||
#define IDS_ERROR_NOCLASS 103
|
||||
#define IDS_FILTER_LIST 104
|
||||
#define IDS_ERROR 100
|
||||
#define IDS_ERROR_NOMEM 101
|
||||
#define IDS_ERROR_NOFONT 102
|
||||
#define IDS_ERROR_NOCLASS 103
|
||||
#define IDS_ERROR_ISINSTALLED 104
|
||||
#define IDS_ERROR_FONTCPY 105
|
||||
#define IDS_ERROR_OPENKEY 106
|
||||
#define IDS_ERROR_REGISTER 107
|
||||
#define IDS_SUCCESS 108
|
||||
#define IDS_COMPLETED 109
|
||||
#define IDS_FILTER_LIST 110
|
||||
|
||||
#define IDS_INSTALL 500
|
||||
#define IDS_PRINT 501
|
||||
|
|
Loading…
Reference in a new issue