diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-30 19:25:25 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-30 19:25:25 +0000 |
commit | d382f92efe8f1598ae8a7d782dea0b5c966c5500 (patch) | |
tree | db9680666515a037671cab6129e33601df6c649c | |
parent | 7f3859bdb550f3e41e06afb18f78fd0e6441464b (diff) |
added missing translations
git-svn-id: http://svn.miranda-ng.org/main/trunk@3370 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/WhenWasIt/src/icons.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/WhenWasIt/src/icons.cpp b/plugins/WhenWasIt/src/icons.cpp index 3e153a2533..aa01db7e71 100644 --- a/plugins/WhenWasIt/src/icons.cpp +++ b/plugins/WhenWasIt/src/icons.cpp @@ -34,7 +34,7 @@ static HANDLE AddIcon(char *name, char *description, TCHAR *tszPath, int iDefaul {
SKINICONDESC sid = { sizeof(sid) };
sid.flags = SIDF_PATH_TCHAR;
- sid.pszSection = "WhenWasIt";
+ sid.pszSection = LPGEN("WhenWasIt");
sid.cx = sid.cy = 16;
sid.pszDescription = description;
sid.pszName = name;
@@ -48,18 +48,18 @@ int AddIcons() TCHAR tszPath[MAX_PATH];
GetModuleFileName(hInstance, tszPath, SIZEOF(tszPath));
- hCheckMenu = AddIcon("MenuCheck", "Check birthdays menu item", tszPath, IDI_CHECK);
- hListMenu = AddIcon("MenuList", "List birthdays menu item", tszPath, IDI_LIST);
- hAddBirthdayContact = AddIcon("AddBirthday", "Add/change birthday", tszPath, IDI_ADD);
- hRefreshUserDetails = AddIcon("RefreshUserDetails", "Refresh user details", tszPath, IDI_REFRESH_USERDETAILS);
+ hCheckMenu = AddIcon("MenuCheck", LPGEN("Check birthdays menu item"), tszPath, IDI_CHECK);
+ hListMenu = AddIcon("MenuList", LPGEN("List birthdays menu item"), tszPath, IDI_LIST);
+ hAddBirthdayContact = AddIcon("AddBirthday", LPGEN("Add/change birthday"), tszPath, IDI_ADD);
+ hRefreshUserDetails = AddIcon("RefreshUserDetails", LPGEN("Refresh user details"), tszPath, IDI_REFRESH_USERDETAILS);
- hImportBirthdays = AddIcon("ImportBirthdays", "Import birthdays", tszPath, IDI_IMPORT_BIRTHDAYS);
- hExportBirthdays = AddIcon("ExportBirthdays", "Export birthdays", tszPath, IDI_EXPORT_BIRTHDAYS);
+ hImportBirthdays = AddIcon("ImportBirthdays", LPGEN("Import birthdays"), tszPath, IDI_IMPORT_BIRTHDAYS);
+ hExportBirthdays = AddIcon("ExportBirthdays", LPGEN("Export birthdays"), tszPath, IDI_EXPORT_BIRTHDAYS);
char name[1024];
char description[1024];
- hDTB[0] = AddIcon("DTB0", "Birthday today", tszPath, IDI_DTB0);
- hDTB[1] = AddIcon("DTB1", "1 day to birthday", tszPath, IDI_DTB1);
+ hDTB[0] = AddIcon("DTB0", LPGEN("Birthday today"), tszPath, IDI_DTB0);
+ hDTB[1] = AddIcon("DTB1", LPGEN("1 day to birthday"), tszPath, IDI_DTB1);
for (int i = 2; i < cDTB; i++) {
sprintf(name, "DTB%d", i);
sprintf(description, "%d days to birthday", i);
@@ -68,7 +68,7 @@ int AddIcons() sprintf(description, "More than %d days to birthday", cDTB - 1);
hDTBMore = AddIcon("DTBMore", description, tszPath, IDI_DTBMORE);
- hWWIExtraIcons = ExtraIcon_Register("WhenWasIt", "WhenWasIt birthday reminder", "MenuCheck");
+ hWWIExtraIcons = ExtraIcon_Register("WhenWasIt", LPGEN("WhenWasIt birthday reminder"), "MenuCheck");
return 0;
}
|