| 14 static PurplePluginPrefFrame * |
14 static PurplePluginPrefFrame * |
| 15 get_plugin_pref_frame(PurplePlugin *plugin) |
15 get_plugin_pref_frame(PurplePlugin *plugin) |
| 16 { |
16 { |
| 17 PurplePluginPrefFrame *frame; |
17 PurplePluginPrefFrame *frame; |
| 18 PurplePluginPref *ppref; |
18 PurplePluginPref *ppref; |
| |
19 char *tmp; |
| 19 |
20 |
| 20 frame = purple_plugin_pref_frame_new(); |
21 frame = purple_plugin_pref_frame_new(); |
| 21 |
22 |
| 22 ppref = purple_plugin_pref_new_with_label(_("Timestamp Format Options")); |
23 ppref = purple_plugin_pref_new_with_label(_("Timestamp Format Options")); |
| 23 purple_plugin_pref_frame_add(frame, ppref); |
24 purple_plugin_pref_frame_add(frame, ppref); |
| 24 |
25 |
| |
26 tmp = g_strdup_printf(_("_Force (traditional %s) 24-hour time format"), PIDGIN_NAME); |
| 25 ppref = purple_plugin_pref_new_with_name_and_label( |
27 ppref = purple_plugin_pref_new_with_name_and_label( |
| 26 "/plugins/gtk/timestamp_format/force_24hr", |
28 "/plugins/gtk/timestamp_format/force_24hr", |
| 27 _("_Force (traditional " PIDGIN_NAME ") 24-hour time format")); |
29 tmp); |
| 28 purple_plugin_pref_frame_add(frame, ppref); |
30 purple_plugin_pref_frame_add(frame, ppref); |
| |
31 g_free(tmp); |
| 29 |
32 |
| 30 ppref = purple_plugin_pref_new_with_label(_("Show dates in...")); |
33 ppref = purple_plugin_pref_new_with_label(_("Show dates in...")); |
| 31 purple_plugin_pref_frame_add(frame, ppref); |
34 purple_plugin_pref_frame_add(frame, ppref); |
| 32 |
35 |
| 33 ppref = purple_plugin_pref_new_with_name_and_label( |
36 ppref = purple_plugin_pref_new_with_name_and_label( |