Merge lp:~ricsipontaz/ubuntu-docviewer-app/translation-fix-and-template-update into lp:ubuntu-docviewer-app/trunk

Proposed by Richard Somlói
Status: Merged
Approved by: Alan Pope 🍺🐧🐱 🦄
Approved revision: 89
Merged at revision: 89
Proposed branch: lp:~ricsipontaz/ubuntu-docviewer-app/translation-fix-and-template-update
Merge into: lp:ubuntu-docviewer-app/trunk
Diff against target: 52 lines (+8/-4)
2 files modified
po/com.ubuntu.docviewer.pot (+7/-3)
src/app/qml/pdfView/PdfViewDefaultHeader.qml (+1/-1)
To merge this branch: bzr merge lp:~ricsipontaz/ubuntu-docviewer-app/translation-fix-and-template-update
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Alan Pope 🍺🐧🐱 🦄 (community) Approve
Review via email: mp+251727@code.launchpad.net

Commit message

Make the "Go to page..." string translatable with i18n.tr() and update the translation template

Description of the change

Make the "Go to page..." string translatable with i18n.tr() and update the translation template

To post a comment you must log in.
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Thanks for the contribution!

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/com.ubuntu.docviewer.pot'
2--- po/com.ubuntu.docviewer.pot 2015-03-04 01:40:41 +0000
3+++ po/com.ubuntu.docviewer.pot 2015-03-04 12:34:49 +0000
4@@ -8,7 +8,7 @@
5 msgstr ""
6 "Project-Id-Version: \n"
7 "Report-Msgid-Bugs-To: \n"
8-"POT-Creation-Date: 2015-03-03 17:49+0100\n"
9+"POT-Creation-Date: 2015-03-04 13:28+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13@@ -157,7 +157,7 @@
14 msgstr ""
15
16 #: ../src/app/qml/documentPage/DocumentPage.qml:25
17-#: /home/stefano/Progetti/doc-viewer/build-document-hub2-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
18+#: /tmp/tmp.VrJNVy5Wgh/po/com.ubuntu.docviewer.desktop.in.in.h:1
19 msgid "Document Viewer"
20 msgstr ""
21
22@@ -200,6 +200,10 @@
23 msgid "Back"
24 msgstr ""
25
26+#: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:85
27+msgid "Go to page..."
28+msgstr ""
29+
30 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:25
31 msgid "Go to page"
32 msgstr ""
33@@ -217,6 +221,6 @@
34 msgid "Loading..."
35 msgstr ""
36
37-#: /home/stefano/Progetti/doc-viewer/build-document-hub2-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
38+#: /tmp/tmp.VrJNVy5Wgh/po/com.ubuntu.docviewer.desktop.in.in.h:2
39 msgid "documents;viewer;pdf;reader;"
40 msgstr ""
41
42=== modified file 'src/app/qml/pdfView/PdfViewDefaultHeader.qml'
43--- src/app/qml/pdfView/PdfViewDefaultHeader.qml 2015-02-13 15:30:01 +0000
44+++ src/app/qml/pdfView/PdfViewDefaultHeader.qml 2015-03-04 12:34:49 +0000
45@@ -82,7 +82,7 @@
46 Action {
47 objectName:"gotopage"
48 iconName: "browser-tabs"
49- text: "Go to page..."
50+ text: i18n.tr("Go to page...")
51 onTriggered: PopupUtils.open(Qt.resolvedUrl("PdfViewGotoDialog.qml"), targetPage)
52 },
53

Subscribers

People subscribed via source and target branches