Merge lp:~dobey/indicator-power/fix-i18n into lp:indicator-power

Proposed by dobey on 2017-02-07
Status: Superseded
Proposed branch: lp:~dobey/indicator-power/fix-i18n
Merge into: lp:indicator-power
Diff against target: 522 lines (+258/-165)
10 files modified
.bzrignore (+4/-0)
CMakeLists.txt (+9/-20)
cmake/GCov.cmake (+0/-51)
cmake/Translations.cmake (+0/-37)
debian/control (+7/-5)
po/CMakeLists.txt (+12/-3)
po/POTFILES.in (+0/-4)
po/indicator-power.pot (+217/-0)
tests/CMakeLists.txt (+9/-7)
tests/Makefile.am.strings (+0/-38)
To merge this branch: bzr merge lp:~dobey/indicator-power/fix-i18n
Reviewer Review Type Date Requested Status
Indicator Applet Developers 2017-02-07 Pending
Review via email: mp+316623@code.launchpad.net

Commit message

Use intltool support from cmake-extras.

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2017-02-07 20:21:19 +0000
4@@ -0,0 +1,4 @@
5+build/
6+po/Makefile.in.in
7+po/POTFILES.in
8+
9
10=== modified file 'CMakeLists.txt'
11--- CMakeLists.txt 2016-05-16 18:09:57 +0000
12+++ CMakeLists.txt 2017-02-07 20:21:19 +0000
13@@ -13,9 +13,6 @@
14 -DLOW_BATTERY_SOUND="Low battery.ogg"
15 )
16
17-option (enable_tests "Build the package's automatic tests." ON)
18-option (enable_lcov "Generate lcov code coverage reports." ON)
19-
20 set(SERVICE_LIB "indicatorpowerservice")
21 set(SERVICE_EXEC "indicator-power-service")
22 add_definitions(-DSERVICE_EXEC="${SERVICE_EXEC}")
23@@ -59,9 +56,6 @@
24 COMMAND bzr export --root=${ARCHIVE_NAME} ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.gz
25 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
26
27-add_custom_target (clean-coverage
28- COMMAND find ${CMAKE_BINARY_DIR} -name '*.gcda' | xargs rm -f)
29-
30 add_custom_target (cppcheck COMMAND cppcheck --enable=all -q --error-exitcode=2 --inline-suppr
31 ${CMAKE_SOURCE_DIR}/src
32 ${CMAKE_SOURCE_DIR}/tests)
33@@ -83,22 +77,17 @@
34 include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
35 include_directories (${CMAKE_CURRENT_BINARY_DIR}/include)
36
37-# testing & coverage
38-if (${enable_tests})
39- set (GTEST_SOURCE_DIR /usr/src/gtest/src)
40- set (GTEST_INCLUDE_DIR ${GTEST_SOURCE_DIR}/..)
41- set (GTEST_LIBS -lpthread)
42- enable_testing ()
43- if (${enable_lcov})
44- include(GCov)
45- endif ()
46-endif ()
47-
48 # actually build things
49 add_subdirectory(src)
50 add_subdirectory(data)
51 add_subdirectory(po)
52-if (${enable_tests})
53- add_subdirectory(tests)
54-endif ()
55
56+# testing & coverage
57+enable_testing ()
58+add_subdirectory(tests)
59+find_package(CoverageReport)
60+ENABLE_COVERAGE_REPORT(
61+ TARGETS ${SERVICE_LIB} ${SERVICE_EXEC}
62+ TESTS ${COVERAGE_TEST_TARGETS}
63+ FILTER /usr/include ${CMAKE_BINARY_DIR}/*
64+)
65
66=== removed file 'cmake/GCov.cmake'
67--- cmake/GCov.cmake 2014-07-14 04:43:41 +0000
68+++ cmake/GCov.cmake 1970-01-01 00:00:00 +0000
69@@ -1,51 +0,0 @@
70-if (CMAKE_BUILD_TYPE MATCHES coverage)
71- set(GCOV_FLAGS "${GCOV_FLAGS} --coverage")
72- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCOV_FLAGS}")
73- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${GCOV_FLAGS}")
74- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${GCOV_FLAGS}")
75- set(GCOV_LIBS ${GCOV_LIBS} gcov)
76-
77- find_program(GCOVR_EXECUTABLE gcovr HINTS ${GCOVR_ROOT} "${GCOVR_ROOT}/bin")
78- if (NOT GCOVR_EXECUTABLE)
79- message(STATUS "Gcovr binary was not found, can not generate XML coverage info.")
80- else ()
81- message(STATUS "Gcovr found, can generate XML coverage info.")
82- add_custom_target (coverage-xml
83- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
84- COMMAND "${GCOVR_EXECUTABLE}" --exclude="test.*" -x -r "${CMAKE_SOURCE_DIR}"
85- --object-directory=${CMAKE_BINARY_DIR} -o coverage.xml)
86- endif()
87-
88- find_program(LCOV_EXECUTABLE lcov HINTS ${LCOV_ROOT} "${GCOVR_ROOT}/bin")
89- find_program(GENHTML_EXECUTABLE genhtml HINTS ${GENHTML_ROOT})
90- if (NOT LCOV_EXECUTABLE)
91- message(STATUS "Lcov binary was not found, can not generate HTML coverage info.")
92- else ()
93- if(NOT GENHTML_EXECUTABLE)
94- message(STATUS "Genthml binary not found, can not generate HTML coverage info.")
95- else()
96- message(STATUS "Lcov and genhtml found, can generate HTML coverage info.")
97- add_custom_target (coverage-html
98- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
99- COMMAND "${CMAKE_CTEST_COMMAND}" --force-new-ctest-process --verbose
100- COMMAND "${LCOV_EXECUTABLE}" --directory ${CMAKE_BINARY_DIR} --capture | ${CMAKE_SOURCE_DIR}/trim-lcov.py > dconf-lcov.info
101- COMMAND "${LCOV_EXECUTABLE}" -r dconf-lcov.info /usr/include/\\* -o nosys-lcov.info
102- COMMAND LANG=C "${GENHTML_EXECUTABLE}" --prefix ${CMAKE_BINARY_DIR} --output-directory lcov-html --legend --show-details nosys-lcov.info
103- COMMAND ${CMAKE_COMMAND} -E echo ""
104- COMMAND ${CMAKE_COMMAND} -E echo "file://${CMAKE_BINARY_DIR}/lcov-html/index.html"
105- COMMAND ${CMAKE_COMMAND} -E echo "")
106- #COMMAND "${LCOV_EXECUTABLE}" --directory ${CMAKE_BINARY_DIR} --capture --output-file coverage.info --no-checksum
107- #COMMAND "${GENHTML_EXECUTABLE}" --prefix ${CMAKE_BINARY_DIR} --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
108- #COMMAND ${CMAKE_COMMAND} -E echo "\\#define foo \\\"bar\\\""
109- #)
110- endif()
111- endif()
112-endif()
113-
114-
115- #$(MAKE) $(AM_MAKEFLAGS) check
116- #lcov --directory $(top_builddir) --capture --test-name dconf | $(top_srcdir)/trim-lcov.py > dconf-lcov.info
117- #LANG=C genhtml --prefix $(top_builddir) --output-directory lcov-html --legend --show-details dconf-lcov.info
118- #@echo
119- #@echo " file://$(abs_top_builddir)/lcov-html/index.html"
120- #@echo
121
122=== removed file 'cmake/Translations.cmake'
123--- cmake/Translations.cmake 2014-08-09 23:19:02 +0000
124+++ cmake/Translations.cmake 1970-01-01 00:00:00 +0000
125@@ -1,37 +0,0 @@
126-# Translations.cmake, CMake macros written for Marlin, feel free to re-use them
127-
128-macro(add_translations_directory NLS_PACKAGE)
129- add_custom_target (i18n ALL)
130- find_program (MSGFMT_EXECUTABLE msgfmt)
131- file (GLOB PO_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.po)
132- foreach (PO_INPUT ${PO_FILES})
133- get_filename_component (PO_INPUT_BASE ${PO_INPUT} NAME_WE)
134- set (MO_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PO_INPUT_BASE}.mo)
135- add_custom_command (TARGET i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT})
136-
137- install (FILES ${MO_OUTPUT} DESTINATION
138- ${CMAKE_INSTALL_LOCALEDIR}/${PO_INPUT_BASE}/LC_MESSAGES
139- RENAME ${NLS_PACKAGE}.mo)
140- endforeach (PO_INPUT ${PO_FILES})
141-endmacro(add_translations_directory)
142-
143-
144-macro(add_translations_catalog NLS_PACKAGE)
145- add_custom_target (pot COMMENT “Building translation catalog.”)
146- find_program (XGETTEXT_EXECUTABLE xgettext)
147-
148- # init this list, which will hold all the sources across all dirs
149- set(SOURCES "")
150-
151- # add each directory's sources to the overall sources list
152- foreach(FILES_INPUT ${ARGN})
153- set (DIR ${CMAKE_CURRENT_SOURCE_DIR}/${FILES_INPUT})
154- file (GLOB_RECURSE DIR_SOURCES ${DIR}/*.c ${DIR}/*.cc ${DIR}/*.cpp ${DIR}/*.cxx ${DIR}/*.vala)
155- set (SOURCES ${SOURCES} ${DIR_SOURCES})
156- endforeach()
157-
158- add_custom_command (TARGET pot COMMAND
159- ${XGETTEXT_EXECUTABLE} -d ${NLS_PACKAGE} -o ${CMAKE_CURRENT_SOURCE_DIR}/${NLS_PACKAGE}.pot
160- ${SOURCES} --keyword="_" --keyword="N_" --from-code=UTF-8
161- )
162-endmacro()
163
164=== modified file 'debian/control'
165--- debian/control 2016-07-19 10:25:12 +0000
166+++ debian/control 2017-02-07 20:21:19 +0000
167@@ -3,6 +3,12 @@
168 Priority: optional
169 Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
170 Build-Depends: cmake,
171+ cmake-extras (>= 0.10),
172+ debhelper (>= 9),
173+ dh-translations,
174+ gcovr,
175+ intltool,
176+ lcov,
177 libnotify-dev (>= 0.7.6),
178 libglib2.0-dev (>= 2.36),
179 libgudev-1.0-dev,
180@@ -10,12 +16,8 @@
181 python:any,
182 # for com.ubuntu.touch.AccountsService.Sound.xml
183 accountsservice-ubuntu-schemas,
184-# for packaging
185- debhelper (>= 9),
186- dh-translations,
187- intltool,
188 # for tests
189- libgtest-dev,
190+ googletest | google-mock,
191 python3-dbusmock,
192 dbus-test-runner,
193 libdbustest1-dev,
194
195=== modified file 'po/CMakeLists.txt'
196--- po/CMakeLists.txt 2014-07-16 23:29:24 +0000
197+++ po/CMakeLists.txt 2017-02-07 20:21:19 +0000
198@@ -1,3 +1,12 @@
199-include (Translations)
200-add_translations_directory ("${GETTEXT_PACKAGE}")
201-add_translations_catalog ("${GETTEXT_PACKAGE}" ../src/)
202+find_package(Intltool REQUIRED)
203+
204+intltool_update_potfile(
205+ KEYWORDS "_" "_:1,2" "N_" "N_:1,2"
206+ GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
207+ COPYRIGHT_HOLDER "Canonical Ltd."
208+)
209+
210+intltool_install_translations(
211+ ALL
212+ GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
213+)
214
215=== removed file 'po/POTFILES.in'
216--- po/POTFILES.in 2014-10-14 09:00:13 +0000
217+++ po/POTFILES.in 1970-01-01 00:00:00 +0000
218@@ -1,4 +0,0 @@
219-data/com.canonical.indicator.power.gschema.xml.in
220-src/device.c
221-src/notifier.c
222-src/service.c
223
224=== added file 'po/indicator-power.pot'
225--- po/indicator-power.pot 1970-01-01 00:00:00 +0000
226+++ po/indicator-power.pot 2017-02-07 20:21:19 +0000
227@@ -0,0 +1,217 @@
228+# SOME DESCRIPTIVE TITLE.
229+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
230+# This file is distributed under the same license as the PACKAGE package.
231+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
232+#
233+#, fuzzy
234+msgid ""
235+msgstr ""
236+"Project-Id-Version: PACKAGE VERSION\n"
237+"Report-Msgid-Bugs-To: \n"
238+"POT-Creation-Date: 2017-02-07 15:18-0500\n"
239+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
240+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
241+"Language-Team: LANGUAGE <LL@li.org>\n"
242+"Language: \n"
243+"MIME-Version: 1.0\n"
244+"Content-Type: text/plain; charset=UTF-8\n"
245+"Content-Transfer-Encoding: 8bit\n"
246+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
247+
248+#. TRANSLATORS: system power cord
249+#: ../src/device.c:524
250+msgid "AC Adapter"
251+msgstr ""
252+
253+#. TRANSLATORS: laptop primary battery
254+#: ../src/device.c:528 ../src/service.c:442
255+msgid "Battery"
256+msgstr ""
257+
258+#. TRANSLATORS: battery-backed AC power source
259+#: ../src/device.c:532
260+msgid "UPS"
261+msgstr ""
262+
263+#. TRANSLATORS: a monitor is a device to measure voltage and current
264+#: ../src/device.c:536
265+msgid "Monitor"
266+msgstr ""
267+
268+#. TRANSLATORS: wireless mice with internal batteries
269+#: ../src/device.c:540
270+msgid "Mouse"
271+msgstr ""
272+
273+#. TRANSLATORS: wireless keyboard with internal battery
274+#: ../src/device.c:544
275+msgid "Keyboard"
276+msgstr ""
277+
278+#. TRANSLATORS: portable device
279+#: ../src/device.c:548
280+msgid "PDA"
281+msgstr ""
282+
283+#. TRANSLATORS: cell phone (mobile...)
284+#: ../src/device.c:552
285+msgid "Cell phone"
286+msgstr ""
287+
288+#. TRANSLATORS: media player, mp3 etc
289+#: ../src/device.c:556
290+msgid "Media player"
291+msgstr ""
292+
293+#. TRANSLATORS: tablet device
294+#: ../src/device.c:560
295+msgid "Tablet"
296+msgstr ""
297+
298+#. TRANSLATORS: tablet device
299+#: ../src/device.c:564
300+msgid "Computer"
301+msgstr ""
302+
303+#. TRANSLATORS: unknown device
304+#: ../src/device.c:568
305+msgid "Unknown"
306+msgstr ""
307+
308+#: ../src/device.c:608
309+#, c-format
310+msgid "estimating…"
311+msgstr ""
312+
313+#: ../src/device.c:612
314+#, c-format
315+msgid "unknown"
316+msgstr ""
317+
318+#. TRANSLATORS: H:MM (hours, minutes) to charge the battery. Example: "1:30 to charge"
319+#: ../src/device.c:641
320+#, c-format
321+msgid "%0d:%02d to charge"
322+msgstr ""
323+
324+#. TRANSLATORS: H:MM (hours, minutes) to discharge the battery. Example: "1:30 left"
325+#: ../src/device.c:646
326+#, c-format
327+msgid "%0d:%02d left"
328+msgstr ""
329+
330+#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) to charge" the battery.
331+#. Example: "1 hour 10 minutes to charge"
332+#: ../src/device.c:681
333+#, c-format
334+msgid "%d %s %d %s to charge"
335+msgstr ""
336+
337+#: ../src/device.c:682 ../src/device.c:700
338+msgid "hour"
339+msgid_plural "hours"
340+msgstr[0] ""
341+msgstr[1] ""
342+
343+#: ../src/device.c:683 ../src/device.c:690 ../src/device.c:701
344+#: ../src/device.c:708
345+msgid "minute"
346+msgid_plural "minutes"
347+msgstr[0] ""
348+msgstr[1] ""
349+
350+#. TRANSLATORS: "Y (minute,minutes) to charge" the battery.
351+#. Example: "59 minutes to charge"
352+#: ../src/device.c:689
353+#, c-format
354+msgid "%d %s to charge"
355+msgstr ""
356+
357+#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) left" until the battery's empty.
358+#. Example: "1 hour 10 minutes left"
359+#: ../src/device.c:699
360+#, c-format
361+msgid "%d %s %d %s left"
362+msgstr ""
363+
364+#. TRANSLATORS: "Y (minute,minutes) left" until the battery's empty.
365+#. Example: "59 minutes left"
366+#: ../src/device.c:707
367+#, c-format
368+msgid "%d %s left"
369+msgstr ""
370+
371+#. TRANSLATORS: example: "battery (charged)"
372+#: ../src/device.c:764
373+#, c-format
374+msgid "%s (charged)"
375+msgstr ""
376+
377+#. TRANSLATORS: example: "battery (time remaining)"
378+#: ../src/device.c:781
379+#, c-format
380+msgid "%s (%s)"
381+msgstr ""
382+
383+#. TRANSLATORS: after the icon, a time-remaining string + battery %. Example: "(0:59, 33%)"
384+#: ../src/device.c:853
385+#, c-format
386+msgid "(%s, %.0lf%%)"
387+msgstr ""
388+
389+#. TRANSLATORS: after the icon, a time-remaining string Example: "(0:59)"
390+#: ../src/device.c:858
391+#, c-format
392+msgid "(%s)"
393+msgstr ""
394+
395+#. TRANSLATORS: after the icon, a battery %. Example: "(33%)"
396+#: ../src/device.c:863
397+#, c-format
398+msgid "(%.0lf%%)"
399+msgstr ""
400+
401+#: ../src/notifier.c:286
402+msgid "Battery Low"
403+msgstr ""
404+
405+#: ../src/notifier.c:287
406+msgid "Battery Critical"
407+msgstr ""
408+
409+#: ../src/notifier.c:289
410+#, c-format
411+msgid "%.0f%% charge remaining"
412+msgstr ""
413+
414+#: ../src/notifier.c:321
415+msgid "OK"
416+msgstr ""
417+
418+#: ../src/notifier.c:322
419+msgid "Battery settings"
420+msgstr ""
421+
422+#: ../src/service.c:567
423+msgid "Charge level"
424+msgstr ""
425+
426+#: ../src/service.c:635
427+msgid "Show Time in Menu Bar"
428+msgstr ""
429+
430+#: ../src/service.c:639
431+msgid "Show Percentage in Menu Bar"
432+msgstr ""
433+
434+#: ../src/service.c:643
435+msgid "Power Settings…"
436+msgstr ""
437+
438+#: ../src/service.c:669
439+msgid "Adjust brightness automatically"
440+msgstr ""
441+
442+#: ../src/service.c:675
443+msgid "Battery settings…"
444+msgstr ""
445
446=== modified file 'tests/CMakeLists.txt'
447--- tests/CMakeLists.txt 2016-05-16 17:59:03 +0000
448+++ tests/CMakeLists.txt 2017-02-07 20:21:19 +0000
449@@ -1,9 +1,5 @@
450-# build libgtest
451-add_library (gtest STATIC
452- ${GTEST_SOURCE_DIR}/gtest-all.cc
453- ${GTEST_SOURCE_DIR}/gtest_main.cc)
454-set_target_properties (gtest PROPERTIES INCLUDE_DIRECTORIES ${INCLUDE_DIRECTORIES} ${GTEST_INCLUDE_DIR})
455-set_target_properties (gtest PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS} -w)
456+find_package(GMock)
457+include_directories(${GMOCK_INCLUDE_DIRS})
458
459 # dbustest
460 pkg_check_modules(DBUSTEST REQUIRED
461@@ -47,11 +43,17 @@
462
463 function(add_test_by_name name)
464 set (TEST_NAME ${name})
465+ set (COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME} PARENT_SCOPE)
466 add_executable (${TEST_NAME} ${TEST_NAME}.cc gschemas.compiled)
467 add_test (${TEST_NAME} ${TEST_NAME})
468 add_dependencies (${TEST_NAME} ${SERVICE_LIB})
469- target_link_libraries (${TEST_NAME} ${SERVICE_LIB} gtest ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS})
470+ target_link_libraries (${TEST_NAME} ${SERVICE_LIB} ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GMOCK_LIBRARIES})
471 endfunction()
472 add_test_by_name(test-notify)
473 add_test(NAME dear-reader-the-next-test-takes-80-seconds COMMAND true)
474 add_test_by_name(test-device)
475+
476+set(COVERAGE_TEST_TARGETS
477+ ${COVERAGE_TEST_TARGETS}
478+ PARENT_SCOPE
479+)
480
481=== removed file 'tests/Makefile.am.strings'
482--- tests/Makefile.am.strings 2012-05-24 14:49:30 +0000
483+++ tests/Makefile.am.strings 1970-01-01 00:00:00 +0000
484@@ -1,38 +0,0 @@
485-TESTS += \
486- test-ellipsis \
487- test-space-ellipsis \
488- test-ascii-quotes
489-
490-#####
491-# Tests for there being proper ellipsis instead of three periods in a row
492-#####
493-test-ellipsis: $(top_srcdir)/po
494- @echo "#!/bin/bash" > $@
495- @echo "(cd $(top_srcdir)/po && make $(GETTEXT_PACKAGE).pot)" >> $@
496- @echo "grep -c -e \"^msgid.*\.\.\.\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"Ellipsis found in user visible strings\" >&2 && exit 1" >> $@
497- @echo "exit 0" >> $@
498- @chmod +x $@
499-
500-#####
501-# Tests for there being a space before an ellipsis
502-#####
503-test-space-ellipsis: $(top_srcdir)/po
504- @echo "#!/bin/bash" > $@
505- @echo "(cd $(top_srcdir)/po && make $(GETTEXT_PACKAGE).pot)" >> $@
506- @echo "grep -c -e \"^msgid.* …\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"Space before ellipsis found in user visible strings\" >&2 && exit 1" >> $@
507- @echo "exit 0" >> $@
508- @chmod +x $@
509-
510-#####
511-# Tests for ASCII quote types
512-#####
513-test-ascii-quotes: $(top_srcdir)/po
514- @echo "#!/bin/bash" > $@
515- @echo "(cd $(top_srcdir)/po && make $(GETTEXT_PACKAGE).pot)" >> $@
516- @echo "grep -c -e \"^msgid \\\".*'.*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII apostrophy found in user visible strings\" >&2 && exit 1" >> $@
517- @echo "grep -c -e \"^msgid \\\".*\\\".*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII quote found in user visible strings\" >&2 && exit 1" >> $@
518- @echo "grep -c -e \"^msgid \\\".*\\\`.*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII backtick found in user visible strings\" >&2 && exit 1" >> $@
519- @echo "exit 0" >> $@
520- @chmod +x $@
521-
522-CLEANFILES += $(TESTS)

Subscribers

People subscribed via source and target branches