! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
battery-indicator-plugin: Untranslatable string
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Masato Hashimoto 2014-05-28 11:32:36 CEST
There is an untranslatable string in battery-indicator-plugin:

diff --git a/panel-plugins/battery/battery-button.c b/panel-plugins/battery/batt
index 9414476..894f4ed 100644
--- a/panel-plugins/battery/battery-button.c
+++ b/panel-plugins/battery/battery-button.c
@@ -672,7 +672,7 @@ battery_button_show_menu (BatteryButton *button)
                            G_TYPE_BOOLEAN, G_OBJECT(mi), "active");
 
     /* Preferences option */
-    mi = gtk_menu_item_new_with_mnemonic ("_Preferences...");
+    mi = gtk_menu_item_new_with_mnemonic (_("_Preferences..."));
     gtk_widget_show(mi);
     gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi);
     g_signal_connect(G_OBJECT(mi), "activate", G_CALLBACK(xfpm_preferences), NU

Version: git-master

Build & platform:
Build 2014-05-28 on ArchLinux
Comment 1 Eric Koegel editbugs 2014-05-28 15:33:35 CEST
Thanks for the heads up. I gave you credit for the patch since you did all the work! Pushed to master in: http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=092a3ef69fb9cc4f955db601658efba048cb7c6d

Bug #10917

Reported by:
Masato Hashimoto
Reported on: 2014-05-28
Last modified on: 2014-05-28

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information