@@ -67,17 +67,17 @@ Item {
6767 id: logoutDialog
6868 Dialog {
6969 id: dialogueLogout
70− title: "Logout"
71− text: "Are you sure that you want to logout?"
70+ title: i18n.tr("Logout")
71+ text: i18n.tr("Are you sure that you want to logout?")
7272 Button {
73− text: "Cancel"
73+ text: i18n.tr("Cancel")
7474 onClicked: {
7575 PopupUtils.close(dialogueLogout);
7676 d.dialogShown = false;
7777 }
7878 }
7979 Button {
80− text: "Yes"
80+ text: i18n.tr("Yes")
8181 onClicked: {
8282 DBusUnitySessionService.Logout();
8383 PopupUtils.close(dialogueLogout);
@@ -91,17 +91,17 @@ Item {
9191 id: shutdownDialog
9292 Dialog {
9393 id: dialogueShutdown
94− title: "Shutdown"
95− text: "Are you sure that you want to shutdown?"
94+ title: i18n.tr("Shutdown")
95+ text: i18n.tr("Are you sure that you want to shutdown?")
9696 Button {
97− text: "Cancel"
97+ text: i18n.tr("Cancel")
9898 onClicked: {
9999 PopupUtils.close(dialogueShutdown);
100100 d.dialogShown = false;
101101 }
102102 }
103103 Button {
104− text: "Yes"
104+ text: i18n.tr("Yes")
105105 onClicked: {
106106 dBusUnitySessionServiceConnection.closeAllApps();
107107 DBusUnitySessionService.Shutdown();
@@ -116,17 +116,17 @@ Item {
116116 id: rebootDialog
117117 Dialog {
118118 id: dialogueReboot
119− title: "Reboot"
120− text: "Are you sure that you want to reboot?"
119+ title: i18n.tr("Reboot")
120+ text: i18n.tr("Are you sure that you want to reboot?")
121121 Button {
122− text: "Cancel"
122+ text: i18n.tr("Cancel")
123123 onClicked: {
124124 PopupUtils.close(dialogueReboot)
125125 d.dialogShown = false;
126126 }
127127 }
128128 Button {
129− text: "Yes"
129+ text: i18n.tr("Yes")
130130 onClicked: {
131131 dBusUnitySessionServiceConnection.closeAllApps();
132132 DBusUnitySessionService.Reboot();
@@ -141,7 +141,7 @@ Item {
141141 id: powerDialog
142142 Dialog {
143143 id: dialoguePower
144− title: "Power"
144+ title: i18n.tr("Power")
145145 text: i18n.tr("Are you sure you would like to turn power off?")
146146 Button {
147147 text: i18n.tr("Power off")