diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-05 12:35:42 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-05 12:35:42 +0300 |
commit | 52954be7cb6c0e7e5acab47077001d33baaadc64 (patch) | |
tree | 017a31154dbb63b36770d95e616c07cdcb77a0a6 /plugins/Popup/src | |
parent | 89f633a092a3da2f0210aa62b160fd82cb05a0fb (diff) |
Popup+: minus one crutch in translations
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r-- | plugins/Popup/src/notifications.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp index 6c013c817d..84a0119de2 100644 --- a/plugins/Popup/src/notifications.cpp +++ b/plugins/Popup/src/notifications.cpp @@ -190,7 +190,7 @@ HANDLE RegisterNotification(POPUPNOTIFICATION *notification) fontid.deffontsettings.size = -11;
mir_strncpy(fontid.deffontsettings.szFace, "MS Shell Dlg", _countof(fontid.deffontsettings.szFace));
fontid.deffontsettings.style = 0;
- mir_snprintf(fontid.name, "%s (colors only)", notification->lpzName);
+ mir_snprintf(fontid.name, LPGEN("%s (colors only)"), notification->lpzName);
mir_snprintf(fontid.setting, "{%s/%s}text", notification->lpzGroup, notification->lpzName);
fontid.deffontsettings.style = 0;
g_plugin.addFont(&fontid);
@@ -198,7 +198,7 @@ HANDLE RegisterNotification(POPUPNOTIFICATION *notification) ColourID colourid = {};
mir_snprintf(colourid.group, PU_FNT_AND_COLOR"/%s", notification->lpzGroup);
mir_strcpy(colourid.dbSettingsGroup, "PopupNotifications");
- mir_snprintf(colourid.name, "%s (colors only)", notification->lpzName);
+ mir_snprintf(colourid.name, LPGEN("%s (colors only)"), notification->lpzName);
mir_snprintf(colourid.setting, "{%s/%s}backColor", notification->lpzGroup, notification->lpzName);
colourid.defcolour = ptd->notification.colorBack;
g_plugin.addColor(&colourid);
|