From 2880d4950edf2111091e29e7b71af293f039d92d Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 2 Jan 2016 16:02:04 +0100 Subject: [PATCH] Added translation. --- Makefile.am | 2 +- configure.ac | 4 ++++ po/LINGUAS | 1 + po/POTFILES.in | 3 +++ po/it.po | 30 ++++++++++++++++++++++++++++++ 5 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES.in create mode 100644 po/it.po diff --git a/Makefile.am b/Makefile.am index c90089c..a7f5ad7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = src tests +SUBDIRS = po src tests ACLOCAL_AMFLAGS = -I m4 diff --git a/configure.ac b/configure.ac index 04b7133..914d792 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,9 @@ AC_PROG_MAKE_SET AC_PROG_LIBTOOL AC_PROG_RANLIB +GTK_DOC_CHECK(1.0) +IT_PROG_INTLTOOL + dnl ****************************** dnl Translations dnl ****************************** @@ -94,6 +97,7 @@ AM_CONDITIONAL(PLATFORM_WIN32, [test $platform_win32 = yes]) AC_CONFIG_FILES([ libgdaexgrid.pc Makefile + po/Makefile.in src/Makefile tests/Makefile ]) diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..7d5856f --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +it diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..ccce806 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,3 @@ +# List of source files which contain translatable strings. +src/grid.c +src/gridcolumn.c diff --git a/po/it.po b/po/it.po new file mode 100644 index 0000000..c125625 --- /dev/null +++ b/po/it.po @@ -0,0 +1,30 @@ +# libgdaexgrid italian translation +# Copyright (C) 2015-2016 Andrea Zagli +# This file is distributed under the same license as the libgdaexgrid package. +# Andrea Zagli , 2015-2016. +# +msgid "" +msgstr "" +"Project-Id-Version: libgdaexgrid 0.0.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-01-02 15:59+0100\n" +"PO-Revision-Date: 2016-01-02 12:44+0200\n" +"Last-Translator: Andrea Zagli \n" +"Language-Team: Italian \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../src/grid.c:712 +msgid "_Columns" +msgstr "_Colonne" + +#: ../src/grid.c:786 +msgid "_Print..." +msgstr "_Stampa..." + +#: ../src/grid.c:795 +msgid "_Export..." +msgstr "_Esporta..." -- 2.49.0