From 72576f439ad3eebc6947a50070f1ffabe2964b32 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 20 Aug 2013 13:24:19 +0200 Subject: fdo#67786 pocheck tool for checking translations Pootle has many checks, but there are cases which are not covered. Therefore I wrote a tool which checked three types of translation errors: 1. Unique style names. 2. Unique spreadsheet function names. 3. Missing trailing '|' in Windows installer translation. Usage: make cmd cmd=solver/*/bin/pocheck It checks all languages and prints the report to stdout. Change-Id: I89aad66ea41c0ebe4a6f45beaaf86afd1a6439cc --- l10ntools/Executable_pocheck.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 l10ntools/Executable_pocheck.mk (limited to 'l10ntools/Executable_pocheck.mk') diff --git a/l10ntools/Executable_pocheck.mk b/l10ntools/Executable_pocheck.mk new file mode 100644 index 000000000000..2619ac6f4b57 --- /dev/null +++ b/l10ntools/Executable_pocheck.mk @@ -0,0 +1,34 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Executable_Executable,pocheck)) + +$(eval $(call gb_Executable_set_include,pocheck,\ + -I$(SRCDIR)/l10ntools/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Executable_use_libraries,pocheck,\ + sal \ +)) + +$(eval $(call gb_Executable_use_static_libraries,pocheck,\ + transex \ +)) + +$(eval $(call gb_Executable_add_exception_objects,pocheck,\ + l10ntools/source/pocheck \ +)) + +$(eval $(call gb_Executable_use_externals,pocheck,\ + boost_headers \ + libxml2 \ +)) + +# vim:set noet sw=4 ts=4: -- cgit