Merge lp:~anneonyme017/zconverter/i18n into lp:zconverter

Proposed by Anne017
Status: Needs review
Proposed branch: lp:~anneonyme017/zconverter/i18n
Merge into: lp:zconverter
Diff against target: 305 lines (+130/-138)
5 files modified
po/fr.po (+66/-0)
po/zConverter.pot (+62/-0)
ui/AboutTab.qml (+1/-1)
ui/ConverterTab.qml (+1/-1)
zConverter.qmlproject.user (+0/-136)
To merge this branch: bzr merge lp:~anneonyme017/zconverter/i18n
Reviewer Review Type Date Requested Status
Roman Zonov Pending
Review via email: mp+313884@code.launchpad.net

Description of the change

Hello,

Here is a proposal of internationalization to solve this bug:
https://bugs.launchpad.net/zconverter/+bug/1548069

I also have attached a translation in French.
Could you host the translations in Launchpad (https://wiki.ubuntu.com/Translations/LpProjectConfiguration), this way the translations could be more easily reviewed by Ubuntu Translators?

Best regards.
Anne

To post a comment you must log in.

Unmerged revisions

2. By Anne017

Support for internationalization and French translation added (+ correction of a typo: a problems > a problem)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'po'
2=== added file 'po/fr.po'
3--- po/fr.po 1970-01-01 00:00:00 +0000
4+++ po/fr.po 2016-12-27 11:25:55 +0000
5@@ -0,0 +1,66 @@
6+# SOME DESCRIPTIVE TITLE.
7+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
8+# This file is distributed under the same license as the PACKAGE package.
9+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
10+#
11+#, fuzzy
12+msgid ""
13+msgstr ""
14+"Project-Id-Version: PACKAGE VERSION\n"
15+"Report-Msgid-Bugs-To: \n"
16+"POT-Creation-Date: 2016-12-27 12:15+0100\n"
17+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
18+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
19+"Language-Team: LANGUAGE <LL@li.org>\n"
20+"Language: fr\n"
21+"MIME-Version: 1.0\n"
22+"Content-Type: text/plain; charset=CHARSET\n"
23+"Content-Transfer-Encoding: 8bit\n"
24+
25+#: ui/AboutTab.qml:6
26+msgid "About"
27+msgstr "À propos"
28+
29+#: ui/AboutTab.qml:23
30+msgid "Made by Zonov Roman"
31+msgstr "Développé par Zonov Roman"
32+
33+#: ui/ConverterTab.qml:10
34+msgid "zConverter"
35+msgstr "zConverter"
36+
37+#: ui/ConverterTab.qml:16
38+msgid "Choose currency"
39+msgstr "Choisissez une monnaie"
40+
41+#: ui/ConverterTab.qml:50
42+msgid "Currency Converter"
43+msgstr "Convertisseur de monnaies"
44+
45+#: ui/ConverterTab.qml:135
46+msgid ""
47+"Before first use you must connect to the Internet to fetch information about "
48+"currencies."
49+msgstr ""
50+"Avant la première utilisation, vous devez vous connecter à Internet pour récupérer les informations sur "
51+"les taux de change."
52+
53+#: ui/ConverterTab.qml:146
54+msgid "Try again"
55+msgstr "Réessayez"
56+
57+#: ui/ConverterTab.qml:156
58+msgid "Quit"
59+msgstr "Quitter"
60+
61+#: ui/ConverterTab.qml:258
62+msgid "Clear"
63+msgstr "Effacer"
64+
65+#: ui/ConverterTab.qml:280
66+msgid ""
67+"Warning! Information may be outdated! We have a problem with connecting to "
68+"the Internet."
69+msgstr ""
70+"Attention[nbsp]! Les informations sont potentiellement obsolètes[nbsp]! Nous avons un problème pour vous connecter à "
71+"Internet."
72
73=== added file 'po/zConverter.pot'
74--- po/zConverter.pot 1970-01-01 00:00:00 +0000
75+++ po/zConverter.pot 2016-12-27 11:25:55 +0000
76@@ -0,0 +1,62 @@
77+# SOME DESCRIPTIVE TITLE.
78+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
79+# This file is distributed under the same license as the PACKAGE package.
80+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
81+#
82+#, fuzzy
83+msgid ""
84+msgstr ""
85+"Project-Id-Version: PACKAGE VERSION\n"
86+"Report-Msgid-Bugs-To: \n"
87+"POT-Creation-Date: 2016-12-27 12:15+0100\n"
88+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
89+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
90+"Language-Team: LANGUAGE <LL@li.org>\n"
91+"Language: \n"
92+"MIME-Version: 1.0\n"
93+"Content-Type: text/plain; charset=CHARSET\n"
94+"Content-Transfer-Encoding: 8bit\n"
95+
96+#: ui/AboutTab.qml:6
97+msgid "About"
98+msgstr ""
99+
100+#: ui/AboutTab.qml:23
101+msgid "Made by Zonov Roman"
102+msgstr ""
103+
104+#: ui/ConverterTab.qml:10
105+msgid "zConverter"
106+msgstr ""
107+
108+#: ui/ConverterTab.qml:16
109+msgid "Choose currency"
110+msgstr ""
111+
112+#: ui/ConverterTab.qml:50
113+msgid "Currency Converter"
114+msgstr ""
115+
116+#: ui/ConverterTab.qml:135
117+msgid ""
118+"Before first use you must connect to the Internet to fetch information about "
119+"currencies."
120+msgstr ""
121+
122+#: ui/ConverterTab.qml:146
123+msgid "Try again"
124+msgstr ""
125+
126+#: ui/ConverterTab.qml:156
127+msgid "Quit"
128+msgstr ""
129+
130+#: ui/ConverterTab.qml:258
131+msgid "Clear"
132+msgstr ""
133+
134+#: ui/ConverterTab.qml:280
135+msgid ""
136+"Warning! Information may be outdated! We have a problems with connecting to "
137+"the Internet."
138+msgstr ""
139
140=== modified file 'ui/AboutTab.qml'
141--- ui/AboutTab.qml 2013-10-29 18:17:42 +0000
142+++ ui/AboutTab.qml 2016-12-27 11:25:55 +0000
143@@ -20,7 +20,7 @@
144 }
145 Text {
146 anchors.horizontalCenter: parent.horizontalCenter
147- text: "Made by Zonov Roman"
148+ text: i18n.tr("Made by Zonov Roman")
149 }
150 }
151 }
152
153=== modified file 'ui/ConverterTab.qml'
154--- ui/ConverterTab.qml 2013-10-29 18:17:42 +0000
155+++ ui/ConverterTab.qml 2016-12-27 11:25:55 +0000
156@@ -277,7 +277,7 @@
157 right: parent.right
158 verticalCenter: parent.verticalCenter
159 }
160- text: i18n.tr("Warning! Information may be outdated! We have a problems with connecting to the Internet.")
161+ text: i18n.tr("Warning! Information may be outdated! We have a problem with connecting to the Internet.")
162 horizontalAlignment: Text.AlignHCenter
163 wrapMode: Text.WordWrap
164 font.pointSize: units.gu(1)
165
166=== removed file 'zConverter.qmlproject.user'
167--- zConverter.qmlproject.user 2013-10-29 18:17:42 +0000
168+++ zConverter.qmlproject.user 1970-01-01 00:00:00 +0000
169@@ -1,136 +0,0 @@
170-<?xml version="1.0" encoding="UTF-8"?>
171-<!DOCTYPE QtCreatorProject>
172-<!-- Written by QtCreator 2.8.1, 2013-10-26T16:08:57. -->
173-<qtcreator>
174- <data>
175- <variable>ProjectExplorer.Project.ActiveTarget</variable>
176- <value type="int">0</value>
177- </data>
178- <data>
179- <variable>ProjectExplorer.Project.EditorSettings</variable>
180- <valuemap type="QVariantMap">
181- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
182- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
183- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
184- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
185- <value type="QString" key="language">Cpp</value>
186- <valuemap type="QVariantMap" key="value">
187- <value type="QString" key="CurrentPreferences">CppGlobal</value>
188- </valuemap>
189- </valuemap>
190- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
191- <value type="QString" key="language">QmlJS</value>
192- <valuemap type="QVariantMap" key="value">
193- <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
194- </valuemap>
195- </valuemap>
196- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
197- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
198- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
199- <value type="int" key="EditorConfiguration.IndentSize">4</value>
200- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
201- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
202- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
203- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
204- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
205- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
206- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
207- <value type="int" key="EditorConfiguration.TabSize">8</value>
208- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
209- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
210- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
211- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
212- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
213- <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
214- </valuemap>
215- </data>
216- <data>
217- <variable>ProjectExplorer.Project.PluginSettings</variable>
218- <valuemap type="QVariantMap"/>
219- </data>
220- <data>
221- <variable>ProjectExplorer.Project.Target.0</variable>
222- <valuemap type="QVariantMap">
223- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
224- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
225- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{b0745206-e542-4893-9c5c-73f6e15b8610}</value>
226- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">-1</value>
227- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
228- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
229- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">0</value>
230- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
231- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
232- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
233- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
234- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
235- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
236- </valuemap>
237- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
238- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
239- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
240- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
241- </valuemap>
242- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
243- <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
244- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
245- <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
246- <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
247- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
248- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
249- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
250- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
251- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
252- <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
253- <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
254- <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
255- <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
256- <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
257- <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
258- <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
259- <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
260- <value type="int">0</value>
261- <value type="int">1</value>
262- <value type="int">2</value>
263- <value type="int">3</value>
264- <value type="int">4</value>
265- <value type="int">5</value>
266- <value type="int">6</value>
267- <value type="int">7</value>
268- <value type="int">8</value>
269- <value type="int">9</value>
270- <value type="int">10</value>
271- <value type="int">11</value>
272- <value type="int">12</value>
273- <value type="int">13</value>
274- <value type="int">14</value>
275- </valuelist>
276- <value type="int" key="PE.EnvironmentAspect.Base">0</value>
277- <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
278- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName"></value>
279- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QML Scene</value>
280- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QmlProjectManager.QmlRunConfiguration.QmlScene</value>
281- <value type="QString" key="QmlProjectManager.QmlRunConfiguration.MainScript">CurrentFile</value>
282- <value type="QString" key="QmlProjectManager.QmlRunConfiguration.QDeclarativeViewerArguments"></value>
283- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
284- <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
285- <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
286- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
287- <value type="bool" key="RunConfiguration.UseQmlDebugger">true</value>
288- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
289- </valuemap>
290- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
291- </valuemap>
292- </data>
293- <data>
294- <variable>ProjectExplorer.Project.TargetCount</variable>
295- <value type="int">1</value>
296- </data>
297- <data>
298- <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
299- <value type="QByteArray">{ccf21c73-cc82-4546-ae0f-a5b826de20c0}</value>
300- </data>
301- <data>
302- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
303- <value type="int">14</value>
304- </data>
305-</qtcreator>

Subscribers

People subscribed via source and target branches

to all changes: