Merge lp:~ttosttos/switchboard/fix-1004294 into lp:~elementary-pantheon/switchboard/switchboard

Proposed by ttosttos
Status: Merged
Merge reported by: Avi Romanoff
Merged at revision: not available
Proposed branch: lp:~ttosttos/switchboard/fix-1004294
Merge into: lp:~elementary-pantheon/switchboard/switchboard
Diff against target: 90 lines (+26/-8)
4 files modified
CMakeLists.txt (+1/-0)
Switchboard/desktop-launcher.vala (+8/-0)
data/switchboard.desktop (+3/-2)
po/switchboard.pot (+14/-6)
To merge this branch: bzr merge lp:~ttosttos/switchboard/fix-1004294
Reviewer Review Type Date Requested Status
Avi Romanoff (community) Approve
Review via email: mp+109076@code.launchpad.net

Description of the change

- Added gettext domain key to switchboard.desktop
- created desktop-launcher.vala to have xgettext automatically add launcher strings to translation template

To post a comment you must log in.
Revision history for this message
Avi Romanoff (aroman) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2012-04-17 07:07:02 +0000
+++ CMakeLists.txt 2012-06-07 06:26:20 +0000
@@ -72,6 +72,7 @@
72 Switchboard/switchboard-app.vala72 Switchboard/switchboard-app.vala
73 Switchboard/switchboard-categoryview.vala73 Switchboard/switchboard-categoryview.vala
74 Switchboard/switchboard-resources.vala74 Switchboard/switchboard-resources.vala
75 Switchboard/desktop-launcher.vala
75PACKAGES76PACKAGES
76 granite77 granite
77 gee-1.078 gee-1.0
7879
=== added file 'Switchboard/desktop-launcher.vala'
--- Switchboard/desktop-launcher.vala 1970-01-01 00:00:00 +0000
+++ Switchboard/desktop-launcher.vala 2012-06-07 06:26:20 +0000
@@ -0,0 +1,8 @@
1namespace DesktopLauncher {
2 /* Translatable launcher (.desktop) strings to be added to */
3 /* template (.pot) file. These strings MUST reflect any */
4 /* changes in these launcher keys in .desktop file. */
5 public const string COMMENT = N_("Change system and user settings");
6 public const string GENERIC_NAME = N_("Settings Center");
7
8}
09
=== modified file 'data/switchboard.desktop'
--- data/switchboard.desktop 2012-01-17 04:13:54 +0000
+++ data/switchboard.desktop 2012-06-07 06:26:20 +0000
@@ -2,9 +2,10 @@
2Type=Application2Type=Application
3Version=0.83Version=0.8
4Name=Switchboard4Name=Switchboard
5_GenericName=Settings Center5GenericName=Settings Center
6_Comment=Change system and user settings6Comment=Change system and user settings
7Exec=switchboard7Exec=switchboard
8Icon=preferences-desktop8Icon=preferences-desktop
9Terminal=false9Terminal=false
10Categories=GTK;Administration;10Categories=GTK;Administration;
11X-GNOME-Gettext-Domain=switchboard
1112
=== modified file 'po/switchboard.pot'
--- po/switchboard.pot 2012-06-05 05:30:28 +0000
+++ po/switchboard.pot 2012-06-07 06:26:20 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2012-06-04 22:26-0700\n"11"POT-Creation-Date: 2012-06-06 23:20-0700\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,22 +17,30 @@
17"Content-Type: text/plain; charset=CHARSET\n"17"Content-Type: text/plain; charset=CHARSET\n"
18"Content-Transfer-Encoding: 8bit\n"18"Content-Transfer-Encoding: 8bit\n"
1919
20#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-989076/po/../Switchboard//switchboard-app.vala:38720#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//desktop-launcher.vala:5
21msgid "Change system and user settings"
22msgstr ""
23
24#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//desktop-launcher.vala:6
25msgid "Settings Center"
26msgstr ""
27
28#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//switchboard-app.vala:387
21msgid "Search Plugs"29msgid "Search Plugs"
22msgstr ""30msgstr ""
2331
24#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-989076/po/../Switchboard//switchboard-categoryview.vala:2932#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//switchboard-categoryview.vala:29
25msgid "Personal"33msgid "Personal"
26msgstr ""34msgstr ""
2735
28#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-989076/po/../Switchboard//switchboard-categoryview.vala:2936#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//switchboard-categoryview.vala:29
29msgid "Hardware"37msgid "Hardware"
30msgstr ""38msgstr ""
3139
32#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-989076/po/../Switchboard//switchboard-categoryview.vala:2940#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//switchboard-categoryview.vala:29
33msgid "Network and Wireless"41msgid "Network and Wireless"
34msgstr ""42msgstr ""
3543
36#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-989076/po/../Switchboard//switchboard-categoryview.vala:2944#: /home/ttosttos/Projects/elementary/Bugs/switchboard-fix-1004294/po/../Switchboard//switchboard-categoryview.vala:29
37msgid "System"45msgid "System"
38msgstr ""46msgstr ""

Subscribers

People subscribed via source and target branches

to all changes: