diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:13:13 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:13:13 +0900 |
commit | f6ab9b5e93dd0c3a914e59086b007f8b6b797165 (patch) | |
tree | 258c5df9b377f6970ad4e0986ee1babb709f129d /tests/cases | |
parent | 71070d2cd3b5e10eb1528f9ee0c648c2c2fc462d (diff) | |
download | intltool-f6ab9b5e93dd0c3a914e59086b007f8b6b797165.tar.gz intltool-f6ab9b5e93dd0c3a914e59086b007f8b6b797165.tar.bz2 intltool-f6ab9b5e93dd0c3a914e59086b007f8b6b797165.zip |
Tizen 2.1 basesubmit/tizen_2.2/20130710.074929submit/tizen_2.1/20130423.103238accepted/tizen_2.1/20130423.1515502.2_release2.2.1_release2.1b_releasetizen_2.2tizen_2.1
Diffstat (limited to 'tests/cases')
43 files changed, 1739 insertions, 0 deletions
diff --git a/tests/cases/Makefile.am b/tests/cases/Makefile.am new file mode 100644 index 0000000..bccb9ce --- /dev/null +++ b/tests/cases/Makefile.am @@ -0,0 +1,72 @@ +NULL = + +EXTRA_DIST = \ + az.po \ + context.xml.in \ + extract-comments.xml \ + extract1.desktop \ + extract10.templates_ \ + extract13.desktop.in \ + extract3.xml.in \ + extract6.glade \ + extract7.xml \ + extract8.glade \ + extract9.po \ + extract9.xml.in \ + extract12.xml.in \ + extract14.xml.in \ + fr.po \ + fr_BE.po \ + fr_FR.po \ + iso88591text.xml.in \ + merge-cdata.xml.in \ + merge-deepattr.xml.in \ + merge1.xml.in \ + merge10.templates_ \ + merge11.xml.in \ + merge12.xml.in \ + merge4.xml.in \ + merge5p.sheet.in \ + merge5u.sheet.in \ + merge6.po \ + merge6.xml.in \ + merge7.xml.in \ + merge8.keys.in \ + schemasmerge1.po \ + schemasmerge2.po \ + space-preserve.xml.in \ + spacepreserve.po \ + test-quoted.dtd \ + test-quoted.po \ + test.po \ + test.schemas.in \ + test.scm \ + unicodetext.xml.in \ + $(NULL) + +CLEANFILES = \ + context.xml \ + context.xml.in.h \ + extract-comments.xml.h \ + extract1.desktop.h \ + extract10.templates_.h \ + extract12.xml.in.h \ + extract13.desktop \ + extract13.desktop.in.h \ + extract14.xml.in.h \ + extract9.xml \ + extract9.xml.in.h \ + iso88591text.xml.in.h \ + merge-cdata.xml \ + merge-deepattr.xml \ + merge10.templates \ + merge11.xml \ + merge12.xml \ + space-preserve.xml.in.h \ + space-preserve.xml \ + test-quoted.dtd.h \ + test.schemas \ + test.schemas.in.h \ + test.scm.h \ + unicodetext.xml.in.h \ + $(NULL) diff --git a/tests/cases/Makefile.in b/tests/cases/Makefile.in new file mode 100644 index 0000000..0323bd9 --- /dev/null +++ b/tests/cases/Makefile.in @@ -0,0 +1,350 @@ +# Makefile.in generated by automake 1.10.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = tests/cases +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +pkgdatadir = @pkgdatadir@ +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +aclocaldir = @aclocaldir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +EXTRA_DIST = \ + az.po \ + context.xml.in \ + extract-comments.xml \ + extract1.desktop \ + extract10.templates_ \ + extract13.desktop.in \ + extract3.xml.in \ + extract6.glade \ + extract7.xml \ + extract8.glade \ + extract9.po \ + extract9.xml.in \ + extract12.xml.in \ + extract14.xml.in \ + fr.po \ + fr_BE.po \ + fr_FR.po \ + iso88591text.xml.in \ + merge-cdata.xml.in \ + merge-deepattr.xml.in \ + merge1.xml.in \ + merge10.templates_ \ + merge11.xml.in \ + merge12.xml.in \ + merge4.xml.in \ + merge5p.sheet.in \ + merge5u.sheet.in \ + merge6.po \ + merge6.xml.in \ + merge7.xml.in \ + merge8.keys.in \ + schemasmerge1.po \ + schemasmerge2.po \ + space-preserve.xml.in \ + spacepreserve.po \ + test-quoted.dtd \ + test-quoted.po \ + test.po \ + test.schemas.in \ + test.scm \ + unicodetext.xml.in \ + $(NULL) + +CLEANFILES = \ + context.xml \ + context.xml.in.h \ + extract-comments.xml.h \ + extract1.desktop.h \ + extract10.templates_.h \ + extract12.xml.in.h \ + extract13.desktop \ + extract13.desktop.in.h \ + extract14.xml.in.h \ + extract9.xml \ + extract9.xml.in.h \ + iso88591text.xml.in.h \ + merge-cdata.xml \ + merge-deepattr.xml \ + merge10.templates \ + merge11.xml \ + merge12.xml \ + space-preserve.xml.in.h \ + space-preserve.xml \ + test-quoted.dtd.h \ + test.schemas \ + test.schemas.in.h \ + test.scm.h \ + unicodetext.xml.in.h \ + $(NULL) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/cases/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign tests/cases/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/tests/cases/az.po b/tests/cases/az.po new file mode 100644 index 0000000..e2f78c7 --- /dev/null +++ b/tests/cases/az.po @@ -0,0 +1,39 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2001-08-18 16:07GMT+0200\n" +"Last-Translator: Vasif İsmayıloğlu MD <azerb_linux@hotmail.com>\n" +"Language-Team: Azerbaijani Turkish <linuxaz@azerimail.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 0.8\n" + +#: po/merge5.sheet.h:1 +msgid "ThisSheet" +msgstr "BuLay" + +#: po/merge5.sheet.h:2 +msgid "This is a sheet for testing" +msgstr "Bu lay sınaq üçündür" + +#: po/merge5.sheet.h:3 +msgid "A cake mixer" +msgstr "Kökə qarışdırıcı" + +#: cases/context.xml.in.h:1 +msgid "Bar" +msgstr "(not used, because no msgctxt)" + +#: cases/context.xml.in.h:2 +msgid "Baz" +msgstr "az-baz" + +#: cases/context.xml.in.h:3 +msgid "Foo" +msgstr "az-foo" diff --git a/tests/cases/context.xml.in b/tests/cases/context.xml.in new file mode 100644 index 0000000..4b58d97 --- /dev/null +++ b/tests/cases/context.xml.in @@ -0,0 +1,17 @@ +<test> + <entry> + <_name>Foo</_name> + </entry> + <entry> + <!-- This is the comment on the first Bar --> + <_name msgctxt="1">Bar</_name> + </entry> + <entry> + <!-- This is the comment on the second Bar --> + <_name msgctxt="2">Bar</_name> + </entry> + <entry> + <!-- This is the comment on Baz --> + <_name>Baz</_name> + </entry> +</test> diff --git a/tests/cases/extract-comments.xml b/tests/cases/extract-comments.xml new file mode 100644 index 0000000..c54f803 --- /dev/null +++ b/tests/cases/extract-comments.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<dummy> + +<!-- This comment is ignored --> + +<!-- This comment is not ignored --> + +<_translate>First thing to translate</_translate> + +<!-- This is multi line comment for the following string; + second line of multi-line comment --> +<_translate>Something to translate</_translate> + +<!-- If comment doesn't end on the previous line, it should be handled + correctly --> <_translate>Final thing to translate</_translate> + +<_translate>This doesn't have a comment for translators</_translate> + +<!-- This comment is not ignored even if it contains > (greater than) +sign in it, and the following string shows up as well --> +<_translate>Dum-dee-dum</_translate> + +<tagnotmarked _markedattribute="attribute without comment">some content</tagnotmarked> + +<!-- This comment will appear if attributes can be commented about --> +<tagnotmarked _markedattribute="attribute with comment">more content</tagnotmarked> + +<!-- Comment for *both* attributes and content --> +<_translate _markedattribute="attribute value">even more content</_translate> + +</dummy> diff --git a/tests/cases/extract1.desktop b/tests/cases/extract1.desktop new file mode 100644 index 0000000..e53ee79 --- /dev/null +++ b/tests/cases/extract1.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=Nautilus +_Comment=Nautilus File Manager and Graphic Shell +TryExec=run-nautilus +Exec=run-nautilus +Icon=nautilus-launch-icon.png +Terminal=0 +Type=Application diff --git a/tests/cases/extract10.templates_ b/tests/cases/extract10.templates_ new file mode 100644 index 0000000..c7bbc47 --- /dev/null +++ b/tests/cases/extract10.templates_ @@ -0,0 +1,20 @@ +Template: timezoneconf/toplevel +Type: select +Choices: ${choices} +# This comment is inserted in PO files to help translators +_Default: US +_Description: Select Area + Please select your geographical area from the choices provided. If you + are in the United States, you can just use the US option. You can also + find UTC and GMT-offset zone settings in the Etc directory. + +Template: timezoneconf/zone +Type: select +Choices: ${choices} +_Description: Time zone + Please select the time zone that is appropriate for your location. + +Template: timezoneconf/month +Type: select +_Choices: January, February, March, April, May, June, July, August, September, October, November, December +_Description: Current month? diff --git a/tests/cases/extract12.xml.in b/tests/cases/extract12.xml.in new file mode 100644 index 0000000..00363ee --- /dev/null +++ b/tests/cases/extract12.xml.in @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<comps> +<test _attribute="" _other="Other attribute"></test> +<_name>Normal name</_name> +<_name></_name> +<_name>Other name</_name> +</comps> diff --git a/tests/cases/extract13.desktop.in b/tests/cases/extract13.desktop.in new file mode 100644 index 0000000..19021be --- /dev/null +++ b/tests/cases/extract13.desktop.in @@ -0,0 +1,26 @@ +[Desktop Entry] +Encoding=UTF-8 +# 1. This comment should NOT be extracted. +# 2. This comment should be extracted. +_Name=Find Files... +# 3. This comment should NOT be extracted. +# 4. This comment also should be extracted. +_Comment=Locate documents and folders on this computer by name or content +# 5. This comment should NOT be extracted. +Exec=gnome-search-tool +# 6. This comment should NOT be extracted. +Icon=gnome-searchtool +# 7. This comment should NOT be extracted. +Terminal=false +# 8. This comment should NOT be extracted. +Type=Application +# 9. This comment should NOT be extracted. +StartupNotify=true +# 10. This comment should NOT be extracted. +Categories=GNOME;GTK;Core; +# 11. This comment should NOT be extracted. +X-GNOME-DocPath=gnome-search-tool/gnome-search-tool.xml +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-utils +X-GNOME-Bugzilla-Component=gsearchtool +_X-Color=Blue diff --git a/tests/cases/extract14.xml.in b/tests/cases/extract14.xml.in new file mode 100644 index 0000000..f80385f --- /dev/null +++ b/tests/cases/extract14.xml.in @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<messages> + <attrmsg _value="The &lt; entity produces the < character" /> + <attrmsg _value="The &gt; entity produces the > character" /> + + <_childmsg> + The &lt; entity produces the < character + </_childmsg> + <_childmsg> + The &gt; entity produces the > character + </_childmsg> +</messages> diff --git a/tests/cases/extract3.xml.in b/tests/cases/extract3.xml.in new file mode 100644 index 0000000..b51fe21 --- /dev/null +++ b/tests/cases/extract3.xml.in @@ -0,0 +1,3 @@ +<sect> + <_title.-_:>Fax</_title.-_:> +</sect> diff --git a/tests/cases/extract6.glade b/tests/cases/extract6.glade new file mode 100644 index 0000000..7b4aa9e --- /dev/null +++ b/tests/cases/extract6.glade @@ -0,0 +1,4 @@ +<widget> + <message>Are you sure you want +to delete this contact?</message> +</widget> diff --git a/tests/cases/extract7.xml b/tests/cases/extract7.xml new file mode 100644 index 0000000..51b957e --- /dev/null +++ b/tests/cases/extract7.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gimp-tips> + +<!-- This is a list of tips for the GIMP. Every time the GIMP is --> +<!-- started, one tip will be selected from this file and will be --> +<!-- displayed in the "Tip of the day" dialog. --> + +<!-- The tips parser supports a very basic markup language. You may use --> +<!-- the tag b to specify bold text, big to increase the font size and --> +<!-- tt to switch to a monospace font. --> + + <tip level="start"> + <_welcome> + <big>Welcome to The GIMP !</big> + </_welcome> + <_thetip> + Nearly all image operations are performed by right-clicking + on the image. And don't worry, you can undo most mistakes... + </_thetip> + </tip> + +<!-- --> +<!-- Tips for beginners start here --> +<!-- (for people who are not familiar yet with layers and image formats) --> +<!-- --> + <tip level="beginner"> + <_thetip> + You can get context-sensitive help for most of the GIMP's features by + pressing the F1 key at any time. This also works inside the menus. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + The GIMP uses layers to let you organize your image. Think of them + as a stack of slides or filters, such that looking through them you + see a composite of their contents. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + You can perform many layer operations by right-clicking on the text + label of a layer in the "Layers, Channels and Paths" dialog. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + When you save an image to work on it again later, try using XCF, + the GIMP's native file format (use the file extension <tt>.xcf</tt>). + This preserves the layers and every aspect of your work-in-progress. + Once a project is completed, you can save it as JPEG, PNG, GIF, ... + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + The layer named "Background" it special because it lacks + transparency. This prevents you from adding a layer mask or moving + the layer up in the stack. You may add transparency to it by + right-clicking in the "Layers, Channels and Paths" dialog + and selecting "Add Alpha Channel". + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + Most plug-ins work on the current layer of the current image. In + some cases, you will have to merge all layers (Layers->Flatten Image) + if you want the plug-in to work on the whole image. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + Not all effects can be applied to all kinds of images. This is + indicated by a grayed-out menu-entry. You may need to change + the image mode to RGB (Image->Mode->RGB), add an alpha-channel + (Layers->Add Alpha Channel) or flatten it (Layers->Flatten Image). + </_thetip> + </tip> + +<!-- --> +<!-- (end of tips) --> +<!-- --> +</gimp-tips> diff --git a/tests/cases/extract8.glade b/tests/cases/extract8.glade new file mode 100644 index 0000000..cf5188c --- /dev/null +++ b/tests/cases/extract8.glade @@ -0,0 +1,122 @@ +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" > + +<glade-interface> + <widget class="GtkWindow" id="window1"> + <property name="title" translatable="yes">Testing</property> + <property name="border_width">10</property> + <property name="visible">yes</property> + + <accessibility> + <atkproperty name="AtkObject::accessible-name">Test Frame</atkproperty> + <atkproperty name="AtkObject::accessible-description"> + This is the first of two test windows. + </atkproperty> + </accessibility> + + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="spacing">5</property> + <property name="visible">yes</property> + + <child> + <widget class="GtkLabel" id="label1"> + <property name="label" translatable="yes" comments="Comment on <property> tag">A label</property> + <property name="visible">yes</property> + <accessibility> + <atkproperty name="AtkObject::accessible-name">A label</atkproperty> + <atkrelation target="button1" type="label_for"/> + </accessibility> + </widget> + <packing> + <property name="expand">no</property> + </packing> + </child> + <child> + <widget class="GtkButton" id="button1"> + <property name="tooltip">I am a tooltip</property> + <property name="visible">yes</property> + + <accessibility> + <atkproperty name="AtkObject::accessible-name">Push Me Button</atkproperty> + <atkproperty name="AtkObject::accessible-description"> + This button wants to be pushed. + </atkproperty> + <atkaction action_name="click" description="This button +dares you to invoke this action."/> + <atkaction action_name="press" description="This action +does nothing interesting."/> + <atkrelation target="label1" type="labelled_by"/> + </accessibility> + + <signal name="clicked" handler="gtk_main_quit" /> + + <child> + <widget class="GtkLabel" id="label2"> + <property name="label" translatable="yes" comments="Multiline comments +should be supported as well">_Push me</property> + <property name="use_underline">yes</property> + <property name="visible">yes</property> + </widget> + </child> + </widget> + </child> + </widget> + </child> + </widget> + + <widget class="GtkDialog" id="dialog1"> + <property name="title" translatable="yes">Testing2</property> + <property name="border_width">10</property> + <property name="visible">yes</property> + + <accessibility> + <atkproperty name="AtkObject::accessible-name">Testing 2</atkproperty> + <atkproperty name="AtkObject::accessible-description"> + This is the second of two test windows, a test dialog box. + </atkproperty> + </accessibility> + + <child internal-child="vbox"> + <widget class="GtkVBox" id="vbox2"> + <child> + <widget class="GtkLabel" id="label3"> + <property name="label" translatable="yes">Click the button below</property> + <property name="visible">yes</property> + <accessibility> + <atkrelation target="button2" type="label_for"/> + </accessibility> + </widget> + <packing> + <property name="expand">yes</property> + </packing> + </child> + <child internal-child="action_area"> + <widget class="GtkHButtonBox" id="buttonbox1"> + <child> + <widget class="GtkButton" id="button2"> + <property name="label">gtk-cancel</property> + <property name="use_stock">yes</property> + <property name="visible">yes</property> + + <accessibility> + <atkproperty name="AtkObject::accessible-name">Cancel</atkproperty> + <atkproperty name="AtkObject::accessible-description"> + Another button that does the same as the first one... + </atkproperty> + <atkaction action_name="click" description="Cancel (and exit) the test."/> + <atkaction action_name="press" description="This action +does nothing interesting."/> + <atkrelation target="label3" type="labelled_by"/> + </accessibility> + + <signal name="clicked" handler="gtk_main_quit" /> + </widget> + </child> + </widget> + </child> + </widget> + </child> + </widget> +</glade-interface> + diff --git a/tests/cases/extract9.po b/tests/cases/extract9.po new file mode 100644 index 0000000..ad8fef2 --- /dev/null +++ b/tests/cases/extract9.po @@ -0,0 +1,45 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2004-10-07 09:52+0200\n" +"PO-Revision-Date: 2004-10-07 09:52+0200\n" +"Last-Translator: Данило Шеган <danilo@gnome.org>\n" +"Language-Team: NONE <danilo@gnome.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: extract9.xml.h:1 +msgid "" +"\n" +"\n" +"\n" +" This tip should have lots of whitespace around it\n" +"\n" +"\n" +"\n" +" " +msgstr "" +"\n" +"\n" +"\n" +" Овај савет мора бити окружен са доста белина\n" +"\n" +"\n" +"\n" +" " + +#: extract9.xml.h:9 +msgid "" +"Nearly all image operations are performed by right-clicking on the image. " +"And don't worry, you can undo most mistakes." +msgstr "Готово све операције на сликама се обављају десним кликом на слику. И не брините, можете опозвати већину грешака." + +#: extract9.xml.h:10 +msgid "Welcome to The GIMP !" +msgstr "Добродошли у Гимп!" diff --git a/tests/cases/extract9.xml.in b/tests/cases/extract9.xml.in new file mode 100644 index 0000000..63b5430 --- /dev/null +++ b/tests/cases/extract9.xml.in @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- This test cases tests the use of the xml:space attribute --> +<gimp-tips> + <tip level="start"> + <_welcome> + + + + Welcome to The GIMP ! + + + + + </_welcome> + <_thetip xml:space="default"> + + + + Nearly all image operations are performed by right-clicking + on the image. And don't worry, you can undo most mistakes. + + + + </_thetip> + <_blah xml:space="preserve"> + + + This tip should have lots of whitespace around it + + + + </_blah> + </tip> +</gimp-tips> diff --git a/tests/cases/fr.po b/tests/cases/fr.po new file mode 100644 index 0000000..a6008d0 --- /dev/null +++ b/tests/cases/fr.po @@ -0,0 +1,79 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-01-06 23:16+0200\n" +"PO-Revision-Date: 2002-08-16 22:17+0200\n" +"Last-Translator: Denis Barbier <barbier@linuxfr.org>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Default +#. This comment is inserted in PO files to help translators +#: cases/extract10.templates_:5 +msgid "US" +msgstr "Europe" + +#. Description +#: cases/extract10.templates_:6 +msgid "Select Area" +msgstr "Slectionnez la zone" + +#. Description +#: cases/extract10.templates_:6 +msgid "" +"Please select your geographical area from the choices provided. If you are " +"in the United States, you can just use the US option. You can also find UTC " +"and GMT-offset zone settings in the Etc directory." +msgstr "" +"Veuillez slectionner votre zone gographique partir des choix proposs. " +"Vous pouvez galement trouver les paramtres de dcalage horaire UTC et GMT " +"dans le rpertoire /etc." + +#. Description +#: cases/extract10.templates_:14 +msgid "Time zone" +msgstr "Fuseau horaire" + +#. Description +#: cases/extract10.templates_:14 +msgid "Please select the time zone that is appropriate for your location." +msgstr "Veuillez slectionner le fuseau horaire appropri votre emplacement." + +#. Choices +#: cases/extract10.templates_:19 +msgid "" +"January, February, March, April, May, June, July, August, September, " +"October, November, December" +msgstr "" +"janvier, fvrier, mars, avril, mai, juin, juillet, aot, septembre, octobre, " +"novembre, dcembre" + +#. Description +#: cases/extract10.templates_:20 +msgid "Current month?" +msgstr "Mois en cours?" + +#: cases/context.xml.in.h:2 +msgctxt "1" +msgid "Bar" +msgstr "bar un" + +#: cases/context.xml.in.h:4 +msgctxt "2" +msgid "Bar" +msgstr "bar deux" + +#: cases/context.xml.in.h:6 +msgid "Baz" +msgstr "le baz" + +#: cases/context.xml.in.h:7 +msgid "Foo" +msgstr "le foo" diff --git a/tests/cases/fr_BE.po b/tests/cases/fr_BE.po new file mode 100644 index 0000000..8a87ef9 --- /dev/null +++ b/tests/cases/fr_BE.po @@ -0,0 +1,28 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2000-05-29 02:16+01:00\n" +"Last-Translator: Cyrille Chplov <chepelov@calixo.net>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: po/merge5.sheet.h:1 +msgid "ThisSheet" +msgstr "" + +#: po/merge5.sheet.h:2 +msgid "This is a sheet for testing" +msgstr "Ceci est une feuille pour tester" + +#: po/merge5.sheet.h:3 +msgid "A cake mixer" +msgstr "Un mlangeur ptisserie" + diff --git a/tests/cases/fr_FR.po b/tests/cases/fr_FR.po new file mode 100644 index 0000000..7d4098a --- /dev/null +++ b/tests/cases/fr_FR.po @@ -0,0 +1,28 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2000-05-29 02:16+01:00\n" +"Last-Translator: Cyrille Chépélov <chepelov@calixo.net>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: po/merge5.sheet.h:1 +msgid "ThisSheet" +msgstr "CetteFeuille" + +#: po/merge5.sheet.h:2 +msgid "This is a sheet for testing" +msgstr "Ceci est une feuille pour tester" + +#: po/merge5.sheet.h:3 +msgid "A cake mixer" +msgstr "Un mélangeur à pâtisserie" + diff --git a/tests/cases/iso88591text.xml.in b/tests/cases/iso88591text.xml.in new file mode 100644 index 0000000..cf3bea1 --- /dev/null +++ b/tests/cases/iso88591text.xml.in @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE gweather SYSTEM "locations.dtd"> +<gweather format="1.0"> +<!-- Here we demonstrate how intltools behave +when comments or _name names contain non-US-ASCII +characters. +--> +<region> + <_name>Europe</_name> + <country> + <city> + <!-- Translators: This is in France. --> + <_name>Chambry</_name> + <location> + <!-- Translators: This is in Chambry in France. --> + <_name>Aix-les-Bains</_name> + <code>LFLB</code> + <coordinates>45-39N 005-53E</coordinates> + </location> + </city> + </country> +</region> +</gweather> diff --git a/tests/cases/merge-cdata.xml.in b/tests/cases/merge-cdata.xml.in new file mode 100644 index 0000000..e84d090 --- /dev/null +++ b/tests/cases/merge-cdata.xml.in @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<foo> + <bar>This is a test<![CDATA[We use <bar> for testing]]></bar> + <![CDATA[More testing <foo test="1&2" /> for the masses.]]> +</foo> diff --git a/tests/cases/merge-deepattr.xml.in b/tests/cases/merge-deepattr.xml.in new file mode 100644 index 0000000..9d3f4f7 --- /dev/null +++ b/tests/cases/merge-deepattr.xml.in @@ -0,0 +1,5 @@ +<root> + <tag _translate="Time zone"> + <_translate>Select Area</_translate> + </tag> +</root> diff --git a/tests/cases/merge1.xml.in b/tests/cases/merge1.xml.in new file mode 100644 index 0000000..6dff40e --- /dev/null +++ b/tests/cases/merge1.xml.in @@ -0,0 +1,97 @@ +<Root> + <strings> + <str name="MSG_SaveFailed" + _value="Could not write to the file %s."/> + <str name="MSG_SaveFailedWrite" + _value.-_:="Writing error when attempting to save %s"/> + <str name="MSG_SaveFailedExport" + _value="Error while attempting to save %s: could not construct exporter"/> + </strings> + + <commands> + <cmd name="DLG_FileClose" + _label="_Close" + _tip="Close the current file" + pixtype="stock" pixname="Close" + accel="*Control*w"/> + </commands> + + <menu> + <submenu name="DLG_File" _label="_File"> + <menuitem name="DLG_FileNew" verb=""/> + + <separator/> + + <menuitem name="FileClose" verb=""/> + + <menuitem name="ViewZoom" verb="" + _label="_Zoom..." + _tip="Zoom the spreadsheet in or out"/> + + <menuitem name="ViewNewShared" verb="" + _label="New _Shared" + _tip="Create a new shared view of the workbook"/> + + <placeholder name="BuiltMenuItems"/> + + <menuitem name="HelpAbout" verb=""/> + + </submenu> + + </menu> + + <dockitem name="StandardToolbar" behavior="exclusive" homogeneous="0" + band_num="1" look="icon" relief="none"> + + <toolitem name="New" + pixtype="stock" pixname="New" + _label="New" + _tip="Create a new workbook" + verb="FileNew"/> + + <separator/> + + <toolitem name="Print" + pixtype="stock" pixname="Print" + _label="Print" + _tip="Print the workbook" + verb="FilePrint"/> + + <toolitem name="PrintPreview" + pixtype="file" _pixname="font-bold-f.png" + _label="Print Preview" + _tip="Print preview" + verb="FilePrintPreview"/> + + <separator/> + + <toolitem name="Copy" + pixtype="stock" pixname="Copy" + _label="Copy" + _tip="Copy the current selection to the clipboard" + verb="EditCopy"/> + + <control name="EditUndo" _tip="Undo the last action"/> + + <control name="EditRedo" _tip="Redo the undone action"/> + + <separator/> + + <toolitem name="Sum" + pixtype="stock" pixname="Gnumeric_AutoSum" + _label="Sum" + _tip="Sum into the current cell" + verb="AutoSum"/> + verb="InsertShapedComponent" behavior="pack-end"/> + + <control name="SheetZoom" + _tip="Zoom the spreadsheet in or out" + vdisplay="none" behavior="pack-end"/> + </dockitem> + + <status> + <item name="main"/> + <control name="Progress"/> + <control name="AutoExpr"/> + </status> +</Root> diff --git a/tests/cases/merge10.templates_ b/tests/cases/merge10.templates_ new file mode 100644 index 0000000..87d5408 --- /dev/null +++ b/tests/cases/merge10.templates_ @@ -0,0 +1,19 @@ +Template: timezoneconf/toplevel +Type: select +Choices: ${choices} +_Default: US +_Description: Select Area + Please select your geographical area from the choices provided. If you + are in the United States, you can just use the US option. You can also + find UTC and GMT-offset zone settings in the Etc directory. + +Template: timezoneconf/zone +Type: select +Choices: ${choices} +_Description: Time zone + Please select the time zone that is appropriate for your location. + +Template: timezoneconf/month +Type: select +_Choices: January, February, March, April, May, June, July, August, September, October, November, December +_Description: Current month? diff --git a/tests/cases/merge11.xml.in b/tests/cases/merge11.xml.in new file mode 100644 index 0000000..53694d8 --- /dev/null +++ b/tests/cases/merge11.xml.in @@ -0,0 +1,4 @@ +<root> +<_translate>Sample <b>xml</b> data.</_translate> +<_translate>Sample <i>xml</i> data.</_translate> +</root> diff --git a/tests/cases/merge12.xml.in b/tests/cases/merge12.xml.in new file mode 100644 index 0000000..238fb36 --- /dev/null +++ b/tests/cases/merge12.xml.in @@ -0,0 +1,11 @@ +<messages> + <attrmsg _value="The &lt; entity produces the < character" /> + <attrmsg _value="The &gt; entity produces the > character" /> + + <_childmsg> + The &lt; entity produces the < character + </_childmsg> + <_childmsg> + The &gt; entity produces the > character + </_childmsg> +</messages> diff --git a/tests/cases/merge4.xml.in b/tests/cases/merge4.xml.in new file mode 100644 index 0000000..b51fe21 --- /dev/null +++ b/tests/cases/merge4.xml.in @@ -0,0 +1,3 @@ +<sect> + <_title.-_:>Fax</_title.-_:> +</sect> diff --git a/tests/cases/merge5p.sheet.in b/tests/cases/merge5p.sheet.in new file mode 100644 index 0000000..273445b --- /dev/null +++ b/tests/cases/merge5p.sheet.in @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> <!-- -*- xml -*- --> +<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns"> + <_name>ThisSheet</_name> + <_description>This is a sheet for testing</_description> + <contents> + <object name="Test - Mixer" intdata="0"> + <_description>A cake mixer</_description> + </object> + </contents> +</sheet> diff --git a/tests/cases/merge5u.sheet.in b/tests/cases/merge5u.sheet.in new file mode 100644 index 0000000..273445b --- /dev/null +++ b/tests/cases/merge5u.sheet.in @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> <!-- -*- xml -*- --> +<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns"> + <_name>ThisSheet</_name> + <_description>This is a sheet for testing</_description> + <contents> + <object name="Test - Mixer" intdata="0"> + <_description>A cake mixer</_description> + </object> + </contents> +</sheet> diff --git a/tests/cases/merge6.po b/tests/cases/merge6.po new file mode 100644 index 0000000..ffc0560 --- /dev/null +++ b/tests/cases/merge6.po @@ -0,0 +1,23 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2000-05-29 02:16+01:00\n" +"Last-Translator: Cyrille Chépélov <chepelov@calixo.net>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: po/merge6.sheet.h:1 +msgid "This is a " test" +msgstr "This is a \" test --> is this a success ?" + +#: po/merge6.sheet.h:2 +msgid "This is another ' test" +msgstr "This is ' another \\ test, and a \123uccess." diff --git a/tests/cases/merge6.xml.in b/tests/cases/merge6.xml.in new file mode 100644 index 0000000..d179341 --- /dev/null +++ b/tests/cases/merge6.xml.in @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<foo value="<!DOCTYPE\ xbel" value-dash='testme' quotetest='a "quote" test' valuetesttwo="\177ELF \004"> + <_bar>This is a " test</_bar> + <_bar>This is another ' test</_bar> +</foo> diff --git a/tests/cases/merge7.xml.in b/tests/cases/merge7.xml.in new file mode 100644 index 0000000..51b957e --- /dev/null +++ b/tests/cases/merge7.xml.in @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gimp-tips> + +<!-- This is a list of tips for the GIMP. Every time the GIMP is --> +<!-- started, one tip will be selected from this file and will be --> +<!-- displayed in the "Tip of the day" dialog. --> + +<!-- The tips parser supports a very basic markup language. You may use --> +<!-- the tag b to specify bold text, big to increase the font size and --> +<!-- tt to switch to a monospace font. --> + + <tip level="start"> + <_welcome> + <big>Welcome to The GIMP !</big> + </_welcome> + <_thetip> + Nearly all image operations are performed by right-clicking + on the image. And don't worry, you can undo most mistakes... + </_thetip> + </tip> + +<!-- --> +<!-- Tips for beginners start here --> +<!-- (for people who are not familiar yet with layers and image formats) --> +<!-- --> + <tip level="beginner"> + <_thetip> + You can get context-sensitive help for most of the GIMP's features by + pressing the F1 key at any time. This also works inside the menus. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + The GIMP uses layers to let you organize your image. Think of them + as a stack of slides or filters, such that looking through them you + see a composite of their contents. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + You can perform many layer operations by right-clicking on the text + label of a layer in the "Layers, Channels and Paths" dialog. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + When you save an image to work on it again later, try using XCF, + the GIMP's native file format (use the file extension <tt>.xcf</tt>). + This preserves the layers and every aspect of your work-in-progress. + Once a project is completed, you can save it as JPEG, PNG, GIF, ... + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + The layer named "Background" it special because it lacks + transparency. This prevents you from adding a layer mask or moving + the layer up in the stack. You may add transparency to it by + right-clicking in the "Layers, Channels and Paths" dialog + and selecting "Add Alpha Channel". + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + Most plug-ins work on the current layer of the current image. In + some cases, you will have to merge all layers (Layers->Flatten Image) + if you want the plug-in to work on the whole image. + </_thetip> + </tip> + <tip level="beginner"> + <_thetip> + Not all effects can be applied to all kinds of images. This is + indicated by a grayed-out menu-entry. You may need to change + the image mode to RGB (Image->Mode->RGB), add an alpha-channel + (Layers->Add Alpha Channel) or flatten it (Layers->Flatten Image). + </_thetip> + </tip> + +<!-- --> +<!-- (end of tips) --> +<!-- --> +</gimp-tips> diff --git a/tests/cases/merge8.keys.in b/tests/cases/merge8.keys.in new file mode 100644 index 0000000..b204d85 --- /dev/null +++ b/tests/cases/merge8.keys.in @@ -0,0 +1,12 @@ +application/oda + _description=ODA document + +application/pdf + _description=PDF document + default_action_type=application + short_list_component_iids_for_novice_user_level=OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8 + short_list_component_iids_for_intermediate_user_level=OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8 + short_list_component_iids_for_advanced_user_level=OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8 + short_list_application_ids_for_novice_user_level=acroread,xpdf,ggv,gv + short_list_application_ids_for_intermediate_user_level=acroread,xpdf,ggv,gv + short_list_application_ids_for_advanced_user_level=acroread,xpdf,ggv,gv diff --git a/tests/cases/schemasmerge1.po b/tests/cases/schemasmerge1.po new file mode 100644 index 0000000..10b9a35 --- /dev/null +++ b/tests/cases/schemasmerge1.po @@ -0,0 +1,42 @@ +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-panel\n" +"POT-Creation-Date: 2002-10-03 14:14+0300\n" +"PO-Revision-Date: 2002-09-13 01:59+0200\n" +"Last-Translator: Christian Rose <menthos@menthos.com>\n" +"Language-Team: Swedish <sv@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: extract11.schemas.in.h:1 +msgid "12" +msgstr "" + +#: extract11.schemas.in.h:2 +msgid "24" +msgstr "12" + +#: extract11.schemas.in.h:3 +msgid "Display seconds in time" +msgstr "Visa sekunder i tiden" + +#: extract11.schemas.in.h:4 +msgid "Hour format" +msgstr "Timformat" + +#: extract11.schemas.in.h:5 +msgid "Puh long." +msgstr "fuuu" + +#: extract11.schemas.in.h:6 +msgid "Sets the hour format, may be either 12 or 24" +msgstr "Ställer in formatet på timmar, kan vara antingen 12 eller 24" + +#: extract11.schemas.in.h:8 +msgid "Something random..even has >" +msgstr "" + diff --git a/tests/cases/schemasmerge2.po b/tests/cases/schemasmerge2.po new file mode 100644 index 0000000..ff6a1e3 --- /dev/null +++ b/tests/cases/schemasmerge2.po @@ -0,0 +1,41 @@ +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-panel\n" +"POT-Creation-Date: 2002-10-03 14:14+0300\n" +"PO-Revision-Date: 2002-08-20 02:20+0300\n" +"Last-Translator: Yanko Kaneti <yaneti@declera.com>\n" +"Language-Team: Bulgarian <dict@linux.zonebg.com>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: extract11.schemas.in.h:1 +msgid "12" +msgstr "24" + +#: extract11.schemas.in.h:2 +msgid "24" +msgstr "" + +#: extract11.schemas.in.h:3 +msgid "Display seconds in time" +msgstr "Показва секунди" + +#: extract11.schemas.in.h:4 +msgid "Hour format" +msgstr "Формат за часа" + +#: extract11.schemas.in.h:5 +msgid "Puh long." +msgstr "" + +#: extract11.schemas.in.h:6 +msgid "Sets the hour format, may be either 12 or 24" +msgstr "Установява формата на часа, може да бъде 12 или 24-часов" + +#: extract11.schemas.in.h:8 +msgid "Something random..even has >" +msgstr "" diff --git a/tests/cases/space-preserve.xml.in b/tests/cases/space-preserve.xml.in new file mode 100644 index 0000000..d9797f8 --- /dev/null +++ b/tests/cases/space-preserve.xml.in @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<error-list domain="shell" xml:space="preserve"> + + <error id="upgrade-nospace" type="error"> + <_primary>Insufficient disk space for upgrade.</_primary> + <_secondary>Upgrading your data and settings will require up to {0} of disk +space, but you only have {1} available. + +You will need to make more space available in your home directory before you can +continue.</_secondary> + <button stock="gtk-quit" response="GTK_RESPONSE_CANCEL"/> + </error> + + <!-- lets test reverting xml:space to default as well --> + <error xml:space="default"> + <_primary>This is not an error.</_primary> + <_secondary>And this message should take no more than + one single row, no matter the spacing in + the source file. + </_secondary> + </error> +</error-list> diff --git a/tests/cases/spacepreserve.po b/tests/cases/spacepreserve.po new file mode 100644 index 0000000..bd16d5c --- /dev/null +++ b/tests/cases/spacepreserve.po @@ -0,0 +1,44 @@ +# Test file for intltool. +# Danilo Segan <danilo@gnome.org>, 2005. +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +msgid "" +msgstr "" +"Project-Id-Version: space preserving test\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-06-26 12:46+0200\n" +"PO-Revision-Date: 2005-06-26 12:49+0200\n" +"Last-Translator: Данило Шеган <danilo@gnome.org>\n" +"Language-Team: Serbian <gnom@prevod.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: space-preserve.xml.in.h:1 +msgid "" +"And this message should take no more than one single row, no matter the " +"spacing in the source file." +msgstr "Ова порука не сме заузети више од једног реда, без обзира на начин приказа у изворној датотеци." + +#: space-preserve.xml.in.h:2 +msgid "Insufficient disk space for upgrade." +msgstr "Недовољно места на диску за освежавање." + +#: space-preserve.xml.in.h:3 +msgid "This is not an error." +msgstr "Ово није грешка." + +#: space-preserve.xml.in.h:4 +msgid "" +"Upgrading your data and settings will require up to {0} of disk\n" +"space, but you only have {1} available.\n" +"\n" +"You will need to make more space available in your home directory before you " +"can\n" +"continue." +msgstr "" +"Освежавање ваших података и подешавања захтева бар {0} простора\n" +"на диску, а вама је остало само {1}.\n" +"\n" +"Мораћете да ослободите још простора у вашем личном директоријуму\n" +"пре него што наставите." diff --git a/tests/cases/test-quoted.dtd b/tests/cases/test-quoted.dtd new file mode 100644 index 0000000..0aaef26 --- /dev/null +++ b/tests/cases/test-quoted.dtd @@ -0,0 +1,4 @@ +<!ENTITY password.title "Channel requires "authentication""> +<!ENTITY password.prompt "Please enter the username and password given to you by this channel's publisher."> +<!ENTITY password.username "Username\"foo\":"> +<!ENTITY password.password "Password\a:"> diff --git a/tests/cases/test-quoted.po b/tests/cases/test-quoted.po new file mode 100644 index 0000000..7e2622b --- /dev/null +++ b/tests/cases/test-quoted.po @@ -0,0 +1,31 @@ +# Test file for intltool. +# +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2000-05-29 02:16+01:00\n" +"Last-Translator: NONE <intltool-maint@gnome.org>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: po/test-quoted.dtd.h:1 +msgid "Channel requires "authentication"" +msgstr "This requires authentication" + +#: po/test-quoted.h:2 +msgid "Please enter the username and password given to you by this channel's publisher." +msgstr "Enter your username and password." + +#: po/test-quoted.h:3 +msgid "Username\"foo\":" +msgstr "User Name:" + +#: po/test-quoted.h:4 +msgid "Password\\a:" +msgstr "Passphrase\\a:" diff --git a/tests/cases/test.po b/tests/cases/test.po new file mode 100644 index 0000000..908d317 --- /dev/null +++ b/tests/cases/test.po @@ -0,0 +1,158 @@ +# Test file for intltool. +# Copyright (C) 1999-2000 Free Software Foundation, Inc. +# Kenneth Christiansen <kenneth@gnu.org>, 2000. +# +# THIS IS A TEST FILE - PLEASE DO NOT CHANGE +# The fuzzies and non translated lines are meant to +# be there + +msgid "" +msgstr "" +"Project-Id-Version: Test file - DON'T CHANGE\n" +"POT-Creation-Date: 2001-01-31 17:45+0100\n" +"PO-Revision-Date: 2007-02-24 16:02-0500\n" +"Last-Translator: Kenneth Christiansen <kenneth@gnu.org>\n" +"Language-Team: NONE <kenneth@gnu.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: po/abiword.xml.h:1 +msgid "Close the current file" +msgstr "" + +#: po/abiword.xml.h:2 +msgid "Copy" +msgstr "Kopir" + +#: po/abiword.xml.h:3 +msgid "Copy the current selection to the clipboard" +msgstr "" + +#: po/abiword.xml.h:4 +msgid "Create a new shared view of the workbook" +msgstr "" + +#: po/abiword.xml.h:5 +msgid "Create a new workbook" +msgstr "" + +#: po/abiword.xml.h:7 +#, no-c-format +msgid "Error while attempting to save %s: could not construct exporter" +msgstr "Kunne ikke skrive til & filen \"%s\" -- \\." + +#: po/abiword.xml.h:8 +msgid "New" +msgstr "Ny" + +#: po/abiword.xml.h:9 +msgid "New _Shared" +msgstr "" + +#: po/abiword.xml.h:10 +msgid "Print" +msgstr "Udskriv" + +#: po/abiword.xml.h:11 +msgid "Print Preview" +msgstr "Vis udskrift" + +#: po/abiword.xml.h:12 +#, fuzzy +msgid "Print preview" +msgstr "Eksempel" + +#: po/abiword.xml.h:13 +msgid "Print the workbook" +msgstr "" + +#: po/abiword.xml.h:14 +msgid "Redo the undone action" +msgstr "" + +#: po/abiword.xml.h:15 +msgid "Sum" +msgstr "" + +#: po/abiword.xml.h:16 +msgid "Sum into the current cell" +msgstr "" + +#: po/abiword.xml.h:17 +msgid "Undo the last action" +msgstr "" + +#: po/abiword.xml.h:19 +#, no-c-format +msgid "Writing error when attempting to save %s" +msgstr "Kunne ikke skrive til filen %s." + +#: po/abiword.xml.h:20 +msgid "Zoom the spreadsheet in or out" +msgstr "" + +#: po/abiword.xml.h:21 +msgid "_Close" +msgstr "Luk" + +#: po/abiword.xml.h:23 +#, fuzzy +msgid "_Zoom..." +msgstr "Zoom" + +#: po/abiword.xml.h:24 +msgid "font-bold-f.png" +msgstr "" + +#: fake/file.h:123 +msgid "Fax" +msgstr "Translated Fax" + +msgid "" +"Nearly all image operations are performed by right-clicking on the image. " +"And don't worry, you can undo most mistakes..." +msgstr "You are so very lucky to be using this excellent program." + +msgid "ODA document" +msgstr "not an ODA document" + +msgid "PDF document" +msgstr "not a PDF document" + +msgid "Sample <b>xml</b> data." +msgstr "Well-formed <b>XML</b> data." + +msgid "Sample <i>xml</i> data." +msgstr "Invalid <i>XML data." + +msgid "The &gt; entity produces the > character" +msgstr "The following entity: &gt; produces: >" + +msgid "The &lt; entity produces the < character" +msgstr "The following entity: &lt; produces: <" + +msgid "The > entity produces the > character" +msgstr "The following entity: > produces: >" + +msgid "The < entity produces the < character" +msgstr "The following entity: < produces: <" + +#~ msgid " Auto Update" +#~ msgstr " Opdatr automatisk" + +#~ msgid "inch" +#~ msgstr "tomme" + +#~ msgid "pico" +#~ msgstr "pico" + +#~ msgid "points" +#~ msgstr "punkter" + +#~ msgid "" +#~ "Following Paragraph Following Paragraph Following Paragraph Following " +#~ "Paragraph Following Paragraph Following Paragraph Following Paragraph" +#~ msgstr "" +#~ "Efterflgende afsnit Efterflgende afsnit Efterflgende afsnit Efterflgende " +#~ "afsnit Efterflgende afsnit Efterflgende afsnit Efterflgende afsnit" diff --git a/tests/cases/test.schemas.in b/tests/cases/test.schemas.in new file mode 100644 index 0000000..41284cb --- /dev/null +++ b/tests/cases/test.schemas.in @@ -0,0 +1,44 @@ +<!-- This is a test. Please DON'T CHANGE it. --> +<gconfschemafile> + <schemalist> + + <schema> + <key>/schemas/apps/clock_applet/prefs/hour_format</key> + <owner>clock-applet</owner> + <type>int</type> + <locale name="C"> + <default><!-- default value for /schemas/apps/clock_applet/prefs/hour_format + The translation should only include the localized default + eg. 12 or 24 -->24</default> + <short>Hour format</short> + <long>Sets the hour format, may be either 12 or 24</long> + </locale> + <locale name="en_US"> + <default>12</default> + <short>Hour format</short> + <long>Sets the hour format, may be either 12 or 24</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/clock_applet/prefs/show_seconds</key> + <owner>clock-applet</owner> + <type>bool</type> + <default>true</default> + <locale name="C"> + <long>Display seconds in time</long> + </locale> + </schema> + + <schema> + <key>some random key</key> + <owner>clock-applet</owner> + <type>int</type> + <locale name="C"> + <default>12</default> + <short>Something random..even has > </short> + <long>Puh long.</long> + </locale> + </schema> + +</gconfschemafile> diff --git a/tests/cases/test.scm b/tests/cases/test.scm new file mode 100644 index 0000000..9467009 --- /dev/null +++ b/tests/cases/test.scm @@ -0,0 +1,16 @@ +;; regular comment + +("some " "basic" "strings") ; silly comment +(_"translatable string") + +;; _"this" + +;; nasty comment _" +("nasty string; haha" ; this is a fine comment for translators + _"nice string; thanks") ; all well + +(_"multiple" _"translations; per line") + +"not for_" _"translation" ; so "what? + +_"another \" string" "so \"what" _"here" diff --git a/tests/cases/unicodetext.xml.in b/tests/cases/unicodetext.xml.in new file mode 100644 index 0000000..445d569 --- /dev/null +++ b/tests/cases/unicodetext.xml.in @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<!DOCTYPE gweather SYSTEM "locations.dtd"> +<gweather format="1.0"> +<!-- Here we demonstrate how intltools behave +when comments or _name names contain non-US-ASCII +characters. +--> +<region> + <_name>Europe</_name> + <country> + <city> + <!-- Translators: This is in France. --> + <_name>Chambéry</_name> + <location> + <!-- Translators: This is in Chambéry in France. --> + <_name>Aix-les-Bains</_name> + <code>LFLB</code> + <coordinates>45-39N 005-53E</coordinates> + </location> + </city> + </country> +</region> +</gweather> |