Merge lp:~amigadave/account-plugins/i18n-support into lp:account-plugins

Proposed by David King
Status: Superseded
Proposed branch: lp:~amigadave/account-plugins/i18n-support
Merge into: lp:account-plugins
Diff against target: 665 lines (+96/-248)
31 files modified
.bzrignore (+5/-0)
Makefile.am (+7/-0)
autogen.sh (+1/-2)
configure.ac (+6/-2)
data/providers/Makefile.am (+23/-10)
data/providers/facebook.provider.in (+1/-0)
data/providers/flickr.provider.in (+1/-0)
data/providers/foursquare.provider.in (+1/-0)
data/providers/google.provider.in (+2/-1)
data/providers/identica.provider.in (+1/-0)
data/providers/sina.provider.in (+1/-0)
data/providers/sohu.provider.in (+1/-0)
data/providers/twitter.provider.in (+1/-0)
data/providers/windows-live.provider.in (+1/-0)
data/services/Makefile.am (+28/-15)
data/services/facebook-im.service.in (+1/-0)
data/services/facebook-microblog.service.in (+1/-0)
data/services/facebook-sharing.service.in (+2/-1)
data/services/flickr-microblog.service.in (+1/-0)
data/services/flickr-sharing.service.in (+1/-0)
data/services/foursquare-microblog.service.in (+1/-0)
data/services/google-docs.service.in (+1/-0)
data/services/google-im.service.in (+1/-0)
data/services/identica-microblog.service.in (+1/-0)
data/services/picasa.service.in (+1/-0)
data/services/sina-microblog.service.in (+1/-0)
data/services/sohu-microblog.service.in (+1/-0)
data/services/twitter-microblog.service.in (+1/-0)
data/services/wlm.service.in (+1/-0)
po/Makefile.in.in (+0/-217)
po/POTFILES.in (+1/-0)
To merge this branch: bzr merge lp:~amigadave/account-plugins/i18n-support
Reviewer Review Type Date Requested Status
jenkins (community) continuous-integration Needs Fixing
Alberto Mardegan Pending
Review via email: mp+128030@code.launchpad.net

This proposal has been superseded by a proposal from 2012-10-04.

Description of the change

Use intltool for i18n support

* Correct project URLs in configure.ac
* Add intltool support to build system
* Extract strings from provider and service files
* Skip service files without translations

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
VĂ­ctor R. Ruiz (vrruiz) wrote :

Problem with the packaging branch. Would you please resubmit?

73. By David King

Skip service files without translations

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2012-07-25 11:09:39 +0000
3+++ .bzrignore 2012-10-04 14:34:23 +0000
4@@ -1,5 +1,7 @@
5 *.la
6 *.lo
7+*.provider
8+*.service
9 *.stamp
10 COPYING
11 INSTALL
12@@ -21,6 +23,9 @@
13 ltmain.sh
14 m4
15 missing
16+/po/Makefile.in.in
17+/po/POTFILES
18+/po/stamp-it
19 stamp-h1
20 .deps
21 .dirstamp
22
23=== modified file 'Makefile.am'
24--- Makefile.am 2012-07-19 17:18:08 +0000
25+++ Makefile.am 2012-10-04 14:34:23 +0000
26@@ -1,5 +1,6 @@
27 SUBDIRS = \
28 data \
29+ po \
30 tools
31
32 # Plugins.
33@@ -99,3 +100,9 @@
34 src/accounts.vapi \
35 src/signon.vapi \
36 src/AccountPlugin.vapi
37+
38+DISTCLEANFILES = \
39+ intltool-extract \
40+ intltool-merge \
41+ intltool-update \
42+ po/.intltool-merge-cache
43
44=== modified file 'autogen.sh'
45--- autogen.sh 2011-12-23 14:28:12 +0000
46+++ autogen.sh 2012-10-04 14:34:23 +0000
47@@ -1,2 +1,1 @@
48-autoreconf -i && ./configure "$@"
49-
50+intltoolize --copy --force --automake && autoreconf -i && ./configure "$@"
51
52=== modified file 'configure.ac'
53--- configure.ac 2012-09-19 19:24:48 +0000
54+++ configure.ac 2012-10-04 14:34:23 +0000
55@@ -2,9 +2,9 @@
56
57 AC_INIT([account-plugins],
58 [0.8],
59- [https://bugs.launchpad.net/opensesame-account-plugins/+filebug],
60+ [https://bugs.launchpad.net/online-accounts-account-plugins/+filebug],
61 [account-plugins],
62- [https://launchpad.net/opensesame-account-plugins])
63+ [https://launchpad.net/online-accounts-account-plugins])
64
65 AM_INIT_AUTOMAKE([1.10 -Wall -Wno-portability subdir-objects])
66 AM_CONFIG_HEADER(config.h)
67@@ -21,6 +21,9 @@
68 LT_PREREQ([2.2])
69 LT_INIT([disable-static])
70
71+IT_PROG_INTLTOOL([0.50.0])
72+AC_SUBST([GETTEXT_PACKAGE], [$PACKAGE_TARNAME])
73+
74 PKG_CHECK_MODULES(ACCOUNT_PLUGINS,
75 account-plugin)
76 AC_SUBST(ACCOUNT_PLUGINS_CFLAGS)
77@@ -150,6 +153,7 @@
78 data/providers/Makefile
79 data/services/Makefile
80 data/webkit-options/Makefile
81+ po/Makefile.in
82 tools/Makefile
83 ])
84 AC_OUTPUT
85
86=== modified file 'data/providers/Makefile.am'
87--- data/providers/Makefile.am 2012-07-19 17:18:08 +0000
88+++ data/providers/Makefile.am 2012-10-04 14:34:23 +0000
89@@ -1,10 +1,23 @@
90-dist_providers_DATA = \
91- facebook.provider \
92- flickr.provider \
93- foursquare.provider \
94- google.provider \
95- identica.provider \
96- sina.provider \
97- sohu.provider \
98- twitter.provider \
99- windows-live.provider
100+# Extract transatable strings from .provider files
101+%.provider: %.provider.in $(INTLTOOL_MERGE)
102+ $(INTLTOOL_V_MERGE) LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_MERGE_V_OPTIONS) --no-translations -x -u $< $@
103+
104+providers_in_files = \
105+ facebook.provider.in \
106+ flickr.provider.in \
107+ foursquare.provider.in \
108+ google.provider.in \
109+ identica.provider.in \
110+ sina.provider.in \
111+ sohu.provider.in \
112+ twitter.provider.in \
113+ windows-live.provider.in
114+
115+providers_DATA = \
116+ $(providers_in_files:.provider.in=.provider)
117+
118+dist_noinst_DATA = \
119+ $(providers_in_files)
120+
121+CLEANFILES = \
122+ $(services_DATA)
123
124=== renamed file 'data/providers/facebook.provider' => 'data/providers/facebook.provider.in'
125--- data/providers/facebook.provider 2012-06-06 08:56:59 +0000
126+++ data/providers/facebook.provider.in 2012-10-04 14:34:23 +0000
127@@ -2,5 +2,6 @@
128 <provider id="facebook">
129 <name>Facebook</name>
130 <icon>facebook</icon>
131+ <translations>account-plugins</translations>
132 <domains>.*facebook\.com</domains>
133 </provider>
134
135=== renamed file 'data/providers/flickr.provider' => 'data/providers/flickr.provider.in'
136--- data/providers/flickr.provider 2012-06-06 12:56:03 +0000
137+++ data/providers/flickr.provider.in 2012-10-04 14:34:23 +0000
138@@ -2,5 +2,6 @@
139 <provider id="flickr">
140 <name>Flickr</name>
141 <icon>flickr</icon>
142+ <translations>account-plugins</translations>
143 <domains>.*flickr\.com</domains>
144 </provider>
145
146=== renamed file 'data/providers/foursquare.provider' => 'data/providers/foursquare.provider.in'
147--- data/providers/foursquare.provider 2012-06-26 10:05:06 +0000
148+++ data/providers/foursquare.provider.in 2012-10-04 14:34:23 +0000
149@@ -2,5 +2,6 @@
150 <provider id="foursquare">
151 <name>Foursquare</name>
152 <icon>foursquare</icon>
153+ <translations>account-plugins</translations>
154 <domains>.*foursquare\.com</domains>
155 </provider>
156
157=== renamed file 'data/providers/google.provider' => 'data/providers/google.provider.in'
158--- data/providers/google.provider 2012-06-13 11:33:24 +0000
159+++ data/providers/google.provider.in 2012-10-04 14:34:23 +0000
160@@ -1,7 +1,8 @@
161 <?xml version="1.0" encoding="UTF-8" ?>
162 <provider id="google">
163 <name>Google</name>
164- <description>Includes Gmail, Google Docs, Google+, YouTube and Picasa</description>
165+ <_description>Includes Gmail, Google Docs, Google+, YouTube and Picasa</_description>
166 <icon>google</icon>
167+ <translations>account-plugins</translations>
168 <domains>.*google\.com</domains>
169 </provider>
170
171=== renamed file 'data/providers/identica.provider' => 'data/providers/identica.provider.in'
172--- data/providers/identica.provider 2012-06-26 10:15:24 +0000
173+++ data/providers/identica.provider.in 2012-10-04 14:34:23 +0000
174@@ -2,5 +2,6 @@
175 <provider id="identica">
176 <name>identi.ca</name>
177 <icon>identica</icon>
178+ <translations>account-plugins</translations>
179 <domains>.*identi\.ca</domains>
180 </provider>
181
182=== renamed file 'data/providers/sina.provider' => 'data/providers/sina.provider.in'
183--- data/providers/sina.provider 2012-06-27 11:41:09 +0000
184+++ data/providers/sina.provider.in 2012-10-04 14:34:23 +0000
185@@ -2,5 +2,6 @@
186 <provider id="sina">
187 <name>Sina</name>
188 <icon>sina</icon>
189+ <translations>account-plugins</translations>
190 <domains>.*t\.sina\.com\.cn</domains>
191 </provider>
192
193=== renamed file 'data/providers/sohu.provider' => 'data/providers/sohu.provider.in'
194--- data/providers/sohu.provider 2012-06-27 11:41:43 +0000
195+++ data/providers/sohu.provider.in 2012-10-04 14:34:23 +0000
196@@ -2,5 +2,6 @@
197 <provider id="sohu">
198 <name>Sohu</name>
199 <icon>sohu</icon>
200+ <translations>account-plugins</translations>
201 <domains>.*t\.sohu\.com</domains>
202 </provider>
203
204=== renamed file 'data/providers/twitter.provider' => 'data/providers/twitter.provider.in'
205--- data/providers/twitter.provider 2012-06-14 07:10:53 +0000
206+++ data/providers/twitter.provider.in 2012-10-04 14:34:23 +0000
207@@ -2,5 +2,6 @@
208 <provider id="twitter">
209 <name>Twitter</name>
210 <icon>twitter</icon>
211+ <translations>account-plugins</translations>
212 <domains>.*twitter\.com</domains>
213 </provider>
214
215=== renamed file 'data/providers/windows-live.provider' => 'data/providers/windows-live.provider.in'
216--- data/providers/windows-live.provider 2012-07-19 17:18:08 +0000
217+++ data/providers/windows-live.provider.in 2012-10-04 14:34:23 +0000
218@@ -2,5 +2,6 @@
219 <provider id="windows-live">
220 <name>Windows Live</name>
221 <icon>live</icon>
222+ <translations>account-plugins</translations>
223 <domains>.*live\.com</domains>
224 </provider>
225
226=== modified file 'data/services/Makefile.am'
227--- data/services/Makefile.am 2012-07-19 17:18:08 +0000
228+++ data/services/Makefile.am 2012-10-04 14:34:23 +0000
229@@ -1,15 +1,28 @@
230-dist_services_DATA = \
231- facebook-im.service \
232- facebook-microblog.service \
233- facebook-sharing.service \
234- flickr-microblog.service \
235- flickr-sharing.service \
236- foursquare-microblog.service \
237- google-docs.service \
238- google-im.service \
239- identica-microblog.service \
240- picasa.service \
241- sina-microblog.service \
242- sohu-microblog.service \
243- twitter-microblog.service \
244- wlm.service
245+# Extract translatable strings from .service files
246+%.service: %.service.in $(INTLTOOL_MERGE)
247+ $(INTLTOOL_V_MERGE) LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_MERGE_V_OPTIONS) --no-translations -x -u $< $@
248+
249+services_in_files = \
250+ facebook-im.service.in \
251+ facebook-microblog.service.in \
252+ facebook-sharing.service.in \
253+ flickr-microblog.service.in \
254+ flickr-sharing.service.in \
255+ foursquare-microblog.service.in \
256+ google-docs.service.in \
257+ google-im.service.in \
258+ identica-microblog.service.in \
259+ picasa.service.in \
260+ sina-microblog.service.in \
261+ sohu-microblog.service.in \
262+ twitter-microblog.service.in \
263+ wlm.service.in
264+
265+services_DATA = \
266+ $(services_in_files:.service.in=.service)
267+
268+dist_noinst_DATA = \
269+ $(services_in_files)
270+
271+CLEANFILES = \
272+ $(services_DATA)
273
274=== renamed file 'data/services/facebook-im.service' => 'data/services/facebook-im.service.in'
275--- data/services/facebook-im.service 2012-07-25 08:39:12 +0000
276+++ data/services/facebook-im.service.in 2012-10-04 14:34:23 +0000
277@@ -4,6 +4,7 @@
278 <name>Facebook</name>
279 <icon>facebook</icon>
280 <provider>facebook</provider>
281+ <translations>account-plugins</translations>
282
283 <!-- default settings (account settings have precedence over these) -->
284 <template>
285
286=== renamed file 'data/services/facebook-microblog.service' => 'data/services/facebook-microblog.service.in'
287--- data/services/facebook-microblog.service 2012-06-26 19:38:23 +0000
288+++ data/services/facebook-microblog.service.in 2012-10-04 14:34:23 +0000
289@@ -4,6 +4,7 @@
290 <name>Facebook</name>
291 <icon>facebook</icon>
292 <provider>facebook</provider>
293+ <translations>account-plugins</translations>
294
295 <!-- default settings (account settings have precedence over these) -->
296 <template>
297
298=== renamed file 'data/services/facebook-sharing.service' => 'data/services/facebook-sharing.service.in'
299--- data/services/facebook-sharing.service 2011-12-23 14:28:12 +0000
300+++ data/services/facebook-sharing.service.in 2012-10-04 14:34:23 +0000
301@@ -2,8 +2,9 @@
302 <service id="service">
303 <type>sharing</type>
304 <name>Facebook</name>
305- <icon>icon_facebook</icon>
306+ <icon>facebook</icon>
307 <provider>facebook</provider>
308+ <translations>account-plugins</translations>
309
310 <!-- default settings (account settings have precedence over these) -->
311 <template>
312
313=== renamed file 'data/services/flickr-microblog.service' => 'data/services/flickr-microblog.service.in'
314--- data/services/flickr-microblog.service 2012-06-26 19:38:23 +0000
315+++ data/services/flickr-microblog.service.in 2012-10-04 14:34:23 +0000
316@@ -4,6 +4,7 @@
317 <name>Flickr</name>
318 <icon>flickr</icon>
319 <provider>flickr</provider>
320+ <translations>account-plugins</translations>
321
322 <!-- default settings (account settings have precedence over these) -->
323 <template>
324
325=== renamed file 'data/services/flickr-sharing.service' => 'data/services/flickr-sharing.service.in'
326--- data/services/flickr-sharing.service 2012-07-04 04:55:03 +0000
327+++ data/services/flickr-sharing.service.in 2012-10-04 14:34:23 +0000
328@@ -4,4 +4,5 @@
329 <name>Flickr</name>
330 <icon>flickr</icon>
331 <provider>flickr</provider>
332+ <translations>account-plugins</translations>
333 </service>
334
335=== renamed file 'data/services/foursquare-microblog.service' => 'data/services/foursquare-microblog.service.in'
336--- data/services/foursquare-microblog.service 2012-07-03 16:31:41 +0000
337+++ data/services/foursquare-microblog.service.in 2012-10-04 14:34:23 +0000
338@@ -4,6 +4,7 @@
339 <name>Foursquare</name>
340 <icon>foursquare</icon>
341 <provider>foursquare</provider>
342+ <translations>account-plugins</translations>
343
344 <!-- default settings (account settings have precedence over these) -->
345 <template>
346
347=== renamed file 'data/services/google-docs.service' => 'data/services/google-docs.service.in'
348--- data/services/google-docs.service 2012-03-14 12:03:35 +0000
349+++ data/services/google-docs.service.in 2012-10-04 14:34:23 +0000
350@@ -4,6 +4,7 @@
351 <name>GoogleDocs</name>
352 <icon>icon_google_docs</icon>
353 <provider>google</provider>
354+ <translations>account-plugins</translations>
355
356 <!-- default settings (account settings have precedence over these) -->
357 <template>
358
359=== renamed file 'data/services/google-im.service' => 'data/services/google-im.service.in'
360--- data/services/google-im.service 2012-07-25 08:39:12 +0000
361+++ data/services/google-im.service.in 2012-10-04 14:34:23 +0000
362@@ -4,6 +4,7 @@
363 <name>GoogleTalk</name>
364 <icon>im-google-talk</icon>
365 <provider>google</provider>
366+ <translations>account-plugins</translations>
367
368 <!-- default settings (account settings have precedence over these) -->
369 <template>
370
371=== renamed file 'data/services/identica-microblog.service' => 'data/services/identica-microblog.service.in'
372--- data/services/identica-microblog.service 2012-07-03 16:31:58 +0000
373+++ data/services/identica-microblog.service.in 2012-10-04 14:34:23 +0000
374@@ -4,6 +4,7 @@
375 <name>identi.ca</name>
376 <icon>identica</icon>
377 <provider>identica</provider>
378+ <translations>account-plugins</translations>
379
380 <!-- default settings (account settings have precedence over these) -->
381 <template>
382
383=== renamed file 'data/services/picasa.service' => 'data/services/picasa.service.in'
384--- data/services/picasa.service 2012-03-14 12:03:35 +0000
385+++ data/services/picasa.service.in 2012-10-04 14:34:23 +0000
386@@ -4,6 +4,7 @@
387 <name>Picasa</name>
388 <icon>icon_picasa</icon>
389 <provider>google</provider>
390+ <translations>account-plugins</translations>
391
392 <!-- default settings (account settings have precedence over these) -->
393 <template>
394
395=== renamed file 'data/services/sina-microblog.service' => 'data/services/sina-microblog.service.in'
396--- data/services/sina-microblog.service 2012-06-27 11:41:09 +0000
397+++ data/services/sina-microblog.service.in 2012-10-04 14:34:23 +0000
398@@ -4,4 +4,5 @@
399 <name>Sina</name>
400 <icon>sina</icon>
401 <provider>sina</provider>
402+ <translations>account-plugins</translations>
403 </service>
404
405=== renamed file 'data/services/sohu-microblog.service' => 'data/services/sohu-microblog.service.in'
406--- data/services/sohu-microblog.service 2012-06-27 11:41:43 +0000
407+++ data/services/sohu-microblog.service.in 2012-10-04 14:34:23 +0000
408@@ -4,4 +4,5 @@
409 <name>Sohu</name>
410 <icon>sohu</icon>
411 <provider>sohu</provider>
412+ <translations>account-plugins</translations>
413 </service>
414
415=== renamed file 'data/services/twitter-microblog.service' => 'data/services/twitter-microblog.service.in'
416--- data/services/twitter-microblog.service 2012-06-26 19:38:23 +0000
417+++ data/services/twitter-microblog.service.in 2012-10-04 14:34:23 +0000
418@@ -4,6 +4,7 @@
419 <name>Twitter</name>
420 <icon>twitter</icon>
421 <provider>twitter</provider>
422+ <translations>account-plugins</translations>
423
424 <!-- default settings (account settings have precedence over these) -->
425 <template>
426
427=== renamed file 'data/services/wlm.service' => 'data/services/wlm.service.in'
428--- data/services/wlm.service 2012-08-03 09:06:29 +0000
429+++ data/services/wlm.service.in 2012-10-04 14:34:23 +0000
430@@ -4,6 +4,7 @@
431 <name>Windows Live Messenger</name>
432 <icon>msn</icon>
433 <provider>windows-live</provider>
434+ <translations>account-plugins</translations>
435
436 <!-- default settings (account settings have precedence over these) -->
437 <template>
438
439=== removed file 'po/Makefile.in.in'
440--- po/Makefile.in.in 2011-12-23 14:28:12 +0000
441+++ po/Makefile.in.in 1970-01-01 00:00:00 +0000
442@@ -1,217 +0,0 @@
443-# Makefile for program source directory in GNU NLS utilities package.
444-# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
445-# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
446-#
447-# This file may be copied and used freely without restrictions. It may
448-# be used in projects which are not available under a GNU Public License,
449-# but which still want to provide support for the GNU gettext functionality.
450-#
451-# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
452-# instead of PACKAGE and to look for po2tbl in ./ not in intl/
453-#
454-# - Modified by jacob berkman <jacob@ximian.com> to install
455-# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
456-#
457-# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
458-#
459-# We have the following line for use by intltoolize:
460-# INTLTOOL_MAKEFILE
461-
462-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
463-PACKAGE = @PACKAGE@
464-VERSION = @VERSION@
465-
466-SHELL = @SHELL@
467-
468-srcdir = @srcdir@
469-top_srcdir = @top_srcdir@
470-top_builddir = @top_builddir@
471-VPATH = @srcdir@
472-
473-prefix = @prefix@
474-exec_prefix = @exec_prefix@
475-datadir = @datadir@
476-datarootdir = @datarootdir@
477-libdir = @libdir@
478-DATADIRNAME = @DATADIRNAME@
479-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
480-subdir = po
481-install_sh = @install_sh@
482-# Automake >= 1.8 provides @mkdir_p@.
483-# Until it can be supposed, use the safe fallback:
484-mkdir_p = $(install_sh) -d
485-
486-INSTALL = @INSTALL@
487-INSTALL_DATA = @INSTALL_DATA@
488-
489-GMSGFMT = @GMSGFMT@
490-MSGFMT = @MSGFMT@
491-XGETTEXT = @XGETTEXT@
492-INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
493-INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
494-MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
495-GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
496-
497-ALL_LINGUAS = @ALL_LINGUAS@
498-
499-PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
500-
501-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi)
502-
503-USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
504-
505-POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
506-
507-DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
508-EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
509-
510-POTFILES = \
511-# This comment gets stripped out
512-
513-CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
514-
515-.SUFFIXES:
516-.SUFFIXES: .po .pox .gmo .mo .msg .cat
517-
518-.po.pox:
519- $(MAKE) $(GETTEXT_PACKAGE).pot
520- $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
521-
522-.po.mo:
523- $(MSGFMT) -o $@ $<
524-
525-.po.gmo:
526- file=`echo $* | sed 's,.*/,,'`.gmo \
527- && rm -f $$file && $(GMSGFMT) -o $$file $<
528-
529-.po.cat:
530- sed -f ../intl/po2msg.sed < $< > $*.msg \
531- && rm -f $@ && gencat $@ $*.msg
532-
533-
534-all: all-@USE_NLS@
535-
536-all-yes: $(CATALOGS)
537-all-no:
538-
539-$(GETTEXT_PACKAGE).pot: $(POTFILES)
540- $(GENPOT)
541-
542-install: install-data
543-install-data: install-data-@USE_NLS@
544-install-data-no: all
545-install-data-yes: all
546- linguas="$(USE_LINGUAS)"; \
547- for lang in $$linguas; do \
548- dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
549- $(mkdir_p) $$dir; \
550- if test -r $$lang.gmo; then \
551- $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
552- echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
553- else \
554- $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
555- echo "installing $(srcdir)/$$lang.gmo as" \
556- "$$dir/$(GETTEXT_PACKAGE).mo"; \
557- fi; \
558- if test -r $$lang.gmo.m; then \
559- $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
560- echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
561- else \
562- if test -r $(srcdir)/$$lang.gmo.m ; then \
563- $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
564- $$dir/$(GETTEXT_PACKAGE).mo.m; \
565- echo "installing $(srcdir)/$$lang.gmo.m as" \
566- "$$dir/$(GETTEXT_PACKAGE).mo.m"; \
567- else \
568- true; \
569- fi; \
570- fi; \
571- done
572-
573-# Empty stubs to satisfy archaic automake needs
574-dvi info ctags tags CTAGS TAGS ID:
575-
576-# Define this as empty until I found a useful application.
577-install-exec installcheck:
578-
579-uninstall:
580- linguas="$(USE_LINGUAS)"; \
581- for lang in $$linguas; do \
582- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
583- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
584- done
585-
586-check: all $(GETTEXT_PACKAGE).pot
587- rm -f missing notexist
588- srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
589- if [ -r missing -o -r notexist ]; then \
590- exit 1; \
591- fi
592-
593-mostlyclean:
594- rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
595- rm -f .intltool-merge-cache
596-
597-clean: mostlyclean
598-
599-distclean: clean
600- rm -f Makefile Makefile.in POTFILES stamp-it
601- rm -f *.mo *.msg *.cat *.cat.m *.gmo
602-
603-maintainer-clean: distclean
604- @echo "This command is intended for maintainers to use;"
605- @echo "it deletes files that may require special tools to rebuild."
606- rm -f Makefile.in.in
607-
608-distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
609-dist distdir: $(DISTFILES)
610- dists="$(DISTFILES)"; \
611- extra_dists="$(EXTRA_DISTFILES)"; \
612- for file in $$extra_dists; do \
613- test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
614- done; \
615- for file in $$dists; do \
616- test -f $$file || file="$(srcdir)/$$file"; \
617- ln $$file $(distdir) 2> /dev/null \
618- || cp -p $$file $(distdir); \
619- done
620-
621-update-po: Makefile
622- $(MAKE) $(GETTEXT_PACKAGE).pot
623- tmpdir=`pwd`; \
624- linguas="$(USE_LINGUAS)"; \
625- for lang in $$linguas; do \
626- echo "$$lang:"; \
627- result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
628- if $$result; then \
629- if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
630- rm -f $$tmpdir/$$lang.new.po; \
631- else \
632- if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
633- :; \
634- else \
635- echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
636- rm -f $$tmpdir/$$lang.new.po; \
637- exit 1; \
638- fi; \
639- fi; \
640- else \
641- echo "msgmerge for $$lang.gmo failed!"; \
642- rm -f $$tmpdir/$$lang.new.po; \
643- fi; \
644- done
645-
646-Makefile POTFILES: stamp-it
647- @if test ! -f $@; then \
648- rm -f stamp-it; \
649- $(MAKE) stamp-it; \
650- fi
651-
652-stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
653- cd $(top_builddir) \
654- && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
655- $(SHELL) ./config.status
656-
657-# Tell versions [3.59,3.63) of GNU make not to export all variables.
658-# Otherwise a system limit (for SysV at least) may be exceeded.
659-.NOEXPORT:
660
661=== modified file 'po/POTFILES.in'
662--- po/POTFILES.in 2011-12-23 14:28:12 +0000
663+++ po/POTFILES.in 2012-10-04 14:34:23 +0000
664@@ -0,0 +1,1 @@
665+[type: gettext/xml]data/providers/google.provider.in

Subscribers

People subscribed via source and target branches