Merge lp:~larryprice/acolyterm/avoid-automatic-translations into lp:acolyterm

Proposed by Larry Price
Status: Merged
Approved by: Christopher Townsend
Approved revision: 227
Merged at revision: 216
Proposed branch: lp:~larryprice/acolyterm/avoid-automatic-translations
Merge into: lp:acolyterm
Prerequisite: lp:~larryprice/acolyterm/no-desktop-file
Diff against target: 354 lines (+24/-307)
3 files modified
debian/rules (+3/-0)
po/CMakeLists.txt (+21/-20)
po/com.ubuntu.terminal.pot (+0/-287)
To merge this branch: bzr merge lp:~larryprice/acolyterm/avoid-automatic-translations
Reviewer Review Type Date Requested Status
Christopher Townsend Approve
Libertine CI Bot continuous-integration Approve
Review via email: mp+298660@code.launchpad.net

Commit message

Avoid automatic translations during development builds.

Description of the change

Avoid automatic translations during development builds.

To post a comment you must log in.
227. By Larry Price

merge

Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

PASSED: Continuous integration, rev:226
https://jenkins.canonical.com/libertine/job/lp-acolyterm-ci/33/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/libertine/job/build/130
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=vivid+overlay,testname=default/92
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=default/92
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=yakkety,testname=default/92
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=vivid+overlay,testname=default/92
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=xenial+overlay,testname=default/92
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=yakkety,testname=default/92
    None: https://jenkins.canonical.com/libertine/job/lp-generic-update-mp/106/console
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-0-fetch/133
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=vivid+overlay/118
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=xenial+overlay/118
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=yakkety/118
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=vivid+overlay/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=vivid+overlay/111/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=xenial+overlay/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=xenial+overlay/111/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=yakkety/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=yakkety/111/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=vivid+overlay/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=vivid+overlay/111/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=xenial+overlay/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=xenial+overlay/111/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=yakkety/111
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=yakkety/111/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/libertine/job/lp-acolyterm-ci/33/rebuild

review: Approve (continuous-integration)
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

PASSED: Continuous integration, rev:227
https://jenkins.canonical.com/libertine/job/lp-acolyterm-ci/36/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/libertine/job/build/133
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=vivid+overlay,testname=default/94
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=default/94
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=amd64,release=yakkety,testname=default/94
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=vivid+overlay,testname=default/94
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=xenial+overlay,testname=default/94
    SUCCESS: https://jenkins.canonical.com/libertine/job/test-0-autopkgtest/label=i386,release=yakkety,testname=default/94
    None: https://jenkins.canonical.com/libertine/job/lp-generic-update-mp/109/console
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-0-fetch/136
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=vivid+overlay/121
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=xenial+overlay/121
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-1-sourcepkg/release=yakkety/121
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=vivid+overlay/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=vivid+overlay/114/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=xenial+overlay/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=xenial+overlay/114/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=yakkety/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=amd64,release=yakkety/114/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=vivid+overlay/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=vivid+overlay/114/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=xenial+overlay/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=xenial+overlay/114/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=yakkety/114
        deb: https://jenkins.canonical.com/libertine/job/build-2-binpkg/arch=i386,release=yakkety/114/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/libertine/job/lp-acolyterm-ci/36/rebuild

review: Approve (continuous-integration)
Revision history for this message
Christopher Townsend (townsend) wrote :

Ok

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2016-06-22 17:13:26 +0000
3+++ debian/rules 2016-06-29 15:02:39 +0000
4@@ -11,3 +11,6 @@
5
6 override_dh_auto_configure:
7 dh_auto_configure -- -DCLICK_MODE=OFF
8+
9+override_dh_auto_build:
10+ dh_auto_build -- all translations
11
12=== modified file 'po/CMakeLists.txt'
13--- po/CMakeLists.txt 2014-10-25 04:42:31 +0000
14+++ po/CMakeLists.txt 2016-06-29 15:02:39 +0000
15@@ -5,26 +5,27 @@
16 set(POT_FILE ${DOMAIN}.pot)
17 file(GLOB PO_FILES *.po)
18
19-add_custom_target(${POT_FILE} ALL
20- COMMENT "Generating translation template..."
21- COMMAND ${INTLTOOL_EXTRACT} --update --type=gettext/ini
22- --srcdir=${CMAKE_SOURCE_DIR} ${DESKTOP_FILE}.in.in
23- COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -o ${POT_FILE}
24- -D ${CMAKE_CURRENT_SOURCE_DIR}
25- -D ${CMAKE_CURRENT_BINARY_DIR}
26- --from-code=UTF-8
27- --c++ --qt --add-comments=TRANSLATORS
28- --keyword=tr --keyword=tr:1,2 --keyword=N_
29- --package-name='${PROJECT}'
30- --copyright-holder='Canonical Ltd.'
31- ${I18N_SRC_FILES}
32- COMMAND ${CMAKE_COMMAND} -E copy ${POT_FILE} ${CMAKE_CURRENT_SOURCE_DIR})
33+add_custom_target(translations
34+ COMMENT "Generating translation template..."
35+ COMMAND ${INTLTOOL_EXTRACT} --update --type=gettext/ini
36+ --srcdir=${CMAKE_SOURCE_DIR} ${DESKTOP_FILE}.in.in
37+ COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -o ${POT_FILE}
38+ -D ${CMAKE_CURRENT_SOURCE_DIR}
39+ -D ${CMAKE_CURRENT_BINARY_DIR}
40+ --from-code=UTF-8
41+ --c++ --qt --add-comments=TRANSLATORS
42+ --keyword=tr --keyword=tr:1,2 --keyword=N_
43+ --package-name='${PROJECT}'
44+ --copyright-holder='Canonical Ltd.'
45+ ${I18N_SRC_FILES}
46+ COMMAND ${CMAKE_COMMAND} -E copy ${POT_FILE} ${CMAKE_CURRENT_SOURCE_DIR}
47+ DEPENDS pofiles)
48
49 foreach(PO_FILE ${PO_FILES})
50- get_filename_component(LANG ${PO_FILE} NAME_WE)
51- gettext_process_po_files(${LANG} ALL PO_FILES ${PO_FILE})
52- set(INSTALL_DIR ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES)
53- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG}.gmo
54- DESTINATION ${INSTALL_DIR}
55- RENAME ${DOMAIN}.mo)
56+ get_filename_component(LANG ${PO_FILE} NAME_WE)
57+ gettext_process_po_files(${LANG} PO_FILES ${PO_FILE})
58+ set(INSTALL_DIR ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES)
59+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG}.gmo
60+ DESTINATION ${INSTALL_DIR}
61+ RENAME ${DOMAIN}.mo)
62 endforeach(PO_FILE)
63
64=== removed file 'po/com.ubuntu.terminal.pot'
65--- po/com.ubuntu.terminal.pot 2016-03-07 21:17:56 +0000
66+++ po/com.ubuntu.terminal.pot 1970-01-01 00:00:00 +0000
67@@ -1,287 +0,0 @@
68-# SOME DESCRIPTIVE TITLE.
69-# Copyright (C) YEAR Canonical Ltd.
70-# This file is distributed under the same license as the PACKAGE package.
71-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
72-#
73-#, fuzzy
74-msgid ""
75-msgstr ""
76-"Project-Id-Version: \n"
77-"Report-Msgid-Bugs-To: \n"
78-"POT-Creation-Date: 2016-02-07 19:27+0100\n"
79-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
80-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
81-"Language-Team: LANGUAGE <LL@li.org>\n"
82-"Language: \n"
83-"MIME-Version: 1.0\n"
84-"Content-Type: text/plain; charset=CHARSET\n"
85-"Content-Transfer-Encoding: 8bit\n"
86-
87-#: ../src/app/qml/AlternateActionPopover.qml:13
88-msgid "Select"
89-msgstr ""
90-
91-#: ../src/app/qml/AlternateActionPopover.qml:17
92-msgid "Copy"
93-msgstr ""
94-
95-#: ../src/app/qml/AlternateActionPopover.qml:21
96-msgid "Paste"
97-msgstr ""
98-
99-#: ../src/app/qml/AuthenticationDialog.qml:25
100-msgid "Authentication required"
101-msgstr ""
102-
103-#: ../src/app/qml/AuthenticationDialog.qml:27
104-msgid "Enter passcode or passphrase:"
105-msgstr ""
106-
107-#: ../src/app/qml/AuthenticationDialog.qml:40
108-msgid "passcode or passphrase"
109-msgstr ""
110-
111-#: ../src/app/qml/AuthenticationDialog.qml:50
112-msgid "OK"
113-msgstr ""
114-
115-#: ../src/app/qml/AuthenticationDialog.qml:62
116-msgid "Cancel"
117-msgstr ""
118-
119-#: ../src/app/qml/AuthenticationService.qml:55
120-msgid "Authentication failed"
121-msgstr ""
122-
123-#: ../src/app/qml/ColorSchemePage.qml:26 ../src/app/qml/SettingsPage.qml:129
124-msgid "Color Scheme"
125-msgstr ""
126-
127-#: ../src/app/qml/KeyboardBar.qml:174
128-msgid "Change Keyboard"
129-msgstr ""
130-
131-#. TRANSLATORS: This a keyboard layout name
132-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:18
133-msgid "Control Keys"
134-msgstr ""
135-
136-#. TRANSLATORS: This a keyboard layout name
137-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:21
138-msgid "Function Keys"
139-msgstr ""
140-
141-#. TRANSLATORS: This a keyboard layout name
142-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:24
143-msgid "Scroll Keys"
144-msgstr ""
145-
146-#. TRANSLATORS: This a keyboard layout name
147-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:27
148-msgid "Command Keys"
149-msgstr ""
150-
151-#. TRANSLATORS: This the short display name of a keyboard layout. It should be no longer than 4 characters!
152-#. TRANSLATORS: This is the name of the Control key. All letters should be uppercase!
153-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:35
154-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:61
155-msgid "CTRL"
156-msgstr ""
157-
158-#. TRANSLATORS: This the short display name of a keyboard layout. It should be no longer than 4 characters!
159-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:38
160-msgid "FNS"
161-msgstr ""
162-
163-#. TRANSLATORS: This the short display name of a keyboard layout. It should be no longer than 4 characters!
164-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:41
165-msgid "SCR"
166-msgstr ""
167-
168-#. TRANSLATORS: This the short display name of a keyboard layout. It should be no longer than 4 characters!
169-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:44
170-msgid "CMD"
171-msgstr ""
172-
173-#. TRANSLATORS: This is the name of the Alt key. All letters should be uppercase!
174-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:64
175-msgid "ALT"
176-msgstr ""
177-
178-#. TRANSLATORS: This is the name of the Shift key. All letters should be uppercase!
179-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:67
180-msgid "SHIFT"
181-msgstr ""
182-
183-#. TRANSLATORS: This is the name of the Escape key. All letters should be uppercase!
184-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:80
185-msgid "ESC"
186-msgstr ""
187-
188-#. TRANSLATORS: This is the name of the Page Up key. All letters should be uppercase!
189-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:83
190-msgid "PG_UP"
191-msgstr ""
192-
193-#. TRANSLATORS: This is the name of the Page Down key. All letters should be uppercase!
194-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:86
195-msgid "PG_DN"
196-msgstr ""
197-
198-#. TRANSLATORS: This is the name of the Delete key. All letters should be uppercase!
199-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:89
200-msgid "DEL"
201-msgstr ""
202-
203-#. TRANSLATORS: This is the name of the Home key. All letters should be uppercase!
204-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:92
205-msgid "HOME"
206-msgstr ""
207-
208-#. TRANSLATORS: This is the name of the End key. All letters should be uppercase!
209-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:95
210-msgid "END"
211-msgstr ""
212-
213-#. TRANSLATORS: This is the name of the Tab key. All letters should be uppercase!
214-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:98
215-msgid "TAB"
216-msgstr ""
217-
218-#. TRANSLATORS: This is the name of the Enter key. All letters should be uppercase!
219-#: ../src/app/qml/KeyboardRows/JsonTranslator.qml:101
220-msgid "ENTER"
221-msgstr ""
222-
223-#: ../src/app/qml/LayoutsPage.qml:26 ../src/app/qml/SettingsPage.qml:41
224-msgid "Layouts"
225-msgstr ""
226-
227-#: ../src/app/qml/SettingsPage.qml:26
228-msgid "Settings"
229-msgstr ""
230-
231-#: ../src/app/qml/SettingsPage.qml:57
232-msgid "Show Keyboard Bar"
233-msgstr ""
234-
235-#: ../src/app/qml/SettingsPage.qml:73
236-msgid "Show Keyboard Button"
237-msgstr ""
238-
239-#: ../src/app/qml/SettingsPage.qml:96
240-msgid "Font Size:"
241-msgstr ""
242-
243-#: ../src/app/qml/TabsPage.qml:7
244-msgid "Tabs"
245-msgstr ""
246-
247-#: ../src/app/qml/TabsPage.qml:13
248-msgid "New tab"
249-msgstr ""
250-
251-#: ../src/app/qml/TerminalPage.qml:170
252-msgid "Selection Mode"
253-msgstr ""
254-
255-#. TRANSLATORS: This is the name of a terminal color scheme which is displayed in the settings
256-#: ../src/app/qml/ubuntu-terminal-app.qml:128
257-msgid "Green on black"
258-msgstr ""
259-
260-#: ../src/app/qml/ubuntu-terminal-app.qml:128
261-msgid "White on black"
262-msgstr ""
263-
264-#: ../src/app/qml/ubuntu-terminal-app.qml:128
265-msgid "Black on white"
266-msgstr ""
267-
268-#: ../src/app/qml/ubuntu-terminal-app.qml:128
269-msgid "Black on random light"
270-msgstr ""
271-
272-#: ../src/app/qml/ubuntu-terminal-app.qml:128
273-msgid "Linux"
274-msgstr ""
275-
276-#: ../src/app/qml/ubuntu-terminal-app.qml:128
277-msgid "Cool retro term"
278-msgstr ""
279-
280-#: ../src/app/qml/ubuntu-terminal-app.qml:128
281-msgid "Dark pastels / Ubuntu (old)"
282-msgstr ""
283-
284-#: ../src/app/qml/ubuntu-terminal-app.qml:128
285-msgid "Black on light yellow"
286-msgstr ""
287-
288-#: ../src/app/qml/ubuntu-terminal-app.qml:128
289-msgid "Ubuntu"
290-msgstr ""
291-
292-#: ../src/plugin/konsole/ColorScheme.cpp:276
293-#: ../src/plugin/konsole/ColorScheme.cpp:291
294-#: ../src/plugin/qmltermwidget/lib/ColorScheme.cpp:277
295-#: ../src/plugin/qmltermwidget/lib/ColorScheme.cpp:292
296-msgid "Un-named Color Scheme"
297-msgstr ""
298-
299-#: ../src/plugin/konsole/ColorScheme.cpp:426
300-#: ../src/plugin/qmltermwidget/lib/ColorScheme.cpp:427
301-msgid "Accessible Color Scheme"
302-msgstr ""
303-
304-#: ../src/plugin/konsole/Filter.cpp:518
305-#: ../src/plugin/qmltermwidget/lib/Filter.cpp:533
306-msgid "Open Link"
307-msgstr ""
308-
309-#: ../src/plugin/konsole/Filter.cpp:519
310-#: ../src/plugin/qmltermwidget/lib/Filter.cpp:534
311-msgid "Copy Link Address"
312-msgstr ""
313-
314-#: ../src/plugin/konsole/Filter.cpp:523
315-#: ../src/plugin/qmltermwidget/lib/Filter.cpp:538
316-msgid "Send Email To..."
317-msgstr ""
318-
319-#: ../src/plugin/konsole/Filter.cpp:524
320-#: ../src/plugin/qmltermwidget/lib/Filter.cpp:539
321-msgid "Copy Email Address"
322-msgstr ""
323-
324-#: ../src/plugin/konsole/Vt102Emulation.cpp:961
325-#: ../src/plugin/qmltermwidget/lib/Vt102Emulation.cpp:977
326-msgid ""
327-"No keyboard translator available. The information needed to convert key "
328-"presses into characters to send to the terminal is missing."
329-msgstr ""
330-
331-#: ../src/plugin/qmltermwidget/lib/SearchBar.cpp:39
332-msgid "Match case"
333-msgstr ""
334-
335-#: ../src/plugin/qmltermwidget/lib/SearchBar.cpp:45
336-msgid "Regular expression"
337-msgstr ""
338-
339-#: ../src/plugin/qmltermwidget/lib/SearchBar.cpp:49
340-msgid "Higlight all matches"
341-msgstr ""
342-
343-#: ../src/plugin/qmltermwidget/lib/qtermwidget.cpp:405
344-msgid "Color Scheme Error"
345-msgstr ""
346-
347-#: ../src/plugin/qmltermwidget/lib/qtermwidget.cpp:406
348-#, qt-format
349-msgid "Cannot load color scheme: %1"
350-msgstr ""
351-
352-#: com.ubuntu.terminal.desktop.in.in.h:1
353-msgid "Terminal"
354-msgstr ""

Subscribers

People subscribed via source and target branches

to all changes: