Merge lp:~jbicha/ubuntu-docs/lp969235-ctrl-super-keyboard-shortcuts into lp:ubuntu-docs/precise

Proposed by Jeremy Bícha
Status: Merged
Merged at revision: 124
Proposed branch: lp:~jbicha/ubuntu-docs/lp969235-ctrl-super-keyboard-shortcuts
Merge into: lp:ubuntu-docs/precise
Diff against target: 260 lines (+40/-31)
4 files modified
ubuntu-help/C/keyboard-nav.page (+4/-4)
ubuntu-help/C/shell-keyboard-shortcuts.page (+3/-3)
ubuntu-help/C/windows-key.page (+7/-7)
ubuntu-help/ubuntu-help.pot (+26/-17)
To merge this branch: bzr merge lp:~jbicha/ubuntu-docs/lp969235-ctrl-super-keyboard-shortcuts
Reviewer Review Type Date Requested Status
Ubuntu Documentation Committers Pending
Review via email: mp+100546@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Planella (dpm) wrote :

Sounds sensible to me. However, that will break quite a lot of existing translations. In order to avoid it, if you apply this change, could you please:

1. Apply the s/Meta/Super/g substitution to the .pot file and all the .po files in the precise-translations docs branch [1] (both in the msgid and msgstr fields)
2. Merge the precise-translations branch with trunk (*), so that Launchpad can import the new translations

Let me know if we can help with any of this.

Cheers,
David.

(*) I've noticed Launchpad changes the directory layout on the precise-translations branch to be a flat listing of PO files, which means the merge probably won't work. Then I'd simply suggest fetching the files from the branch, putting them in the right place in the trunk branch and committing.

[1] https://code.launchpad.net/~ubuntu-core-doc/ubuntu-docs/precise-translations

Revision history for this message
Matthew East (mdke) wrote :

Hi,

On 3 April 2012 07:17, David Planella <email address hidden> wrote:
> Sounds sensible to me. However, that will break quite a lot of existing translations. In order to avoid it, if you apply this change, could you please:
>
> 1. Apply the s/Meta/Super/g substitution to the .pot file and all the .po files in the precise-translations docs branch [1] (both in the msgid and msgstr fields)

Wouldn't this cause problems for languages where "Super" gets
translated? I would have thought it would because the new strings
might not be reviewed by translators.

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

Revision history for this message
Matthew East (mdke) wrote :

On 3 April 2012 03:10, Jeremy Bicha <email address hidden> wrote:
> Jeremy Bicha has proposed merging lp:~jbicha/ubuntu-docs/lp969235-ctrl-super-keyboard-shortcuts into lp:ubuntu-docs.

Small comment on the merge proposal itself - I think it leaves one
reference to "Meta" in unity-dash-intro.page.

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thanks Matthew for catching the remaining meta in unity-dash-intro.

