From 952ed78d12d9dae772af633b7cc7e842c02ad610 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 14 Mar 2013 10:12:19 +0000 Subject: - translation fixes (patch from Basil) git-svn-id: http://svn.miranda-ng.org/main/trunk@4016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/crshdmp_icons.cpp | 12 +-- plugins/FTPFileYM/src/ftpfile.cpp | 2 +- plugins/ListeningTo/src/listeningto.cpp | 4 +- plugins/MenuItemEx/src/main.cpp | 4 +- plugins/MirOTR/MirOTR/src/icons.cpp | 2 +- plugins/NewXstatusNotify/src/main.cpp | 2 +- plugins/NoHistory/src/icons.cpp | 2 +- plugins/NotesAndReminders/src/main.cpp | 2 +- plugins/Restart/src/restart.cpp | 2 +- plugins/UserInfoEx/src/mir_icolib.cpp | 152 +++++++++++++++--------------- plugins/UserInfoEx/src/mir_icolib.h | 2 +- protocols/AimOscar/src/theme.cpp | 2 +- 12 files changed, 94 insertions(+), 94 deletions(-) diff --git a/plugins/CrashDumper/src/crshdmp_icons.cpp b/plugins/CrashDumper/src/crshdmp_icons.cpp index d469c5349d..5ab76319b0 100644 --- a/plugins/CrashDumper/src/crshdmp_icons.cpp +++ b/plugins/CrashDumper/src/crshdmp_icons.cpp @@ -20,16 +20,16 @@ along with this program. If not, see . static IconItem iconList[] = { - { "Version Information", "versionInfo", IDI_VI }, - { "Copy To Clipboard", "storeToClip", IDI_VITOCLIP }, - { "Store to file", "storeToFile", IDI_VITOFILE }, - { "Show", "showInfo", IDI_VISHOW }, - { "Upload", "uploadInfo", IDI_VIUPLOAD }, + { LPGEN("Version Information"), "versionInfo", IDI_VI }, + { LPGEN("Copy To Clipboard"), "storeToClip", IDI_VITOCLIP }, + { LPGEN("Store to file"), "storeToFile", IDI_VITOFILE }, + { LPGEN("Show"), "showInfo", IDI_VISHOW }, + { LPGEN("Upload"), "uploadInfo", IDI_VIUPLOAD }, }; void InitIcons(void) { - Icon_Register(hInst, PluginName, iconList, SIZEOF(iconList), PluginName); + Icon_Register(hInst, LPGEN("Crash Dumper"), iconList, SIZEOF(iconList), PluginName); } HICON LoadIconEx(int iconId, bool big) diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp index 557e13add8..55e8022a39 100644 --- a/plugins/FTPFileYM/src/ftpfile.cpp +++ b/plugins/FTPFileYM/src/ftpfile.cpp @@ -85,7 +85,7 @@ static IconItem iconList[] = static void InitIcolib() { - Icon_Register(hInst, MODULE, iconList, SIZEOF(iconList), MODULE); + Icon_Register(hInst, LPGEN("FTP File"), iconList, SIZEOF(iconList), MODULE); } void InitMenuItems() diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index 129bdce559..9c20374202 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -295,10 +295,10 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) CallService("DBEditorpp/RegisterSingleModule", (WPARAM) MODULE_NAME, 0); // icons - Icon_Register(hInst, "ListeningTo", iconList, SIZEOF(iconList)); + Icon_Register(hInst, LPGEN("ListeningTo"), iconList, SIZEOF(iconList)); // Extra icon support - hExtraIcon = ExtraIcon_Register(MODULE_NAME, "Listening to music", "listening_to_icon"); + hExtraIcon = ExtraIcon_Register(MODULE_NAME, LPGEN("Listening to music"), "listening_to_icon"); HANDLE hContact = db_find_first(); while (hContact != NULL) { diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 7f84855802..6d94b74e8d 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -1154,8 +1154,8 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) { int pos = 1000, i = 0; - Icon_Register(hinstance, MODULENAME, iconList, SIZEOF(iconList)); - Icon_Register(hinstance, MODULENAME, overlayIconList, SIZEOF(overlayIconList)); + Icon_Register(hinstance, LPGEN("MenuItemEx"), iconList, SIZEOF(iconList)); + Icon_Register(hinstance, LPGEN("MenuItemEx"), overlayIconList, SIZEOF(overlayIconList)); CreateServiceFunction(MS_SETINVIS, onSetInvis); CreateServiceFunction(MS_SETVIS, onSetVis); diff --git a/plugins/MirOTR/MirOTR/src/icons.cpp b/plugins/MirOTR/MirOTR/src/icons.cpp index 66f7915427..b9dbac20c8 100644 --- a/plugins/MirOTR/MirOTR/src/icons.cpp +++ b/plugins/MirOTR/MirOTR/src/icons.cpp @@ -12,7 +12,7 @@ static IconItem iconList[] = { void InitIcons() { - Icon_Register(hInst, MODULENAME, iconList, SIZEOF(iconList)); + Icon_Register(hInst, LPGEN("Off the Record"), iconList, SIZEOF(iconList)); } HICON LoadIcon(const char* name, int big) { diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 3fd7127662..c614c702f1 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -1077,7 +1077,7 @@ static IconItem iconList[] = void InitIcolib() { - Icon_Register(hInst, MODULE, iconList, SIZEOF(iconList), MODULE); + Icon_Register(hInst, LPGEN("New Status Notify"), iconList, SIZEOF(iconList), MODULE); } void InitSound() diff --git a/plugins/NoHistory/src/icons.cpp b/plugins/NoHistory/src/icons.cpp index 1caba1122e..0a523c235d 100644 --- a/plugins/NoHistory/src/icons.cpp +++ b/plugins/NoHistory/src/icons.cpp @@ -19,7 +19,7 @@ int ReloadIcons(WPARAM wParam, LPARAM lParam) void InitIcons() { - Icon_Register(hInst, MODULE, iconList, SIZEOF(iconList), MODULE); + Icon_Register(hInst, LPGEN("No History"), iconList, SIZEOF(iconList), MODULE); ReloadIcons(0, 0); diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index 4738d1496f..2322ca2f7b 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -112,7 +112,7 @@ IconItem iconList[] = void InitIcons(void) { - Icon_Register(hinstance, MODULENAME, iconList, SIZEOF(iconList), MODULENAME); + Icon_Register(hinstance, LPGEN("Sticky Notes"), iconList, SIZEOF(iconList), MODULENAME); } int OnOptInitialise(WPARAM w, LPARAM L) diff --git a/plugins/Restart/src/restart.cpp b/plugins/Restart/src/restart.cpp index 50dfa35e4c..6b65c68550 100644 --- a/plugins/Restart/src/restart.cpp +++ b/plugins/Restart/src/restart.cpp @@ -42,7 +42,7 @@ extern "C" __declspec(dllexport) int Load(void) mir_getLP( &pluginInfo ); // IcoLib support - Icon_Register(hInst, "Restart Plugin", &icon, 1); + Icon_Register(hInst, LPGEN("Restart Plugin"), &icon, 1); hRestartMe = CreateServiceFunction("System/RestartMe", RestartMe); diff --git a/plugins/UserInfoEx/src/mir_icolib.cpp b/plugins/UserInfoEx/src/mir_icolib.cpp index 1cc6a5c59a..e627241170 100644 --- a/plugins/UserInfoEx/src/mir_icolib.cpp +++ b/plugins/UserInfoEx/src/mir_icolib.cpp @@ -35,94 +35,94 @@ HICON ghDefIcon = NULL; static ICODESC icoDesc[] = { // common - { ICO_COMMON_IM, "IM Naming", SECT_COMMON, IDI_MIRANDA, 0 }, - { ICO_COMMON_PASSWORD, "Password", SECT_COMMON, IDI_PASSWORD, 0 }, - { ICO_COMMON_FEMALE, "Female", SECT_COMMON, IDI_FEMALE, 0 }, - { ICO_COMMON_MALE, "Male", SECT_COMMON, IDI_MALE, 0 }, - { ICO_COMMON_BIRTHDAY, "Birthday", SECT_COMMON, IDI_BIRTHDAY, 0 }, - { ICO_COMMON_CLOCK, "Timezone", SECT_COMMON, IDI_CLOCK, 1 }, - { ICO_COMMON_MARITAL, "Marital status", SECT_COMMON, IDI_MARITAL, 0 }, - { ICO_COMMON_ADDRESS, "Address", SECT_COMMON, IDI_TREE_ADDRESS, 0 }, - { ICO_COMMON_ANNIVERSARY,"Anniversary", SECT_COMMON, IDI_ANNIVERSARY, 0 }, + { ICO_COMMON_IM, LPGEN("IM Naming"), SECT_COMMON, IDI_MIRANDA, 0 }, + { ICO_COMMON_PASSWORD, LPGEN("Password"), SECT_COMMON, IDI_PASSWORD, 0 }, + { ICO_COMMON_FEMALE, LPGEN("Female"), SECT_COMMON, IDI_FEMALE, 0 }, + { ICO_COMMON_MALE, LPGEN("Male"), SECT_COMMON, IDI_MALE, 0 }, + { ICO_COMMON_BIRTHDAY, LPGEN("Birthday"), SECT_COMMON, IDI_BIRTHDAY, 0 }, + { ICO_COMMON_CLOCK, LPGEN("Timezone"), SECT_COMMON, IDI_CLOCK, 1 }, + { ICO_COMMON_MARITAL, LPGEN("Marital status"), SECT_COMMON, IDI_MARITAL, 0 }, + { ICO_COMMON_ADDRESS, LPGEN("Address"), SECT_COMMON, IDI_TREE_ADDRESS, 0 }, + { ICO_COMMON_ANNIVERSARY,LPGEN("Anniversary"), SECT_COMMON, IDI_ANNIVERSARY, 0 }, //zodiac - { ICO_ZOD_AQUARIUS, "Aquarius", SECT_COMMON, IDI_ZOD_AQUARIUS, 128 }, - { ICO_ZOD_ARIES, "Aries", SECT_COMMON, IDI_ZOD_ARIES, 128 }, - { ICO_ZOD_CANCER, "Cancer", SECT_COMMON, IDI_ZOD_CANCER, 128 }, - { ICO_ZOD_CAPRICORN, "Capricorn", SECT_COMMON, IDI_ZOD_CAPRICORN, 128 }, - { ICO_ZOD_GEMINI, "Gemini", SECT_COMMON, IDI_ZOD_GEMINI, 128 }, - { ICO_ZOD_LEO, "Leo", SECT_COMMON, IDI_ZOD_LEO, 128 }, - { ICO_ZOD_LIBRA, "Libra", SECT_COMMON, IDI_ZOD_LIBRA, 128 }, - { ICO_ZOD_PISCES, "Pisces", SECT_COMMON, IDI_ZOD_PISCES, 128 }, - { ICO_ZOD_SAGITTARIUS, "Sagittarius", SECT_COMMON, IDI_ZOD_SAGITTARIUS, 128 }, - { ICO_ZOD_SCORPIO, "Scorpio", SECT_COMMON, IDI_ZOD_SCORPIO, 128 }, - { ICO_ZOD_TAURUS, "Taurus", SECT_COMMON, IDI_ZOD_TAURUS, 128 }, - { ICO_ZOD_VIRGO, "Virgo", SECT_COMMON, IDI_ZOD_VIRGO, 128 }, + { ICO_ZOD_AQUARIUS, LPGEN("Aquarius"), SECT_COMMON, IDI_ZOD_AQUARIUS, 128 }, + { ICO_ZOD_ARIES, LPGEN("Aries"), SECT_COMMON, IDI_ZOD_ARIES, 128 }, + { ICO_ZOD_CANCER, LPGEN("Cancer"), SECT_COMMON, IDI_ZOD_CANCER, 128 }, + { ICO_ZOD_CAPRICORN, LPGEN("Capricorn"), SECT_COMMON, IDI_ZOD_CAPRICORN, 128 }, + { ICO_ZOD_GEMINI, LPGEN("Gemini"), SECT_COMMON, IDI_ZOD_GEMINI, 128 }, + { ICO_ZOD_LEO, LPGEN("Leo"), SECT_COMMON, IDI_ZOD_LEO, 128 }, + { ICO_ZOD_LIBRA, LPGEN("Libra"), SECT_COMMON, IDI_ZOD_LIBRA, 128 }, + { ICO_ZOD_PISCES, LPGEN("Pisces"), SECT_COMMON, IDI_ZOD_PISCES, 128 }, + { ICO_ZOD_SAGITTARIUS, LPGEN("Sagittarius"), SECT_COMMON, IDI_ZOD_SAGITTARIUS, 128 }, + { ICO_ZOD_SCORPIO, LPGEN("Scorpio"), SECT_COMMON, IDI_ZOD_SCORPIO, 128 }, + { ICO_ZOD_TAURUS, LPGEN("Taurus"), SECT_COMMON, IDI_ZOD_TAURUS, 128 }, + { ICO_ZOD_VIRGO, LPGEN("Virgo"), SECT_COMMON, IDI_ZOD_VIRGO, 128 }, // later with new icon pack version - //{ ICO_ZOD_UNKNOWN, "Unknown", SECT_COMMON, IDI_ZOD_UNKNOWN, 128 }, + //{ ICO_ZOD_UNKNOWN, LPGEN("Unknown"), SECT_COMMON, IDI_ZOD_UNKNOWN, 128 }, // lists - { ICO_LST_MODULES, "Export: Modules", SECT_COMMON, IDI_LST_MODULES, 0 }, - { ICO_LST_FOLDER, "Export: Folder", SECT_COMMON, IDI_LST_FOLDER, 0 }, - { ICO_TREE_DEFAULT, "Default", SECT_TREE, IDI_LST_FOLDER, 0 }, + { ICO_LST_MODULES, LPGEN("Export: Modules"), SECT_COMMON, IDI_LST_MODULES, 0 }, + { ICO_LST_FOLDER, LPGEN("Export: Folder"), SECT_COMMON, IDI_LST_FOLDER, 0 }, + { ICO_TREE_DEFAULT, LPGEN("Default"), SECT_TREE, IDI_LST_FOLDER, 0 }, // dialogs - { ICO_DLG_DETAILS, "Details Infobar", SECT_DLG, IDI_DLG_DETAILS, 48 }, - { ICO_DLG_PHONE, "Phone Infobar", SECT_DLG, IDI_DLG_PHONE, 1 }, - { ICO_DLG_EMAIL, "E-Mail Infobar", SECT_DLG, IDI_DLG_EMAIL, 1 }, - { ICO_DLG_EXPORT, "Export VCard", SECT_DLG, IDI_EXPORT, 1 }, - { ICO_DLG_IMPORT, "Import VCard", SECT_DLG, IDI_IMPORT, 1 }, - { ICO_DLG_ANNIVERSARY, "Anniversary Infobar", SECT_DLG, IDI_ANNIVERSARY, 1 }, + { ICO_DLG_DETAILS, LPGEN("Details Infobar"), SECT_DLG, IDI_DLG_DETAILS, 48 }, + { ICO_DLG_PHONE, LPGEN("Phone Infobar"), SECT_DLG, IDI_DLG_PHONE, 1 }, + { ICO_DLG_EMAIL, LPGEN("E-Mail Infobar"), SECT_DLG, IDI_DLG_EMAIL, 1 }, + { ICO_DLG_EXPORT, LPGEN("Export VCard"), SECT_DLG, IDI_EXPORT, 1 }, + { ICO_DLG_IMPORT, LPGEN("Import VCard"), SECT_DLG, IDI_IMPORT, 1 }, + { ICO_DLG_ANNIVERSARY, LPGEN("Anniversary Infobar"), SECT_DLG, IDI_ANNIVERSARY, 1 }, // button icons - { ICO_BTN_UPDATE, "Update", SECT_BUTTONS, IDI_BTN_UPDATE, 0 }, - { ICO_BTN_IMPORT, "Import", SECT_BUTTONS, IDI_IMPORT, 0 }, - { ICO_BTN_EXPORT, "Export", SECT_BUTTONS, IDI_EXPORT, 0 }, - { ICO_BTN_OK, "Ok", SECT_BUTTONS, IDI_BTN_OK, 0 }, - { ICO_BTN_CANCEL, "Cancel", SECT_BUTTONS, IDI_BTN_CLOSE, 0 }, - { ICO_BTN_APPLY, "Apply", SECT_BUTTONS, IDI_BTN_APPLY, 0 }, - { ICO_BTN_GOTO, "Goto", SECT_BUTTONS, IDI_BTN_GOTO, 0 }, - { ICO_BTN_PHONE, "Phone", SECT_BUTTONS, IDI_BTN_PHONE, 0 }, - { ICO_BTN_FAX, "Fax", SECT_BUTTONS, IDI_BTN_FAX, 0 }, - { ICO_BTN_CELLULAR, "Cellular", SECT_BUTTONS, IDI_BTN_CELLULAR, 0 }, - { ICO_BTN_CUSTOMPHONE, "Custom Phone", SECT_BUTTONS, IDI_BTN_CUSTOMPHONE, 0 }, - { ICO_BTN_EMAIL, "e-mail", SECT_BUTTONS, IDI_BTN_EMAIL, 0 }, - { ICO_BTN_DOWNARROW, "Down arrow", SECT_BUTTONS, IDI_BTN_DOWNARROW, 0 }, - { ICO_BTN_ADD, "Add", SECT_BUTTONS, IDI_BTN_ADD, 0 }, - { ICO_BTN_EDIT, "Edit", SECT_BUTTONS, IDI_BTN_EDIT, 0 }, - { ICO_BTN_DELETE, "Delete", SECT_BUTTONS, IDI_BTN_DELETE, 0 }, - { ICO_BTN_SEARCH, "Search", SECT_BUTTONS, IDI_SEARCH, 0 }, - { ICO_BTN_EXIMPORT, "Ex-/Import", SECT_BUTTONS, IDI_BTN_EXIMPORT, 0 }, - { ICO_BTN_BDAY_BACKUP, "Backup Birthday", SECT_BUTTONS, IDI_BTN_BIRTHDAY_BACKUP,0 }, - //{ ICO_BTN_YES, "Yes", SECT_BUTTONS, IDI_BTN_YES, 0 }, - //{ ICO_BTN_NO, "No", SECT_BUTTONS, IDI_BTN_NO, 0 }, - //{ ICO_BTN_IGNORE, "Ignore", SECT_BUTTONS, IDI_BTN_IGNORE, 0 }, + { ICO_BTN_UPDATE, LPGEN("Update"), SECT_BUTTONS, IDI_BTN_UPDATE, 0 }, + { ICO_BTN_IMPORT, LPGEN("Import"), SECT_BUTTONS, IDI_IMPORT, 0 }, + { ICO_BTN_EXPORT, LPGEN("Export"), SECT_BUTTONS, IDI_EXPORT, 0 }, + { ICO_BTN_OK, LPGEN("Ok"), SECT_BUTTONS, IDI_BTN_OK, 0 }, + { ICO_BTN_CANCEL, LPGEN("Cancel"), SECT_BUTTONS, IDI_BTN_CLOSE, 0 }, + { ICO_BTN_APPLY, LPGEN("Apply"), SECT_BUTTONS, IDI_BTN_APPLY, 0 }, + { ICO_BTN_GOTO, LPGEN("Goto"), SECT_BUTTONS, IDI_BTN_GOTO, 0 }, + { ICO_BTN_PHONE, LPGEN("Phone"), SECT_BUTTONS, IDI_BTN_PHONE, 0 }, + { ICO_BTN_FAX, LPGEN("Fax"), SECT_BUTTONS, IDI_BTN_FAX, 0 }, + { ICO_BTN_CELLULAR, LPGEN("Cellular"), SECT_BUTTONS, IDI_BTN_CELLULAR, 0 }, + { ICO_BTN_CUSTOMPHONE, LPGEN("Custom Phone"), SECT_BUTTONS, IDI_BTN_CUSTOMPHONE, 0 }, + { ICO_BTN_EMAIL, LPGEN("e-mail"), SECT_BUTTONS, IDI_BTN_EMAIL, 0 }, + { ICO_BTN_DOWNARROW, LPGEN("Down arrow"), SECT_BUTTONS, IDI_BTN_DOWNARROW, 0 }, + { ICO_BTN_ADD, LPGEN("Add"), SECT_BUTTONS, IDI_BTN_ADD, 0 }, + { ICO_BTN_EDIT, LPGEN("Edit"), SECT_BUTTONS, IDI_BTN_EDIT, 0 }, + { ICO_BTN_DELETE, LPGEN("Delete"), SECT_BUTTONS, IDI_BTN_DELETE, 0 }, + { ICO_BTN_SEARCH, LPGEN("Search"), SECT_BUTTONS, IDI_SEARCH, 0 }, + { ICO_BTN_EXIMPORT, LPGEN("Ex-/Import"), SECT_BUTTONS, IDI_BTN_EXIMPORT, 0 }, + { ICO_BTN_BDAY_BACKUP, LPGEN("Backup Birthday"), SECT_BUTTONS, IDI_BTN_BIRTHDAY_BACKUP,0 }, + //{ ICO_BTN_YES, LPGEN("Yes"), SECT_BUTTONS, IDI_BTN_YES, 0 }, + //{ ICO_BTN_NO, LPGEN("No"), SECT_BUTTONS, IDI_BTN_NO, 0 }, + //{ ICO_BTN_IGNORE, LPGEN("Ignore"), SECT_BUTTONS, IDI_BTN_IGNORE, 0 }, //birthday and anniversary - { ICO_RMD_DTB0, "Birthday today", SECT_REMIND, IDI_RMD_DTB0, 0 }, - { ICO_RMD_DTB1, "Birthday tomorrow", SECT_REMIND, IDI_RMD_DTB1, 0 }, - { ICO_RMD_DTB2, "Birthday in 2 days", SECT_REMIND, IDI_RMD_DTB2, 0 }, - { ICO_RMD_DTB3, "Birthday in 3 days", SECT_REMIND, IDI_RMD_DTB3, 0 }, - { ICO_RMD_DTB4, "Birthday in 4 days", SECT_REMIND, IDI_RMD_DTB4, 0 }, - { ICO_RMD_DTB5, "Birthday in 5 days", SECT_REMIND, IDI_RMD_DTB5, 0 }, - { ICO_RMD_DTB6, "Birthday in 6 days", SECT_REMIND, IDI_RMD_DTB6, 0 }, - { ICO_RMD_DTB7, "Birthday in 7 days", SECT_REMIND, IDI_RMD_DTB7, 0 }, - { ICO_RMD_DTB8, "Birthday in 8 days", SECT_REMIND, IDI_RMD_DTB8, 0 }, - { ICO_RMD_DTB9, "Birthday in 9 days", SECT_REMIND, IDI_RMD_DTB9, 0 }, - { ICO_RMD_DTBX, "Birthday later", SECT_REMIND, IDI_RMD_DTBX, 0 }, + { ICO_RMD_DTB0, LPGEN("Birthday today"), SECT_REMIND, IDI_RMD_DTB0, 0 }, + { ICO_RMD_DTB1, LPGEN("Birthday tomorrow"), SECT_REMIND, IDI_RMD_DTB1, 0 }, + { ICO_RMD_DTB2, LPGEN("Birthday in 2 days"), SECT_REMIND, IDI_RMD_DTB2, 0 }, + { ICO_RMD_DTB3, LPGEN("Birthday in 3 days"), SECT_REMIND, IDI_RMD_DTB3, 0 }, + { ICO_RMD_DTB4, LPGEN("Birthday in 4 days"), SECT_REMIND, IDI_RMD_DTB4, 0 }, + { ICO_RMD_DTB5, LPGEN("Birthday in 5 days"), SECT_REMIND, IDI_RMD_DTB5, 0 }, + { ICO_RMD_DTB6, LPGEN("Birthday in 6 days"), SECT_REMIND, IDI_RMD_DTB6, 0 }, + { ICO_RMD_DTB7, LPGEN("Birthday in 7 days"), SECT_REMIND, IDI_RMD_DTB7, 0 }, + { ICO_RMD_DTB8, LPGEN("Birthday in 8 days"), SECT_REMIND, IDI_RMD_DTB8, 0 }, + { ICO_RMD_DTB9, LPGEN("Birthday in 9 days"), SECT_REMIND, IDI_RMD_DTB9, 0 }, + { ICO_RMD_DTBX, LPGEN("Birthday later"), SECT_REMIND, IDI_RMD_DTBX, 0 }, - { ICO_RMD_DTA0, "Anniversary today", SECT_REMIND, IDI_RMD_DTA0, 0 }, - { ICO_RMD_DTA1, "Anniversary tomorrow", SECT_REMIND, IDI_RMD_DTA1, 0 }, - { ICO_RMD_DTA2, "Anniversary in 2 days", SECT_REMIND, IDI_RMD_DTA2, 0 }, - { ICO_RMD_DTA3, "Anniversary in 3 days", SECT_REMIND, IDI_RMD_DTA3, 0 }, - { ICO_RMD_DTA4, "Anniversary in 4 days", SECT_REMIND, IDI_RMD_DTA4, 0 }, - { ICO_RMD_DTA5, "Anniversary in 5 days", SECT_REMIND, IDI_RMD_DTA5, 0 }, - { ICO_RMD_DTA6, "Anniversary in 6 days", SECT_REMIND, IDI_RMD_DTA6, 0 }, - { ICO_RMD_DTA7, "Anniversary in 7 days", SECT_REMIND, IDI_RMD_DTA7, 0 }, - { ICO_RMD_DTA8, "Anniversary in 8 days", SECT_REMIND, IDI_RMD_DTA8, 0 }, - { ICO_RMD_DTA9, "Anniversary in 9 days", SECT_REMIND, IDI_RMD_DTA9, 0 }, - { ICO_RMD_DTAX, "Anniversary later", SECT_REMIND, IDI_RMD_DTAX, 0 }, -}; + { ICO_RMD_DTA0, LPGEN("Anniversary today"), SECT_REMIND, IDI_RMD_DTA0, 0 }, + { ICO_RMD_DTA1, LPGEN("Anniversary tomorrow"), SECT_REMIND, IDI_RMD_DTA1, 0 }, + { ICO_RMD_DTA2, LPGEN("Anniversary in 2 days"), SECT_REMIND, IDI_RMD_DTA2, 0 }, + { ICO_RMD_DTA3, LPGEN("Anniversary in 3 days"), SECT_REMIND, IDI_RMD_DTA3, 0 }, + { ICO_RMD_DTA4, LPGEN("Anniversary in 4 days"), SECT_REMIND, IDI_RMD_DTA4, 0 }, + { ICO_RMD_DTA5, LPGEN("Anniversary in 5 days"), SECT_REMIND, IDI_RMD_DTA5, 0 }, + { ICO_RMD_DTA6, LPGEN("Anniversary in 6 days"), SECT_REMIND, IDI_RMD_DTA6, 0 }, + { ICO_RMD_DTA7, LPGEN("Anniversary in 7 days"), SECT_REMIND, IDI_RMD_DTA7, 0 }, + { ICO_RMD_DTA8, LPGEN("Anniversary in 8 days"), SECT_REMIND, IDI_RMD_DTA8, 0 }, + { ICO_RMD_DTA9, LPGEN("Anniversary in 9 days"), SECT_REMIND, IDI_RMD_DTA9, 0 }, + { ICO_RMD_DTAX, LPGEN("Anniversary later"), SECT_REMIND, IDI_RMD_DTAX, 0 }, +}; /** * This function finds the default iconpack file and return its path. diff --git a/plugins/UserInfoEx/src/mir_icolib.h b/plugins/UserInfoEx/src/mir_icolib.h index 9d976676b4..5ec7278b6b 100644 --- a/plugins/UserInfoEx/src/mir_icolib.h +++ b/plugins/UserInfoEx/src/mir_icolib.h @@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "m_icolib.h" // sections -#define SECT_COMMON "UserInfoEx" +#define SECT_COMMON LPGEN("UserInfoEx") #define SECT_ZODIAC "UserInfoEx/Zodiacs" #define SECT_DLG "UserInfoEx/Dialogs" #define SECT_BUTTONS "UserInfoEx/Buttons" diff --git a/protocols/AimOscar/src/theme.cpp b/protocols/AimOscar/src/theme.cpp index e34ac2d9b9..2aeb05fed5 100644 --- a/protocols/AimOscar/src/theme.cpp +++ b/protocols/AimOscar/src/theme.cpp @@ -57,7 +57,7 @@ static IconItem iconList[] = void InitIcons(void) { Icon_Register(hInstance, "Protocols/AIM", iconList, 14, "AIM"); - Icon_Register(hInstance, "Protocols/AIM/Profile Editor", iconList+14, 14, "AIM"); + Icon_Register(hInstance, "Protocols/AIM/"LPGEN("Profile Editor"), iconList+14, 14, "AIM"); } HICON LoadIconEx(const char* name, bool big) -- cgit v1.2.3