From 4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 17 Nov 2009 16:47:49 +0100 Subject: Remove markup from translatable strings in ui files GTKBuilder format allows to separate markup from translatable content. Whenever possible, this should be preferred so as there is less content to translate and less error opportunities. --- calendar/gui/dialogs/alarm-dialog.ui | 18 +++++++---- calendar/gui/dialogs/cal-prefs-dialog.ui | 54 ++++++++++++++++++++----------- calendar/gui/dialogs/recurrence-page.ui | 17 +++++++--- calendar/gui/dialogs/task-details-page.ui | 12 ++++--- 4 files changed, 68 insertions(+), 33 deletions(-) (limited to 'calendar') diff --git a/calendar/gui/dialogs/alarm-dialog.ui b/calendar/gui/dialogs/alarm-dialog.ui index 21d04c1a3f..94ae8009c4 100644 --- a/calendar/gui/dialogs/alarm-dialog.ui +++ b/calendar/gui/dialogs/alarm-dialog.ui @@ -148,9 +148,8 @@ True - <b>Alarm</b> + Alarm False - True GTK_JUSTIFY_LEFT False False @@ -162,6 +161,9 @@ -1 False 0 + + + 0 @@ -307,9 +309,8 @@ True - <b>Repeat</b> + Repeat False - True GTK_JUSTIFY_LEFT False False @@ -321,6 +322,9 @@ -1 False 0 + + + 0 @@ -489,9 +493,8 @@ True - <b>Options</b> + Options False - True GTK_JUSTIFY_LEFT False False @@ -503,6 +506,9 @@ -1 False 0 + + + 0 diff --git a/calendar/gui/dialogs/cal-prefs-dialog.ui b/calendar/gui/dialogs/cal-prefs-dialog.ui index 263221793d..be78a8f828 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.ui +++ b/calendar/gui/dialogs/cal-prefs-dialog.ui @@ -136,8 +136,10 @@ True 0 - <span weight="bold">Time</span> - True + Time + + + False @@ -361,8 +363,10 @@ True 0 - <span weight="bold">Work Week</span> - True + Work Week + + + False @@ -682,8 +686,10 @@ True 0 - <span weight="bold">Alerts</span> - True + Alerts + + + False @@ -877,8 +883,10 @@ True 0 - <span weight="bold">General</span> - True + General + + + False @@ -1031,8 +1039,10 @@ True 0 - <span weight="bold">Task List</span> - True + Task List + + + False @@ -1192,9 +1202,8 @@ True - <span weight="bold">Date/Time Format</span> + Date/Time Format False - True GTK_JUSTIFY_LEFT False False @@ -1206,6 +1215,9 @@ -1 False 0 + + + 0 @@ -1284,9 +1296,8 @@ True - <span weight="bold">Alarms</span> + Alarms False - True GTK_JUSTIFY_LEFT False False @@ -1298,6 +1309,9 @@ -1 False 0 + + + 0 @@ -1397,8 +1411,10 @@ True 0 - <span weight="bold">Default Free/Busy Server</span> - True + Default Free/Busy Server + + + False @@ -1456,9 +1472,11 @@ True - <i>%u and %d will be replaced by user and domain from the email address.</i> - True + %u and %d will be replaced by user and domain from the email address. True + + + False diff --git a/calendar/gui/dialogs/recurrence-page.ui b/calendar/gui/dialogs/recurrence-page.ui index f5f9f13524..3d1d9f723c 100644 --- a/calendar/gui/dialogs/recurrence-page.ui +++ b/calendar/gui/dialogs/recurrence-page.ui @@ -67,9 +67,8 @@ True - <b>Recurrence</b> + Recurrence False - True GTK_JUSTIFY_LEFT False False @@ -81,6 +80,9 @@ -1 False 0 + + + 0 @@ -324,9 +326,8 @@ True - <b>Exceptions</b> + Exceptions False - True GTK_JUSTIFY_LEFT False False @@ -338,6 +339,9 @@ -1 False 0 + + + 0 @@ -526,7 +530,7 @@ True - <b>Preview</b> + Preview False True GTK_JUSTIFY_CENTER @@ -540,6 +544,9 @@ -1 False 0 + + + 0 diff --git a/calendar/gui/dialogs/task-details-page.ui b/calendar/gui/dialogs/task-details-page.ui index cd82f1dce0..df6baef653 100644 --- a/calendar/gui/dialogs/task-details-page.ui +++ b/calendar/gui/dialogs/task-details-page.ui @@ -70,9 +70,8 @@ True - <span weight="bold">Status</span> + Status False - True GTK_JUSTIFY_LEFT False False @@ -84,6 +83,9 @@ -1 False 0 + + + 0 @@ -338,9 +340,8 @@ True - <span weight="bold">Miscellaneous</span> + Miscellaneous False - True GTK_JUSTIFY_LEFT False False @@ -352,6 +353,9 @@ -1 False 0 + + + 0 -- cgit