Merging the translations was a pain as I didn't trust sed in this case.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntu-help/C/keyboard-nav.page'
--- ubuntu-help/C/keyboard-nav.page 2012-03-26 04:04:57 +0000
+++ ubuntu-help/C/keyboard-nav.page 2012-04-03 03:09:19 +0000
@@ -149,7 +149,7 @@
149 <td><p>Close the current window.</p></td>149 <td><p>Close the current window.</p></td>
150 </tr>150 </tr>
151 <tr>151 <tr>
152 <td><p><keyseq><key xref="windows-key">Meta</key><key>&#8595;</key></keyseq></p></td>152 <td><p><keyseq><key>Ctrl</key><key xref="windows-key">Super</key><key>&#8595;</key></keyseq></p></td>
153 <td><p>Restore a maximized window to its original size.</p></td>153 <td><p>Restore a maximized window to its original size.</p></td>
154 </tr>154 </tr>
155 <tr>155 <tr>
@@ -168,16 +168,16 @@
168 href="shell-keyboard-shortcuts.page"168 href="shell-keyboard-shortcuts.page"
169 xpointer="ctrl-alt-shift-updown"/>169 xpointer="ctrl-alt-shift-updown"/>
170 <tr>170 <tr>
171 <td><p><keyseq><key xref="windows-key">Meta</key><key>&#8593;</key></keyseq></p></td>171 <td><p><keyseq><key>Ctrl</key><key xref="windows-key">Super</key><key>&#8593;</key></keyseq></p></td>
172 <td><p><link xref="shell-windows-maximize">Maximize</link> a window.</p></td>172 <td><p><link xref="shell-windows-maximize">Maximize</link> a window.</p></td>
173 </tr>173 </tr>
174 <tr>174 <tr>
175 <td><p><keyseq><key xref="windows-key">Meta</key><key>&#8592;</key></keyseq></p></td>175 <td><p><keyseq><key>Ctrl</key><key xref="windows-key">Super</key><key>&#8592;</key></keyseq></p></td>
176 <td><p>Maximize a window vertically along the left side of the screen.176 <td><p>Maximize a window vertically along the left side of the screen.
177 </p></td>177 </p></td>
178 </tr>178 </tr>
179 <tr>179 <tr>
180 <td><p><keyseq><key xref="windows-key">Meta</key><key>&#8594;</key></keyseq></p></td>180 <td><p><keyseq><key>Ctrl</key><key xref="windows-key">Super</key><key>&#8594;</key></keyseq></p></td>
181 <td><p>Maximize a window vertically along the right side of the screen.181 <td><p>Maximize a window vertically along the right side of the screen.
182 </p></td>182 </p></td>
183 </tr>183 </tr>
184184
=== modified file 'ubuntu-help/C/shell-keyboard-shortcuts.page'
--- ubuntu-help/C/shell-keyboard-shortcuts.page 2012-03-26 04:04:57 +0000
+++ ubuntu-help/C/shell-keyboard-shortcuts.page 2012-04-03 03:09:19 +0000
@@ -49,11 +49,11 @@
49 <key>Alt</key> plus whatever key is above <key>Tab</key>.</p></td>49 <key>Alt</key> plus whatever key is above <key>Tab</key>.</p></td>
50 </tr>50 </tr>
51 <tr>51 <tr>
52 <td><p><keyseq><key xref="windows-key">Meta</key><key>S</key></keyseq></p></td>52 <td><p><keyseq><key xref="windows-key">Super</key><key>S</key></keyseq></p></td>
53 <td><p>Activate the workspace switcher. Zoom out on all <link xref="shell-workspaces">workspaces</link>.</p></td>53 <td><p>Activate the workspace switcher. Zoom out on all <link xref="shell-workspaces">workspaces</link>.</p></td>
54 </tr>54 </tr>
55 <tr>55 <tr>
56 <td><p><keyseq><key xref="windows-key">Meta</key><key>W</key></keyseq></p></td>56 <td><p><keyseq><key xref="windows-key">Super</key><key>W</key></keyseq></p></td>
57 <td><p>Activate "Expo" mode. Show all windows from current workspace.</p></td>57 <td><p>Activate "Expo" mode. Show all windows from current workspace.</p></td>
58 </tr>58 </tr>
59 <tr>59 <tr>
@@ -75,7 +75,7 @@
75 <td><p><link xref="shell-exit">Log out.</link></p></td>75 <td><p><link xref="shell-exit">Log out.</link></p></td>
76 </tr>76 </tr>
77 <tr>77 <tr>
78 <td><p><keyseq><key>Ctrl</key><key>Alt</key><key>D</key></keyseq></p></td>78 <td><p><keyseq><key>Ctrl</key><key xref="windows-key">Super</key><key>D</key></keyseq></p></td>
79 <td><p>Hide all windows and show the desktop. Press the keys again to restore your windows.</p></td>79 <td><p>Hide all windows and show the desktop. Press the keys again to restore your windows.</p></td>
80 </tr>80 </tr>
81 <tr xml:id="ctrl-alt-l">81 <tr xml:id="ctrl-alt-l">
8282
=== modified file 'ubuntu-help/C/windows-key.page'
--- ubuntu-help/C/windows-key.page 2012-03-25 22:51:13 +0000
+++ ubuntu-help/C/windows-key.page 2012-04-03 03:09:19 +0000
@@ -3,7 +3,7 @@
3 id="windows-key">3 id="windows-key">
44
5 <info>5 <info>
6 <desc>The meta key provides access to the Dash and the Launcher. You can usually find it6 <desc>The Super key provides access to the Dash and the Launcher. You can usually find it
7 next to the <key>Alt</key> key on your keyboard.</desc>7 next to the <key>Alt</key> key on your keyboard.</desc>
8 <revision version="12.04" date="2012-03-22" status="outdated"/>8 <revision version="12.04" date="2012-03-22" status="outdated"/>
9 <credit type="author">9 <credit type="author">
@@ -14,22 +14,22 @@
14 <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>14 <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
15 </info>15 </info>
1616
17<title>What is the "meta" key?</title>17<title>What is the "Super" key?</title>
1818
19 <p>This key can usually be found on the bottom-left of your keyboard,19 <p>This key can usually be found on the bottom-left of your keyboard,
20 next to the <key>Alt</key> key, and usually has a window/squares icon on it. It20 next to the <key>Alt</key> key, and usually has a window/squares icon on it. It
21 is sometimes called the super key, logo key, or system key.</p>21 is sometimes called the Windows key, logo key, or system key.</p>
2222
23<note>23<note>
24 <p>If you have an Apple keyboard, there will not be a Windows key on your24 <p>If you have an Apple keyboard, there will not be a Windows key on your
25 keyboard. The <key>Cmd</key> (Command) key can be used instead.</p>25 keyboard. The <key>Cmd</key> (Command) key can be used instead.</p>
26</note>26</note>
2727
28 <p>The meta key serves a special function in <em>Unity</em>. If you press the meta key,28 <p>The Super key serves a special function in <em>Unity</em>. If you press the Super key,
29 the Dash is displayed. If you press <em>and hold</em> the meta key, an overlay showing29 the Dash is displayed. If you press <em>and hold</em> the Super key, an overlay showing
30 many of Unity's keyboard shortcuts appears until you release the meta key.</p>30 many of Unity's keyboard shortcuts appears until you release the Super key.</p>
3131
32<p>The meta key can help you do even more than that, though. To learn about more uses for the <em>meta</em> key, see the <link xref="shell-keyboard-shortcuts">keyboard shortcuts</link> page.</p>32<p>The Super key can help you do even more than that, though. To learn about more uses for the <em>Super</em> key, see the <link xref="shell-keyboard-shortcuts">keyboard shortcuts</link> page.</p>
3333
34<comment>34<comment>
35 <p>Need to add info on changing the keybinding using the new preferences35 <p>Need to add info on changing the keybinding using the new preferences
3636
=== modified file 'ubuntu-help/ubuntu-help.pot'
--- ubuntu-help/ubuntu-help.pot 2012-03-29 18:32:34 +0000
+++ ubuntu-help/ubuntu-help.pot 2012-04-03 03:09:19 +0000
@@ -1,7 +1,7 @@
1msgid ""1msgid ""
2msgstr ""2msgstr ""
3"Project-Id-Version: PACKAGE VERSION\n"3"Project-Id-Version: PACKAGE VERSION\n"
4"POT-Creation-Date: 2012-03-29 14:32-0400\n"4"POT-Creation-Date: 2012-04-02 23:05-0400\n"
5"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"5"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
6"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"6"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7"Language-Team: LANGUAGE <LL@li.org>\n"7"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -4305,7 +4305,7 @@
4305msgstr ""4305msgstr ""
43064306
4307#: C/keyboard-nav.page:152(td/p)4307#: C/keyboard-nav.page:152(td/p)
4308msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>↓</key></keyseq>"4308msgid "<keyseq><key>Ctrl</key><key xref=\"windows-key\">Super</key><key>↓</key></keyseq>"
4309msgstr ""4309msgstr ""
43104310
4311#: C/keyboard-nav.page:153(td/p)4311#: C/keyboard-nav.page:153(td/p)
@@ -4329,7 +4329,7 @@
4329msgstr ""4329msgstr ""
43304330
4331#: C/keyboard-nav.page:171(td/p)4331#: C/keyboard-nav.page:171(td/p)
4332msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>↑</key></keyseq>"4332msgid "<keyseq><key>Ctrl</key><key xref=\"windows-key\">Super</key><key>↑</key></keyseq>"
4333msgstr ""4333msgstr ""
43344334
4335#: C/keyboard-nav.page:172(td/p)4335#: C/keyboard-nav.page:172(td/p)
@@ -4337,7 +4337,7 @@
4337msgstr ""4337msgstr ""
43384338
4339#: C/keyboard-nav.page:175(td/p)4339#: C/keyboard-nav.page:175(td/p)
4340msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>←</key></keyseq>"4340msgid "<keyseq><key>Ctrl</key><key xref=\"windows-key\">Super</key><key>←</key></keyseq>"
4341msgstr ""4341msgstr ""
43424342
4343#: C/keyboard-nav.page:176(td/p)4343#: C/keyboard-nav.page:176(td/p)
@@ -4345,7 +4345,7 @@
4345msgstr ""4345msgstr ""
43464346
4347#: C/keyboard-nav.page:180(td/p)4347#: C/keyboard-nav.page:180(td/p)
4348msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>→</key></keyseq>"4348msgid "<keyseq><key>Ctrl</key><key xref=\"windows-key\">Super</key><key>→</key></keyseq>"
4349msgstr ""4349msgstr ""
43504350
4351#: C/keyboard-nav.page:181(td/p)4351#: C/keyboard-nav.page:181(td/p)
@@ -9468,7 +9468,7 @@
9468msgstr ""9468msgstr ""
94699469
9470#: C/shell-keyboard-shortcuts.page:52(td/p)9470#: C/shell-keyboard-shortcuts.page:52(td/p)
9471msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>S</key></keyseq>"9471msgid "<keyseq><key xref=\"windows-key\">Super</key><key>S</key></keyseq>"
9472msgstr ""9472msgstr ""
94739473
9474#: C/shell-keyboard-shortcuts.page:53(td/p)9474#: C/shell-keyboard-shortcuts.page:53(td/p)
@@ -9476,7 +9476,7 @@
9476msgstr ""9476msgstr ""
94779477
9478#: C/shell-keyboard-shortcuts.page:56(td/p)9478#: C/shell-keyboard-shortcuts.page:56(td/p)
9479msgid "<keyseq><key xref=\"windows-key\">Meta</key><key>W</key></keyseq>"9479msgid "<keyseq><key xref=\"windows-key\">Super</key><key>W</key></keyseq>"
9480msgstr ""9480msgstr ""
94819481
9482#: C/shell-keyboard-shortcuts.page:57(td/p)9482#: C/shell-keyboard-shortcuts.page:57(td/p)
@@ -9513,7 +9513,7 @@
9513msgstr ""9513msgstr ""
95149514
9515#: C/shell-keyboard-shortcuts.page:78(td/p)9515#: C/shell-keyboard-shortcuts.page:78(td/p)
9516msgid "<keyseq><key>Ctrl</key><key>Alt</key><key>D</key></keyseq>"9516msgid "<keyseq><key>Ctrl</key><key xref=\"windows-key\">Super</key><key>D</key></keyseq>"
9517msgstr ""9517msgstr ""
95189518
9519#: C/shell-keyboard-shortcuts.page:79(td/p)9519#: C/shell-keyboard-shortcuts.page:79(td/p)
@@ -9912,7 +9912,7 @@
9912#. whatever you like once you have updated your copy of the file.9912#. whatever you like once you have updated your copy of the file.
9913#: C/shell-workspaces.page:26(media)9913#: C/shell-workspaces.page:26(media)
9914msgctxt "_"9914msgctxt "_"
9915msgid "external ref='figures/unity-workspace-intro.png' md5='2e45c34b1367c077c28b50a6818cb8d0'"9915msgid "external ref='figures/unity-workspace-intro.png' md5='b371b822f44d16c540123e27c0892a4b'"
9916msgstr ""9916msgstr ""
99179917
9918#: C/shell-workspaces.page:9(info/desc)9918#: C/shell-workspaces.page:9(info/desc)
@@ -9963,6 +9963,15 @@
9963msgid "<code>gconftool-2 --type=int --set /apps/compiz-1/general/screen0/options/hsize 2</code>"9963msgid "<code>gconftool-2 --type=int --set /apps/compiz-1/general/screen0/options/hsize 2</code>"
9964msgstr ""9964msgstr ""
99659965
9966#. This is a reference to an external file such as an image or video. When
9967#. the file changes, the md5 hash will change to let you know you need to
9968#. update your localized copy. The msgstr is not used at all. Set it to
9969#. whatever you like once you have updated your copy of the file.
9970#: C/shell-workspaces-switch.page:57(media)
9971msgctxt "_"
9972msgid "external ref='figures/unity-windows.png' md5='1f4310e19424bbac96962bb802cb349d'"
9973msgstr ""
9974
9966#: C/shell-workspaces-switch.page:11(info/desc)9975#: C/shell-workspaces-switch.page:11(info/desc)
9967msgid "Open the workspace switcher and double-click one of the workspaces."9976msgid "Open the workspace switcher and double-click one of the workspaces."
9968msgstr ""9977msgstr ""
@@ -10534,7 +10543,7 @@
10534#. whatever you like once you have updated your copy of the file.10543#. whatever you like once you have updated your copy of the file.
10535#: C/unity-dash-intro.page:17(media)10544#: C/unity-dash-intro.page:17(media)
10536msgctxt "_"10545msgctxt "_"
10537msgid "external ref='figures/unity-dash-sample.png' md5='a3f10896a2361c701619491d9aa35f24'"10546msgid "external ref='figures/unity-dash-sample.png' md5='e779fe310080ec1dc99a326f7ad91ceb'"
10538msgstr ""10547msgstr ""
1053910548
10540#: C/unity-dash-intro.page:14(page/title)10549#: C/unity-dash-intro.page:14(page/title)
@@ -10655,7 +10664,7 @@
10655#. whatever you like once you have updated your copy of the file.10664#. whatever you like once you have updated your copy of the file.
10656#: C/unity-introduction.page:37(media)10665#: C/unity-introduction.page:37(media)
10657msgctxt "_"10666msgctxt "_"
10658msgid "external ref='figures/unity-overview.png' md5='3a766ca229b4db7d710d27c2341a9f89'"10667msgid "external ref='figures/unity-overview.png' md5='12ec9c818be891db69394b6d52cb09af'"
10659msgstr ""10668msgstr ""
1066010669
10661#. This is a reference to an external file such as an image or video. When10670#. This is a reference to an external file such as an image or video. When
@@ -10673,7 +10682,7 @@
10673#. whatever you like once you have updated your copy of the file.10682#. whatever you like once you have updated your copy of the file.
10674#: C/unity-introduction.page:69(media)10683#: C/unity-introduction.page:69(media)
10675msgctxt "_"10684msgctxt "_"
10676msgid "external ref='figures/unity-dash.png' md5='f65b19b259c742a7440ea43ba2a03113'"10685msgid "external ref='figures/unity-dash.png' md5='c1ec5f3efb8eef2ae6f9cb8a1154bda2'"
10677msgstr ""10686msgstr ""
1067810687
10679#: C/unity-introduction.page:9(info/desc)10688#: C/unity-introduction.page:9(info/desc)
@@ -11564,15 +11573,15 @@
11564msgstr ""11573msgstr ""
1156511574
11566#: C/windows-key.page:6(info/desc)11575#: C/windows-key.page:6(info/desc)
11567msgid "The meta key provides access to the Dash and the Launcher. You can usually find it next to the <key>Alt</key> key on your keyboard."11576msgid "The Super key provides access to the Dash and the Launcher. You can usually find it next to the <key>Alt</key> key on your keyboard."
11568msgstr ""11577msgstr ""
1156911578
11570#: C/windows-key.page:17(page/title)11579#: C/windows-key.page:17(page/title)
11571msgid "What is the \"meta\" key?"11580msgid "What is the \"Super\" key?"
11572msgstr ""11581msgstr ""
1157311582
11574#: C/windows-key.page:19(page/p)11583#: C/windows-key.page:19(page/p)
11575msgid "This key can usually be found on the bottom-left of your keyboard, next to the <key>Alt</key> key, and usually has a window/squares icon on it. It is sometimes called the super key, logo key, or system key."11584msgid "This key can usually be found on the bottom-left of your keyboard, next to the <key>Alt</key> key, and usually has a window/squares icon on it. It is sometimes called the Windows key, logo key, or system key."
11576msgstr ""11585msgstr ""
1157711586
11578#: C/windows-key.page:24(note/p)11587#: C/windows-key.page:24(note/p)
@@ -11580,10 +11589,10 @@
11580msgstr ""11589msgstr ""
1158111590
11582#: C/windows-key.page:28(page/p)11591#: C/windows-key.page:28(page/p)
11583msgid "The meta key serves a special function in <em>Unity</em>. If you press the meta key, the Dash is displayed. If you press <em>and hold</em> the meta key, an overlay showing many of Unity's keyboard shortcuts appears until you release the meta key."11592msgid "The Super key serves a special function in <em>Unity</em>. If you press the Super key, the Dash is displayed. If you press <em>and hold</em> the Super key, an overlay showing many of Unity's keyboard shortcuts appears until you release the Super key."
11584msgstr ""11593msgstr ""
1158511594
11586#: C/windows-key.page:32(page/p)11595#: C/windows-key.page:32(page/p)
11587msgid "The meta key can help you do even more than that, though. To learn about more uses for the <em>meta</em> key, see the <link xref=\"shell-keyboard-shortcuts\">keyboard shortcuts</link> page."11596msgid "The Super key can help you do even more than that, though. To learn about more uses for the <em>Super</em> key, see the <link xref=\"shell-keyboard-shortcuts\">keyboard shortcuts</link> page."
11588msgstr ""11597msgstr ""
1158911598

Subscribers

People subscribed via source and target branches