diff --git a/Makefile.GNU b/Makefile.GNU deleted file mode 100644 index 9f47362..0000000 --- a/Makefile.GNU +++ /dev/null @@ -1,926 +0,0 @@ -######################################################################## -#### Configuration (system-dependent) variables #### -######################################################################## - -CYGWIN = $(shell make.d/test/is_cygwin.sh || echo 0) - - -######################################################################## -#### The GIMP manual languages #### -######################################################################## - -ALL_LINGUAS = da de en es fr it ja ko nl nn pl ru sv zh_CN -LANGUAGES = $(if $(LINGUAS),$(filter $(ALL_LINGUAS),$(LINGUAS)),$(ALL_LINGUAS)) -ifneq ($(DOC_LINGUAS),) -$(warning Do not set the internal variable DOC_LINGUAS) -endif -DOC_LINGUAS = $(LINGUAS) - -ifneq ($(XML_LANG),) -$(error You must not set the internal variable XML_LANG) -endif -ifneq ($(PO_LANGS),) -$(error You must not set the internal variable PO_LANGS) -endif -XML_LANG = en -PO_LANGS = $(filter-out $(XML_LANG), $(LANGUAGES)) - - -######################################################################## -#### External programs #### -######################################################################## - -XSLTPROC = xsltproc -XSLTFLAGS = --nonet - -XMLLINT = xmllint -XMLLINTFLAGS = --nonet - -XML2PO = tools/xml2po.py -XML2POFLAGS = --mode=gimphelp - -MSGWIDTH = 79 -MSGUNIQ = msguniq -MSGUNIQFLAGS = -MSGCAT = msgcat -MSGCATFLAGS = --width=$(MSGWIDTH) -MSGINIT = msginit -MSGINITFLAGS = --no-translator --width=$(MSGWIDTH) -MSGFMT = msgfmt -MSGFMTFLAGS = --check --use-fuzzy --statistics -MSGMERGE = msgmerge -MSGMERGEFLAGS = --quiet --width=$(MSGWIDTH) - -DBLATEX = dblatex -DBLATEXFLAGS = --verbose -DOCBOOK2ODF = docbook2odf -DOCBOOK2ODFFLAGS = - -SED = sed - -# Standard shell commands -echo_n = echo -n -mkdir_p = mkdir -p -ln_s = ln -s -find_l = find -L - -# Calling make recursively -RMAKE = $(MAKE) -f Makefile.GNU --no-print-directory - -# Local (gimp-help-specific) tools -MAKE_IMAGE_LINKS = make.d/make_image_links.pl -MAKE_IMAGE_LINKS_FLAGS = -v -ifeq ($(CYGWIN),1) - MAKE_IMAGE_LINKS_FLAGS += --mode=hardlink,copy -endif - -# FIXME/TODO: -# make it work with srcdir != builddir -# Directories -srcdir = . -builddir = . -abs_srcdir := $(shell cd $(srcdir) && pwd) -abs_builddir := $(shell pwd) - - -######################################################################## -#### Files and directories #### -######################################################################## - -src_file_predicates = \ - -name '*.xml' \ - -not -name '$(notdir $(AUTHORS_DOCBOOK_XML))' -src_dir_predicates = -name images -prune -o -type d -print -pot_file_predicates = -type f -po_file_predicates = -type f -not -name "$(COMPENDIUM)" -xml_file_predicates = -name '*.xml' - -# List of authors and contributors (no DocBook) -AUTHORS_SOURCE_XML = stylesheets/authors.xml -# Automatically generated authors section (DocBook) -AUTHORS_DOCBOOK_XML = src/preface/authors.xml -AUTHORS_DOCBOOK_DIRNAME = $(dir $(AUTHORS_DOCBOOK_XML)) -AUTHORS_DOCBOOK_FILENAME = $(notdir $(AUTHORS_DOCBOOK_XML)) -# Stylesheets generating AUTHORS -AUTHORS_TEXT_STYLESHEETS = \ - stylesheets/authors_text.xsl \ - stylesheets/authors_common.xsl -# Stylesheets generating src/preface/authors.xml -AUTHORS_DOCBOOK_STYLESHEETS = \ - stylesheets/authors_docbook.xsl \ - stylesheets/authors_common.xsl -# Stylesheet generating MAINTAINERS -DOAP_STYLESHEET = stylesheets/doap2text.xsl - -# Targets which don't require source file list -QUICK_TARGETS = help clean dot image-% AUTHORS MAINTAINERS - -# Files & directories -ifeq ($(filter $(QUICK_TARGETS),$(MAKECMDGOALS)),) -SRC_DIRS := $(shell cd $(srcdir) && $(find_l) src/ $(src_dir_predicates)) -SRC_FILES := $(shell cd $(srcdir) && $(find_l) src/ $(src_file_predicates)) \ - $(AUTHORS_DOCBOOK_XML) -else -SRC_DIRS = $(shell cd $(srcdir) && $(find_l) src/ $(src_dir_predicates)) -SRC_FILES = $(shell cd $(srcdir) && $(find_l) src/ $(src_file_predicates)) \ - $(AUTHORS_DOCBOOK_XML) -endif - -# TODO -#HTML_STYLESHEETS = stylesheets/html*.xsl -HTML_STYLESHEETS = stylesheets/plainhtml.xsl stylesheets/htmlalternate.xsl - -# This variable is used by "msgmerge"; -# use empty variable to disable the compendium option -COMPENDIUM = Compendium.po - - -######################################################################## -#### Control the amount of output messages #### -######################################################################## - -# Usage of the "msg" and "cmd" variables: -# In the command lines of the make rules, use -# $(msg) bla bla bla instead of @echo bla bla bla -# $(cmd) command args instead of @command args (or command args) -# then -# messages will be suppressed if VERBOSE=0, -# commands will be printed if VERBOSE=2. - -VERBOSE = 1 - -ifeq ($(VERBOSE),0) -msg = @: -cmd = @ -else -ifeq ($(VERBOSE),1) -msg = @echo -cmd = @ -else -msg = @echo -cmd = -endif -endif - - -######################################################################## -#### Functions #### -######################################################################## - -#--------------------------------------------------------------# -# The main functions used to transform # -# (a) XML files to POT files # -# (b) POT files to PO files # -# (c) XML and PO files to XML files # -#--------------------------------------------------------------# - -# Create a PO-template (POT) -# -# Usage: -# $(call xml2pot,xml-files,pot-file) -# Parameters: -# $1 - input: original (untranslated) XML files -# and other prerequisites, e.g. images or "FORCE" -# $2 - output: POT template file containing translatable tags -xml2pot = $(XML2PO) $(XML2POFLAGS) --output='-' $(filter %.xml,$(1)) \ - | $(MSGUNIQ) $(MSGUNIQFLAGS) \ - | $(MSGCAT) $(MSGCATFLAGS) - > "$(2)"; \ - test -s "$(2)" || rm -f "$(2)"; \ - touch -c -r $(call get_recent_file,$(1)) "$(2)" || true; \ - test -s "$(2)" - -# Merge template (pot) and message catalog (po) or create a new catalog -# -# Usage: -# $(call pot2po,pot-file,language,po-file) -# Parameters: -# $1 - input POT file -# $2 - translation language -# $3 - output PO file -pot2po = with_compendium="$(shell $(call get_compendium,$3)) \ - $(shell $(call use_gimp_po_files,$2))"; \ - tmpfile=$(3).tmp; \ - if [ -s $(3) ]; then \ - $(MSGMERGE) $(MSGMERGEFLAGS) $${with_compendium} \ - --output-file $${tmpfile} $(3) $(1); \ - else \ - $(MSGINIT) $(MSGINITFLAGS) --input $(1) --locale=$(2) --output=$(3); \ - pofile=$(3); \ - if [ -s $${pofile%/*}.po ]; then \ - $(MSGMERGE) $(MSGMERGEFLAGS) $${with_compendium} \ - --output-file $${tmpfile} $${pofile%/*}.po $(3); \ - elif [ -n "$${with_compendium}" ]; then \ - $(MSGMERGE) $(MSGMERGEFLAGS) $${with_compendium} \ - --output-file $${tmpfile} $(3) $(1); \ - else \ - $(SED) -e '/Plural-Forms:/d' $(3) > $${tmpfile}; \ - fi; \ - fi; \ - test -s $${tmpfile} && mv -f $${tmpfile} $(3) || rm -f $${tmpfile}; \ - test -s $(3) && $(MSGFMT) $(MSGFMTFLAGS) $(3) || exit 70; \ - rm -f messages.mo messages.gmo - -# Merge PO file into (translated) XML file -# -# Usage: -# $(call po2xml,en-xml-file,po-file,language,translated-xml-file) -# Parameters: -# $1 - original (untranslated) XML file -# $2 - PO file containing translations -# $3 - translation language -# $4 - resulting (translated) XML file -ifneq ($(FORMAT_XML_WITH_XMLLINT),1) -po2xml = $(XML2PO) $(XML2POFLAGS) --po-file=$(2) --language=$(3) --output=$(4) $(1); \ - rm -f .xml2po.mo -else -po2xml = ($(XML2PO) $(XML2POFLAGS) --po-file=$(2) --language=$(3) --output='-' $(1) \ - | $(XMLLINT) $(XMLLINTFLAGS) --format --output $(4) -); \ - rm -f .xml2po.mo -endif - - -#--------------------------------------------------------------# -# Helper functions # -#--------------------------------------------------------------# - -make_target_dir = f=$(1); d=$${f%/*}; test -d $$d || $(mkdir_p) $$d - -get_recent_file = $(shell ls -t $(1) | head -n 1) - -copy = $(ln_s) $(abs_srcdir)/$(1) $(2) - -ifneq ($(COMPENDIUM),) -get_compendium = \ - file="$(1)"; dir=$${file%/*}; \ - while true; do \ - if test -f $${dir}/$(COMPENDIUM); then \ - opt="$${opt} --compendium=$${dir}/$(COMPENDIUM)"; \ - fi; \ - case "$${dir}" in \ - po|*/po) break;; \ - */*) dir="$${dir%/*}";; \ - *) break;; \ - esac; \ - done; \ - if test -n "$${opt}"; then echo $${opt}; fi -else -get_compendium = -endif - -ifneq ($(GIMP_PO_ROOT),) -use_gimp_po_files = \ - for po in $(GIMP_PO_ROOT)/po*/$(1).po; do \ - if test -f "$${po}"; then echo '--compendium'="$${po}"; fi; \ - done -else -use_gimp_po_files = -endif - - -######################################################################## -#### Main targets #### -######################################################################## - -.PHONY: all -all: html index AUTHORS MAINTAINERS - - -######################################################################## -#### Help!!! #### -######################################################################## - -.PHONY: help -make.help: - @echo >&2 'ERROR: cannot find the help file "$@"!' - @exit 66 -# TODO?: replace with a "real" script (e.g. tools/make-help.sed) -# (probably "yes" if more features are needed...) -help: make.help - @$(SED) \ - -e '### skip comments ###' \ - -e '/^#/d' \ - -e '### print if no "make" variable found ###' \ - -e '/@/!b' \ - -e '### replace "make" variables ###' \ - -e 's/@LANGUAGES@/@$(strip $(LANGUAGES))@/' \ - -e 's/@LINGUAS@/@$(strip $(LINGUAS))@/' \ - -e 's/@ALL_LINGUAS@/@$(strip $(ALL_LINGUAS))@/' \ - -e '### add commas ###' \ - -e 'tloop' \ - -e ':loop' \ - -e ' ### mark value of variable (@@...@@) ###' \ - -e ' s/@\([^@]*\)@/@@\1@@/' \ - -e ' twhile' \ - -e ' :while' \ - -e ' s/\(@@[^,@]*\) \([^@]*@@\)/\1, \2/' \ - -e ' twhile' \ - -e ' s/@@\([^@]*\)@@/\1/' \ - -e 'tloop' \ - $< - - -######################################################################## -#### Make AUTHORS and MAINTAINERS file #### -######################################################################## - -AUTHORS: $(AUTHORS_SOURCE_XML) $(AUTHORS_TEXT_STYLESHEETS) - $(msg) "[DOC] $@" - $(cmd) $(XSLTPROC) \ - $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - $(srcdir)/stylesheets/authors_text.xsl \ - $< \ - > $@ - -$(AUTHORS_DOCBOOK_XML): $(AUTHORS_SOURCE_XML) $(AUTHORS_DOCBOOK_STYLESHEETS) - $(msg) "[SRC] $@" - $(cmd) $(call make_target_dir,$@) - $(cmd) $(XSLTPROC) \ - $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - $(srcdir)/stylesheets/authors_docbook.xsl \ - $< \ - > $@ - -MAINTAINERS: gimp-help-2.doap $(DOAP_STYLESHEET) - $(msg) "[DOC] $@" - $(cmd) $(XSLTPROC) --output $@ $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - $(DOAP_STYLESHEET) $< - - -######################################################################## -#### Make pot files: XML(en) --> POT #### -######################################################################## - -# src/path/to/file/*.xml --> pot/path/to/file.pot -POT_FILES = $(patsubst src/%,pot/%.pot,$(filter-out src src/,$(SRC_DIRS))) -# Special case: src/*.xml --> pot/gimp.pot -POT_FILES += pot/gimp.pot - -# XXX: Secondary Expansion of the following two rules is required because -# "pot/%.pot: $(srcdir)/src/%/*.xml" didn't work with make v3.82 -# (cf. bug #637505). -.SECONDEXPANSION: -# General case -ifeq ($(filter pot/%.pot po/%.po,$(MAKECMDGOALS)),) -pot/%.pot: src/$$*/*.xml $$(wildcard images/C/$$*/*.*) -else -pot/%.pot: src/$$*/*.xml FORCE -endif - $(cmd) $(call make_target_dir,$@) - $(msg) "[POT] $@" - $(cmd) $(call xml2pot,$^,$@) -# Special case: rename pot file for toplevel xml files -ifeq ($(filter pot/%.pot po/%.po,$(MAKECMDGOALS)),) -pot/gimp.pot: src/*.xml $(wildcard images/C/*.*) -else -pot/gimp.pot: src/*.xml FORCE -endif - $(cmd) $(call make_target_dir,$@) - $(msg) "[POT] $@" - $(cmd) $(call xml2pot,$^,$@) -# Special case: pot file for the authors DocBook file -# requires an additional prerequisite -AUTHORS_POT = $(AUTHORS_DOCBOOK_XML:src/%/$(AUTHORS_DOCBOOK_FILENAME)=pot/%.pot) -ifeq ($(filter pot/%.pot po/%.po,$(MAKECMDGOALS)),) -# TODO: add images to prerequisites if necessary -$(AUTHORS_POT): $(AUTHORS_DOCBOOK_XML) $(wildcard $(AUTHORS_DOCBOOK_DIRNAME)*.xml) -else -$(AUTHORS_POT): $(AUTHORS_DOCBOOK_XML) $(wildcard $(AUTHORS_DOCBOOK_DIRNAME)*.xml) FORCE -endif - $(cmd) $(call make_target_dir,$@) - $(msg) "[POT] $@" - $(cmd) $(call xml2pot,$^,$@) - -# Remove left over pot files -cleanup-pot: - $(msg) "Cleaning up pot files ..." - $(cmd) $(find_l) pot/ $(pot_file_predicates) | \ - while read potfile; do \ - potfile=$${potfile#pot/}; srcfile=src/$${potfile%.pot}.xml \ - test -e $${srcfile} || rm -f $${potfile}; \ - done - -# Targets suitable for command line -pot: potfiles cleanup-pot ; -potfiles: $(POT_FILES) ; - -.PHONY: pot potfiles cleanup-pot - - -######################################################################## -#### Make po files: POT --> PO #### -######################################################################## - -define MAKE_PO_RULES -$(1)_PO_FILES = $$(patsubst pot/%.pot, po/$(1)/%.po, $$(POT_FILES)) -ifeq ($$(filter po/$(1)/%.po,$$(MAKECMDGOALS)),) -$$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot -else -$$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot FORCE -endif - $$(cmd) $$(call make_target_dir,$$@) - $$(msg) "[PO] $$@" - $$(cmd) if test -s $$<; then $$(call pot2po,$$<,$(1),$$@); else touch $$@; fi -po-$(1): $$($(1)_PO_FILES) cleanup-po-$(1) - $$(cmd) if test -e messages.mo; then rm -f messages.mo; fi -cleanup-po-$(1): - $$(msg) "Cleaning up '$(1)' po files ..." - $$(cmd) $(find_l) po/$(1)/ $$(po_file_predicates) | \ - while read pofile; do \ - potfile=pot/$$$${pofile#po/$(1)/}t; \ - test -e $$$${potfile} || rm -vf $$$${pofile}; \ - done -endef -$(foreach LANG,$(PO_LANGS),$(eval $(call MAKE_PO_RULES,$(LANG)))) - -# Special case 'en': do nothing :-) -po-en: ; - -# Print translation statistics - -status-%: po-status-% ; -po-status-%: po-% - $(cmd) perl tools/get_po_status.pl po/$* - -status-all: po-status-all ; -po-status-all: - $(cmd) for podir in po/*; do \ - perl tools/get_po_status.pl --nofiles --nosummary $${podir} || break; \ - done - -todo-%: po-todo-% ; -po-todo-%: po-% - $(cmd) perl tools/get_po_status.pl --todo po/$* - -# Force updating po file(s) -force-po/%: - $(cmd) $(RMAKE) po/$*/*.po - -# Main commandline target -po: $(foreach LANG,$(PO_LANGS),po-$(LANG)) ; - -.PHONY: po po-% cleanup-po-% todo-% po-todo-% po-status-% - - -######################################################################## -#### Generate XML prerequisites #### -######################################################################## - -ifeq ($(filter $(QUICK_TARGETS),$(MAKECMDGOALS)),) -include $(foreach LANG,$(PO_LANGS),xml/$(LANG)/.deps.mk) -endif - -# The dynamically generated and updated ".deps.mk" files contain -# rules to register the po prereqisite for every xml file, e.g. -# xml/LANG/*.xml: po/LANG/gimp.po -# xml/LANG/filters/*.xml: po/LANG/filters.po -# xml/LANG/filters/generic/*.xml: po/LANG/filters/generic.po -# etc. - -#xml/$(1)/.deps.mk: $(AUTHORS_DOCBOOK_XML) $$($(1)_PO_FILES) -# TODO: simplify -define MAKE_DEP_RULES -xml/$(1)/.deps.mk: $(AUTHORS_DOCBOOK_XML) $$(SRC_FILES) - $$(cmd) $$(call make_target_dir,$$@) - $$(msg) "[DEP] $$@" - $$(cmd) touch $$@ - $$(cmd) for srcdir in $(SRC_DIRS); do \ - ls $$$${srcdir}/*.xml >/dev/null 2>&1 || continue; \ - srcdir=$$$${srcdir%/}; \ - xmldir=xml/$(1)$$$${srcdir#src}; \ - test "$$$${srcdir}" != "src" || srcdir="src/gimp"; \ - pofile=po/$(1)$$$${srcdir#src}.po; \ - echo "$$$${xmldir}/*.xml: $$$${pofile}"; \ - done > $$@ -endef -$(foreach LANG,$(PO_LANGS),$(eval $(call MAKE_DEP_RULES,$(LANG)))) - - -######################################################################## -#### Make XML files: PO --> XML(non-en) #### -######################################################################## - -# TODO: check xml/$(1) vs. xml-$(1) prerequisites (XML_FILES) -define MAKE_XML_RULES -$(1)_XML_FILES = $$(SRC_FILES:src/%=xml/$(1)/%) -xml/$(1)/%.xml: - $$(msg) "[XML] $$@" - $$(cmd) $$(call make_target_dir,$$@) - $$(cmd) xmlfile=$$@; \ - stem=$$*; \ - srcfile=src/$$$${stem}.xml; \ - test "$$$${stem}" != "$$$${stem%/*}" && stem=$$$${stem%/*} || stem=gimp; \ - pofile=po/$(1)/$$$${stem}.po; \ - test -e "$$$${pofile}" || $$(RMAKE) "$$$${pofile}"; \ - $(call po2xml,$$$${srcfile},$$$${pofile},$(1),$$@) - -# This is indirectly used as HTML and PDF prerequisite: -xml/$(1): $$($(1)_XML_FILES) | xml/$(1)/images - $$(cmd) test -d $$@ && touch $$@ || $(mkdir_p) $$@ - -# Targets suitable for command line -xml-$(1): po-$(1) xml/$(1) cleanup-xml-$(1) ; -endef -$(foreach LANG,$(PO_LANGS),$(eval $(call MAKE_XML_RULES,$(LANG)))) - -# Special case: en - -en_XML_FILES = $(SRC_FILES:src/%=xml/en/%) -$(en_XML_FILES): xml/en/%.xml : src/%.xml - $(msg) "[XML] $@ (copy)" - $(cmd) $(call make_target_dir,$@) - $(cmd) cp -f $< $@ - -xml/en: $(en_XML_FILES) | xml/en/images - $(cmd) test -d $@ && touch $@ || $(mkdir_p) $@ - -xml-en: xml/en cleanup-xml-en ; - -# Images - -ifeq ($(MAKE_IMAGES), lazy) -# fast and lazy: detect added or removed images, but may miss changed images -IMAGE_PREREQ = $(shell cd $(srcdir) && $(find_l) images/common images/C -type d) -else ifeq ($(MAKE_IMAGES), force) -# just in case: always update images -IMAGE_PREREQ = FORCE -else -# strict (default): detects added, removed, or changed images -IMAGE_PREREQ = $(shell cd $(srcdir) && $(find_l) images/common images/C) -endif - -xml/%/images: $(IMAGE_PREREQ) - $(cmd) test -d $@ && rm -rf $@/* || $(mkdir_p) $@ - $(cmd) $(echo_n) "Copying images ($*) ..." - $(cmd) perl $(MAKE_IMAGE_LINKS) $(MAKE_IMAGE_LINKS_FLAGS) \ - images/common images/C xml/$* - $(cmd) touch $@ - -# Remove left over xml files -cleanup-xml-%: - $(msg) "Cleaning up '$*' xml files ..." - $(cmd) $(find_l) xml/$*/ $(xml_file_predicates) | \ - while read xmlfile; do \ - test -e src/$${xmlfile#xml/$*/} || rm -vf $${xmlfile}; \ - done - -# Command-line targets -xml: $(foreach LANG,$(LANGUAGES),xml-$(LANG)) ; -images-%: xml/%/images html/%/images ; - -.PRECIOUS: xml/%/images -.PHONY: xml xml-% images-% - - -######################################################################## -#### XML validation #### -######################################################################## - -validate: validate-en ; -validate-%: xmllint-% ; - -xmllint: xmllint-en ; -xmllint-%: log/%-xmllint.log - $(cmd) test -s $< && cat $< - -define MAKE_XMLLINT_RULES -log/$(1)-xmllint.log: $$($(1)_XML_FILES) - $$(cmd) $$(call make_target_dir,$$(@)) - $$(cmd) if type $$(XMLLINT) >/dev/null 2>&1; then \ - echo "*** Validating XML ($(1)) ... "; \ - $$(XMLLINT) $$(XMLLINTFLAGS) --xinclude xml/$(1)/gimp.xml \ - | $$(SED) -e 's,xmlns:xi="http://www.w3.org/2001/XInclude",,' \ - | $$(XMLLINT) $$(XMLLINTFLAGS) --valid \ - --output log/$(1).xml - 2>$$(@); \ - if test -s $$(@); then \ - echo "(You will find log and xml files in log/.)"; \ - else \ - echo "$(1): no errors."; \ - rm -f log/$(1).xml; \ - fi >> $$(@); \ - else \ - echo >&2 "*** Validating '$(1)' skipped: 'xmllint' not found."; \ - fi -endef -$(foreach LANG,$(LANGUAGES),$(eval $(call MAKE_XMLLINT_RULES,$(LANG)))) - -log: - $(cmd) mkdir $@ && test -w $@ - - -######################################################################## -#### Make XSL styesheets for HTML #### -######################################################################## - -# TODO -stylesheets/plainhtml.xsl: stylesheets/plainhtml.xsl.in - $(msg) "[XSL] $@" - $(cmd) $(SED) -e s,@STYLEBASE@,http://docbook.sourceforge.net/release/xsl/current, $< > $@ - -stylesheets/htmlalternate.xsl: stylesheets/htmlalternate.xsl.in - $(msg) "[XSL] $@" - $(cmd) cp $< $@ - - -######################################################################## -#### Make HTML files: XML --> HTML #### -######################################################################## - -# Main commandline targets -html-%: xml-% html/%/index.html html/%/gimp-help.xml ; -html: $(foreach lang,$(LANGUAGES),html-$(lang)) ; - -# Making the main HTML file (side effect: make gimp-xrefs.xml) -html/%/index.html: xml/% $(HTML_STYLESHEETS) | html/%/images - $(msg) "*** Making html for $* ... " - $(cmd) rm -f html/$*/*.* - - $(cmd) $(XSLTPROC) \ - $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - --xinclude \ - --stringparam l10n.gentext.default.language $* \ - -o html/$*/ \ - stylesheets/plainhtml.xsl \ - xml/$*/gimp.xml - - $(msg) "Copying stylesheets ... " - $(cmd) for file in $(srcdir)/stylesheets/*.css \ - $(srcdir)/stylesheets/$*/*.css; do \ - if [ -f $${file} ]; then cp -f $${file} html/$*; fi; \ - done - -### Cross references & context help ### -index: $(foreach lang,$(LANGUAGES),index-$(lang)) ; -index-%: html/%/gimp-help.xml ; - -html/%/gimp-help.xml: html/%/gimp-xrefs.xml stylesheets/makeindex.xsl - $(cmd) $(XSLTPROC) \ - $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - $(srcdir)/stylesheets/makeindex.xsl \ - $< \ - > $@ - -# The xrefs file is a side effect of the HTML build -html/%/gimp-xrefs.xml: html/%/index.html - $(cmd) touch $@ - -### HTML images ### -ifneq ($(CYGWIN),1) -html/%/images: xml/%/images - $(cmd) test -d html/$* || $(mkdir_p) html/$* - $(cmd) test -e $@ || $(ln_s) ../../$< $@ -else -html/%/images: $(IMAGE_PREREQ) - $(cmd) if test -h $@; then rm -f $@; fi - $(cmd) test -d $@ && rm -rf $@/* || $(mkdir_p) $@ - $(cmd) $(echo_n) "Copying HTML images ($*) ..." - $(cmd) perl $(MAKE_IMAGE_LINKS) $(MAKE_IMAGE_LINKS_FLAGS) \ - images/common images/C $@ - $(cmd) touch $@ -endif - -.PRECIOUS: \ - html/%/index.html \ - html/%/gimp-help.xml \ - html/%/gimp-xrefs.xml \ - html/%/images - -.PHONY: html html-% index index-% - - -######################################################################## -#### Make HTML draft (single page preview) #### -######################################################################## - -preview-xml/%.xml: xml/%.xml stylesheets/drafthtml.xsl - $(cmd) id=`$(SED) -e 's/.*id=.//' -e tmatch \ - -e d -e :match \ - -e 's/["'"'"'].*//' \ - -e q $<`; \ - test -n "$${id}" || id=noname; \ - lang=$(shell echo $< | $(SED) -e 's,^xml/,,; s,/.*,,'); \ - destdir=html/$${lang}; \ - test -d $${destdir}/images || $(RMAKE) $${destdir}/images; \ - cp -f $(srcdir)/stylesheets/*.css $(srcdir)/stylesheets/$${lang}/*.css\ - $${destdir} 2>/dev/null; \ - destfile="$${destdir}/$${id}-draft.html"; \ - echo "Making $${destfile} (ignore any XSLT complaints) ..."; \ - $(XSLTPROC) \ - $(XSLTFLAGS) $(XSLTEXTRAFLAGS) \ - --xinclude \ - --stringparam l10n.gentext.default.language $${lang} \ - --output $${destfile} \ - $(srcdir)/stylesheets/drafthtml.xsl \ - $< - -preview-src/%.xml: $(foreach lang,$(LANGUAGES),preview-xml/$(lang)/%.xml) - $(msg) "(Remember that links won't work in a draft file.)" - -preview-po/%.po: - @echo >&2 "After merging pofiles this feature does not work any more." - @echo >&2 "Use 'make ... preview-xml/$*.xml'." - -# For backward compatibility: - -xml/%.draft: preview-xml/%.xml - $(msg) "(Remember that links won't work in a draft file.)" - -src/%.draft: preview-src/%.xml ; - -# Synonyms -draft-xml/%.xml: preview-xml/%.xml ; -draft-src/%.xml: preview-src/%.xml ; -draft-po/%.po: preview-po/%.po ; - - -######################################################################## -#### Make PDF files: XML --> PDF #### -######################################################################## - -ifneq ($(DBLATEX),) - -pdf: $(foreach lang,$(LANGUAGES),pdf-$(lang)) ; -pdf-%: pdf/%/gimp.pdf ; - -# TODO: check prerequisites, e.g. images (--fig-path option?) -pdf/%/gimp.pdf: xml/% stylesheets/plainprint.xsl xml/%/images - $(cmd) if test -f pdf/%.pdf; then rm -f pdf/%.pdf; fi - $(cmd) test -d pdf/$* || $(mkdir_p) pdf/$* - $(msg) "*** Making PDF ($*) ..." - $(cmd) $(DBLATEX) $(DBLATEXFLAGS) $(DBLATEXEXTRAFLAGS) \ - --xsl-user=$(srcdir)/stylesheets/plainprint.xsl \ - --output=$@ \ - xml/$*/gimp.xml - -.PRECIOUS: pdf/%/gimp.pdf - -else - -pdf pdf-%: - @echo "*** Cannot build PDFs because DBLATEX was not defined ***" - @exit 69 - -endif - - -######################################################################## -#### Make ODF files: XML --> ODF #### -######################################################################## - -ifneq ($(DOCBOOK2ODF),) - -odf: $(foreach lang,$(LANGUAGES),odf-$(lang)) ; -odf-%: odf/%/gimp.odt ; - -# TODO?: images -odf/%/gimp.odt: xml/%/gimp-alldocs.xml xml/%/images - $(cmd) if test -f odf/%.odt; then rm -f odf/%.odt; fi - $(cmd) test -d odf/$* || $(mkdir_p) odf/$* - $(msg) "*** Making ODF ($*) ..." - $(cmd) $(DOCBOOK2ODF) $(DOCBOOK2ODFFLAGS) \ - --debug -v \ - --output-dir=`pwd` \ - --output-file=$@ \ - $< - -# make temporary XML source file with all Xincludes resolved -# TODO: find out how to avoid this -xml/%/gimp-alldocs.xml: xml/%/gimp.xml - $(msg) "*** Merging XML ..." - $(cmd) $(XMLLINT) $(XMLLINTFLAGS) --xinclude --output $@ $< - -.PRECIOUS: odf/%/gimp.odt - -else - -odf odf-%: - @echo "*** Cannot build ODFs because DOCBOOK2ODF was not defined ***" - @exit 69 - -endif - - -######################################################################## -#### Make language-specific HTML tarballs #### -######################################################################## - -tarball_prefix = gimp-help-2-html -tarball_dir = gimp-help-2 -HTMLMETAFILES = README AUTHORS COPYING MAINTAINERS - -$(tarball_prefix)-%.tar: html/%/index.html html/%/gimp-help.xml \ - $(HTMLMETAFILES) make.d/Makefile.html-package - $(msg) "Making $@ ..." - $(cmd) test ! -d $(tarball_dir) - $(cmd) $(mkdir_p) $(tarball_dir)/html - $(cmd) cd $(tarball_dir)/html && $(ln_s) ../../html/$* . - $(cmd) cp $(HTMLMETAFILES) $(tarball_dir)/ - $(cmd) cp make.d/INSTALL.html-package $(tarball_dir)/INSTALL - $(cmd) $(SED) -e '/LANGUAGE *=/s/en/$*/' \ - make.d/Makefile.html-package > $(tarball_dir)/Makefile - $(cmd) tar -chf $@ $(tarball_dir)/ - $(cmd) rm -rf $(tarball_dir) - -$(tarball_prefix)-%.tar.gz: $(tarball_prefix)-%.tar - $(msg) "Making $@ ..." - $(cmd) gzip -c9 $< > $@ - -$(tarball_prefix)-%.tar.bz2: $(tarball_prefix)-%.tar - $(msg) "Making $@ ..." - $(cmd) bzip2 -c9 $< > $@ - -$(tarball_prefix)-%.tar.xz: $(tarball_prefix)-%.tar - $(msg) "Making $@ ..." - $(cmd) xz -c9 $< > $@ - -$(tarball_prefix)-%.zip: $(tarball_prefix)-%.tar - $(msg) "Making $@ ..." - $(cmd) rm -rf $(tarball_dir)/html - $(cmd) $(mkdir_p) $(tarball_dir)/html - $(cmd) cd $(tarball_dir)/html && $(ln_s) ../../html/$* . - $(cmd) zip -9rq $@ $(tarball_dir)/html - $(cmd) rm -rf $(tarball_dir) - - -######################################################################## -#### Clean up #### -######################################################################## - -clean: - $(cmd) for dir in pot xml log html pdf odf; do \ - test -d $${dir} || continue; \ - echo "Removing $${dir} ..."; \ - rm -rf $${dir}; \ - done - $(cmd) for f in AUTHORS $(AUTHORS_DOCBOOK_XML) build-system.*; do \ - test -f $${f} || continue; \ - echo "Removing $${f} ..."; \ - rm -f $${f}; \ - done - -dist-clean: clean ; - -.PHONY: clean dist-clean - - -######################################################################## -#### Source file checks #### -######################################################################## - -check: checks ; -checks: check-image-references ; -check-images: check-image-references ; - -check-image-references: - $(cmd) if cd $(srcdir) && test -e tools/validate_references.py && \ - type python >/dev/null 2>&1; then \ - echo "*** Checking image references ... "; \ - python tools/validate_references.py \ - --verbose --broken --orphaned \ - $(VALIDATEREFERENCESFLAGS); \ - else \ - echo >&2 "*** Cannot check image references (no Python installed?) ***"; \ - fi - -check-images-%: FORCE - $(cmd) $(RMAKE) check-image-references \ - VALIDATEREFERENCESFLAGS="--imgdir=images/C,images/$*" - -check-image-resolutions-%: - $(cmd) /bin/sh tools/check_image_resolutions.sh images/$* - -# special case 'en': -check-images-en check-images-C: check-image-references ; -check-image-resolutions-en: check-image-resolutions-C ; - -.PHONY: checks check-image-references check-image-resolutions-% - - -######################################################################## -#### Build system development & debugging #### -######################################################################## - -build-system.svg: make.d/build-system.dot - $(cmd) if type dot >/dev/null; then \ - dot -Tsvg -o $@ $<; \ - fi - -dot: build-system.svg - $(cmd) if test -e $<; then \ - if type display >/dev/null; then \ - display $<; \ - elif type xv >/dev/null; then \ - xv $<; \ - fi; \ - fi - - -######################################################################## -#### Special targets #### -######################################################################## - -FORCE: ; - -.PHONY: FORCE - -# Delete the default suffix rules -.SUFFIXES: diff --git a/gimp-help-2.8.0-missing-po-files.patch b/gimp-help-2.8.0-missing-po-files.patch new file mode 100644 index 0000000..2de01fa --- /dev/null +++ b/gimp-help-2.8.0-missing-po-files.patch @@ -0,0 +1,1883 @@ +diff -up ./quickreference/po/ca.po.missing-po-files ./quickreference/po/ca.po +--- ./quickreference/po/ca.po.missing-po-files 2012-06-04 15:26:54.049638128 +0200 ++++ ./quickreference/po/ca.po 2012-06-04 15:27:12.483681152 +0200 +@@ -0,0 +1,928 @@ ++# Catalan translation for gimp-help-2. ++# Copyright (C) 2012 gimp-help-2's COPYRIGHT HOLDER ++# This file is distributed under the same license as the gimp-help-2 package. ++# Gil Forcada , 2012\n" ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: gimp-help-2 master\n" ++"POT-Creation-Date: 2007-10-27 18:16+0200\n" ++"PO-Revision-Date: 2012-02-23 01:08+0100\n" ++"Last-Translator: Gil Forcada \n" ++"Language-Team: Catalan \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++#: gimp-keys.xml:2(title) ++msgid "GIMP Quickreference" ++msgstr "Referència ràpida del GIMP" ++ ++#: gimp-keys.xml:5(title) gimp-keys.xml:9(action) ++msgid "Help" ++msgstr "Ajuda" ++ ++#: gimp-keys.xml:13(action) ++msgid "Context Help" ++msgstr "Ajuda contextual" ++ ++#: gimp-keys.xml:20(title) ++msgid "Toolbox" ++msgstr "Caixa d'eines" ++ ++#: gimp-keys.xml:22(title) ++msgid "Tools" ++msgstr "Eines" ++ ++#: gimp-keys.xml:24(key) ++msgid "R" ++msgstr "R" ++ ++#: gimp-keys.xml:25(action) ++msgid "Rect Select" ++msgstr "" ++ ++#: gimp-keys.xml:28(key) ++msgid "E" ++msgstr "" ++ ++#: gimp-keys.xml:29(action) ++msgid "Ellipse Select" ++msgstr "" ++ ++#: gimp-keys.xml:32(key) ++msgid "F" ++msgstr "" ++ ++#: gimp-keys.xml:33(action) ++msgid "Free Select" ++msgstr "" ++ ++#: gimp-keys.xml:36(key) ++msgid "Z" ++msgstr "" ++ ++#: gimp-keys.xml:37(action) ++msgid "Fuzzy Select" ++msgstr "" ++ ++#: gimp-keys.xml:40(key) ++msgid "O" ++msgstr "" ++ ++#: gimp-keys.xml:41(action) ++msgid "Select By Color" ++msgstr "" ++ ++#: gimp-keys.xml:44(key) ++msgid "I" ++msgstr "" ++ ++#: gimp-keys.xml:45(action) ++msgid "Scissors" ++msgstr "" ++ ++#: gimp-keys.xml:48(key) ++msgid "B" ++msgstr "" ++ ++#: gimp-keys.xml:49(action) ++msgid "Paths" ++msgstr "" ++ ++#: gimp-keys.xml:52(key) ++msgid "O" ++msgstr "" ++ ++#: gimp-keys.xml:53(action) ++msgid "Color Picker" ++msgstr "" ++ ++#: gimp-keys.xml:56(key) ++msgid "M" ++msgstr "" ++ ++#: gimp-keys.xml:57(action) ++msgid "Move" ++msgstr "" ++ ++#: gimp-keys.xml:60(key) ++msgid "C" ++msgstr "" ++ ++#: gimp-keys.xml:61(action) ++msgid "Crop and Resize" ++msgstr "" ++ ++#: gimp-keys.xml:64(key) ++msgid "R" ++msgstr "" ++ ++#: gimp-keys.xml:65(action) ++msgid "Rotate" ++msgstr "" ++ ++#: gimp-keys.xml:68(key) ++msgid "T" ++msgstr "" ++ ++#: gimp-keys.xml:69(action) ++msgid "Scale" ++msgstr "" ++ ++#: gimp-keys.xml:72(key) ++msgid "S" ++msgstr "" ++ ++#: gimp-keys.xml:73(action) ++msgid "Shear" ++msgstr "" ++ ++#: gimp-keys.xml:76(key) ++msgid "P" ++msgstr "" ++ ++#: gimp-keys.xml:77(action) ++msgid "Perspective" ++msgstr "" ++ ++#: gimp-keys.xml:80(key) ++msgid "F" ++msgstr "" ++ ++#: gimp-keys.xml:81(action) ++msgid "Flip" ++msgstr "" ++ ++#: gimp-keys.xml:84(key) ++msgid "T" ++msgstr "" ++ ++#: gimp-keys.xml:85(action) ++msgid "Text" ++msgstr "" ++ ++#: gimp-keys.xml:88(key) ++msgid "B" ++msgstr "" ++ ++#: gimp-keys.xml:89(action) ++msgid "Bucket Fill" ++msgstr "" ++ ++#: gimp-keys.xml:92(key) ++msgid "L" ++msgstr "" ++ ++#: gimp-keys.xml:93(action) ++msgid "Blend" ++msgstr "" ++ ++#: gimp-keys.xml:96(key) ++msgid "N" ++msgstr "" ++ ++#: gimp-keys.xml:97(action) ++msgid "Pencil" ++msgstr "" ++ ++#: gimp-keys.xml:100(key) ++msgid "P" ++msgstr "" ++ ++#: gimp-keys.xml:101(action) ++msgid "Paintbrush" ++msgstr "" ++ ++#: gimp-keys.xml:104(key) ++msgid "E" ++msgstr "" ++ ++#: gimp-keys.xml:105(action) ++msgid "Eraser" ++msgstr "" ++ ++#: gimp-keys.xml:108(key) ++msgid "A" ++msgstr "" ++ ++#: gimp-keys.xml:109(action) ++msgid "Airbrush" ++msgstr "" ++ ++#: gimp-keys.xml:112(key) ++msgid "K" ++msgstr "" ++ ++#: gimp-keys.xml:113(action) ++msgid "Ink" ++msgstr "" ++ ++#: gimp-keys.xml:116(key) ++msgid "C" ++msgstr "" ++ ++#: gimp-keys.xml:117(action) ++msgid "Clone" ++msgstr "" ++ ++#: gimp-keys.xml:120(key) ++msgid "U" ++msgstr "" ++ ++#: gimp-keys.xml:121(action) ++msgid "Blur/Sharpen" ++msgstr "" ++ ++#: gimp-keys.xml:124(key) ++msgid "S" ++msgstr "" ++ ++#: gimp-keys.xml:125(action) ++msgid "Smudge" ++msgstr "" ++ ++#: gimp-keys.xml:128(key) ++msgid "D" ++msgstr "" ++ ++#: gimp-keys.xml:129(action) ++msgid "Dodge/Burn" ++msgstr "" ++ ++#: gimp-keys.xml:132(note) ++msgid "Double click on the tool buttons opens the Tool Options dialog." ++msgstr "" ++ ++#: gimp-keys.xml:137(title) ++msgid "Context" ++msgstr "" ++ ++#: gimp-keys.xml:139(key) ++msgid "X" ++msgstr "" ++ ++#: gimp-keys.xml:140(action) ++msgid "Swap Colors" ++msgstr "" ++ ++#: gimp-keys.xml:143(key) ++msgid "D" ++msgstr "" ++ ++#: gimp-keys.xml:144(action) ++msgid "Default Colors" ++msgstr "" ++ ++#: gimp-keys.xml:146(note) ++msgid "Click on the colors to change the colors." ++msgstr "" ++ ++#: gimp-keys.xml:153(title) ++msgid "File" ++msgstr "" ++ ++#: gimp-keys.xml:156(key) ++msgid "N" ++msgstr "" ++ ++#: gimp-keys.xml:157(action) ++msgid "New image" ++msgstr "" ++ ++#: gimp-keys.xml:160(key) ++msgid "O" ++msgstr "" ++ ++#: gimp-keys.xml:161(action) ++msgid "Open image" ++msgstr "" ++ ++#: gimp-keys.xml:164(key) ++msgid "O" ++msgstr "" ++ ++#: gimp-keys.xml:165(action) ++msgid "Open image as new layer" ++msgstr "" ++ ++#: gimp-keys.xml:168(key) gimp-keys.xml:449(key) gimp-keys.xml:452(key) ++#: gimp-keys.xml:455(key) ++msgid "D" ++msgstr "" ++ ++#: gimp-keys.xml:169(action) ++msgid "Duplicate image" ++msgstr "" ++ ++#: gimp-keys.xml:172(key) ++msgid "1" ++msgstr "" ++ ++#: gimp-keys.xml:172(action) ++msgid "Open recent image 01" ++msgstr "" ++ ++#: gimp-keys.xml:175(key) ++msgid "2" ++msgstr "" ++ ++#: gimp-keys.xml:175(action) ++msgid "Open recent image 02" ++msgstr "" ++ ++#: gimp-keys.xml:178(key) ++msgid "3" ++msgstr "" ++ ++#: gimp-keys.xml:178(action) ++msgid "Open recent image 03" ++msgstr "" ++ ++#: gimp-keys.xml:181(key) ++msgid "4" ++msgstr "" ++ ++#: gimp-keys.xml:181(action) ++msgid "Open recent image 04" ++msgstr "" ++ ++#: gimp-keys.xml:184(key) ++msgid "5" ++msgstr "" ++ ++#: gimp-keys.xml:184(action) ++msgid "Open recent image 05" ++msgstr "" ++ ++#: gimp-keys.xml:187(key) ++msgid "6" ++msgstr "" ++ ++#: gimp-keys.xml:187(action) ++msgid "Open recent image 06" ++msgstr "" ++ ++#: gimp-keys.xml:190(key) ++msgid "7" ++msgstr "" ++ ++#: gimp-keys.xml:190(action) ++msgid "Open recent image 07" ++msgstr "" ++ ++#: gimp-keys.xml:193(key) ++msgid "8" ++msgstr "" ++ ++#: gimp-keys.xml:193(action) ++msgid "Open recent image 08" ++msgstr "" ++ ++#: gimp-keys.xml:196(key) ++msgid "9" ++msgstr "" ++ ++#: gimp-keys.xml:196(action) ++msgid "Open recent image 09" ++msgstr "" ++ ++#: gimp-keys.xml:199(key) ++msgid "0" ++msgstr "" ++ ++#: gimp-keys.xml:199(action) ++msgid "Open recent image 10" ++msgstr "" ++ ++#: gimp-keys.xml:202(key) ++msgid "S" ++msgstr "" ++ ++#: gimp-keys.xml:202(action) ++msgid "Save image" ++msgstr "" ++ ++#: gimp-keys.xml:205(key) ++msgid "S" ++msgstr "" ++ ++#: gimp-keys.xml:205(action) ++msgid "Save under a new name" ++msgstr "" ++ ++#: gimp-keys.xml:208(key) ++msgid "Q" ++msgstr "" ++ ++#: gimp-keys.xml:208(action) ++msgid "Quit" ++msgstr "" ++ ++#: gimp-keys.xml:215(title) ++msgid "Dialogs" ++msgstr "" ++ ++#: gimp-keys.xml:218(key) ++msgid "L" ++msgstr "" ++ ++#: gimp-keys.xml:218(action) gimp-keys.xml:462(title) ++msgid "Layers" ++msgstr "" ++ ++#: gimp-keys.xml:221(key) ++msgid "B" ++msgstr "" ++ ++#: gimp-keys.xml:221(action) ++msgid "Brushes" ++msgstr "" ++ ++#: gimp-keys.xml:224(key) ++msgid "P" ++msgstr "" ++ ++#: gimp-keys.xml:224(action) ++msgid "Patterns" ++msgstr "" ++ ++#: gimp-keys.xml:227(key) ++msgid "G" ++msgstr "" ++ ++#: gimp-keys.xml:227(action) ++msgid "Gradients" ++msgstr "" ++ ++#: gimp-keys.xml:230(key) gimp-keys.xml:395(key) ++msgid "T" ++msgstr "" ++ ++#: gimp-keys.xml:230(action) ++msgid "Tool-Options" ++msgstr "" ++ ++#: gimp-keys.xml:233(key) ++msgid "P" ++msgstr "" ++ ++#: gimp-keys.xml:233(action) ++msgid "Palettes" ++msgstr "" ++ ++#: gimp-keys.xml:236(key) ++msgid "I" ++msgstr "" ++ ++#: gimp-keys.xml:236(action) ++msgid "Info window" ++msgstr "" ++ ++#: gimp-keys.xml:239(key) ++msgid "N" ++msgstr "" ++ ++#: gimp-keys.xml:239(action) ++msgid "Navigation window" ++msgstr "" ++ ++#: gimp-keys.xml:241(note) ++msgid "" ++"These open a new dialog window if it wasn't open yet, otherwise the " ++"corresponding dialog gets focus." ++msgstr "" ++ ++#: gimp-keys.xml:249(title) ++msgid "Within a Dialog" ++msgstr "" ++ ++#: gimp-keys.xml:251(key) gimp-keys.xml:328(key) ++msgid "W" ++msgstr "" ++ ++#: gimp-keys.xml:252(action) ++msgid "Close the window" ++msgstr "" ++ ++#: gimp-keys.xml:255(action) ++msgid "Jump to next widget" ++msgstr "" ++ ++#: gimp-keys.xml:258(action) ++msgid "Jump to previous widget" ++msgstr "" ++ ++#: gimp-keys.xml:262(action) ++msgid "Set the new value" ++msgstr "" ++ ++#: gimp-keys.xml:265(note) ++msgid "" ++"This accepts the new value you typed in a text field and returns focus to " ++"canvas." ++msgstr "" ++ ++#: gimp-keys.xml:271(action) ++msgid "Activate current button or list" ++msgstr "" ++ ++#: gimp-keys.xml:276(action) ++msgid "In a multi-tab dialog, switch tabs" ++msgstr "" ++ ++#: gimp-keys.xml:282(title) ++msgid "Within a File Dialog" ++msgstr "" ++ ++#: gimp-keys.xml:284(key) ++msgid "L" ++msgstr "" ++ ++#: gimp-keys.xml:284(action) ++msgid "Open Location" ++msgstr "" ++ ++#: gimp-keys.xml:287(action) ++msgid "Up-Folder" ++msgstr "" ++ ++#: gimp-keys.xml:290(action) ++msgid "Down-Folder" ++msgstr "" ++ ++#: gimp-keys.xml:293(action) ++msgid "Home-Folder" ++msgstr "" ++ ++#: gimp-keys.xml:296(action) ++msgid "Close Dialog" ++msgstr "" ++ ++#: gimp-keys.xml:307(title) ++msgid "View" ++msgstr "" ++ ++#: gimp-keys.xml:309(title) ++msgid "Window" ++msgstr "" ++ ++#: gimp-keys.xml:310(note) ++msgid "" ++"Menus can also be activated by Alt with the letter underscored in the menu " ++"name." ++msgstr "" ++ ++#: gimp-keys.xml:315(action) ++msgid "Main Menu" ++msgstr "" ++ ++#: gimp-keys.xml:319(action) ++msgid "Drop-down Menu" ++msgstr "" ++ ++#: gimp-keys.xml:322(action) ++msgid "Toggle fullscreen" ++msgstr "" ++ ++#: gimp-keys.xml:325(key) ++msgid "Q" ++msgstr "" ++ ++#: gimp-keys.xml:325(action) ++msgid "Toggle quickmask" ++msgstr "" ++ ++#: gimp-keys.xml:328(action) ++msgid "Close document window" ++msgstr "" ++ ++#: gimp-keys.xml:333(title) gimp-keys.xml:351(action) ++msgid "Zoom" ++msgstr "" ++ ++#: gimp-keys.xml:335(key) ++msgid "+" ++msgstr "" ++ ++#: gimp-keys.xml:335(action) gimp-keys.xml:530(action) ++msgid "Zoom in" ++msgstr "" ++ ++#: gimp-keys.xml:338(key) ++msgid "-" ++msgstr "" ++ ++#: gimp-keys.xml:338(action) gimp-keys.xml:533(action) ++msgid "Zoom out" ++msgstr "" ++ ++#: gimp-keys.xml:341(key) ++msgid "1" ++msgstr "" ++ ++#: gimp-keys.xml:341(action) ++msgid "Zoom 1:1" ++msgstr "" ++ ++#: gimp-keys.xml:344(key) ++msgid "E" ++msgstr "" ++ ++#: gimp-keys.xml:344(action) ++msgid "Shrink wrap" ++msgstr "" ++ ++#: gimp-keys.xml:346(note) ++msgid "This fits the windows to the image size." ++msgstr "" ++ ++#: gimp-keys.xml:348(key) ++msgid "E" ++msgstr "" ++ ++#: gimp-keys.xml:348(action) ++msgid "Fit image in window" ++msgstr "" ++ ++#: gimp-keys.xml:356(title) ++msgid "Scrolling (panning)" ++msgstr "" ++ ++#: gimp-keys.xml:358(action) gimp-keys.xml:366(action) ++msgid "Scroll canvas" ++msgstr "" ++ ++#: gimp-keys.xml:360(note) ++msgid "" ++"Scrolling by keys is accelerated, i.e. it speeds up when you press Shift" ++"+arrows, or jumps to the borders with Ctrl+arrows." ++msgstr "" ++ ++#: gimp-keys.xml:369(action) ++msgid "Scroll canvas vertically" ++msgstr "" ++ ++#: gimp-keys.xml:372(action) ++msgid "Scroll canvas horizontally" ++msgstr "" ++ ++#: gimp-keys.xml:378(title) ++msgid "Rulers and Guides" ++msgstr "" ++ ++#: gimp-keys.xml:380(action) ++msgid "Drag off a ruler to create guide" ++msgstr "" ++ ++#: gimp-keys.xml:383(note) ++msgid "" ++"Drag off the horizontal or vertical ruler to create a new guideline. Drag a " ++"guideline onto the ruler to delete it." ++msgstr "" ++ ++#: gimp-keys.xml:388(action) ++msgid "Drag a sample point out of the rulers" ++msgstr "" ++ ++#: gimp-keys.xml:392(key) ++msgid "R" ++msgstr "" ++ ++#: gimp-keys.xml:392(action) ++msgid "Toggle rulers" ++msgstr "" ++ ++#: gimp-keys.xml:395(action) ++msgid "Toggle guides" ++msgstr "" ++ ++#: gimp-keys.xml:402(title) ++msgid "Edit" ++msgstr "" ++ ++#: gimp-keys.xml:404(title) ++msgid "Undo/redo" ++msgstr "" ++ ++#: gimp-keys.xml:406(key) ++msgid "Z" ++msgstr "" ++ ++#: gimp-keys.xml:406(action) ++msgid "Undo" ++msgstr "" ++ ++#: gimp-keys.xml:409(key) ++msgid "Y" ++msgstr "" ++ ++#: gimp-keys.xml:409(action) ++msgid "Redo" ++msgstr "" ++ ++#: gimp-keys.xml:414(title) ++msgid "Clipboard" ++msgstr "" ++ ++#: gimp-keys.xml:416(key) ++msgid "C" ++msgstr "" ++ ++#: gimp-keys.xml:416(action) ++msgid "Copy selection" ++msgstr "" ++ ++#: gimp-keys.xml:418(note) ++msgid "This places a copy of the selection to the GIMP clipboard." ++msgstr "" ++ ++#: gimp-keys.xml:421(key) ++msgid "X" ++msgstr "" ++ ++#: gimp-keys.xml:421(action) ++msgid "Cut selection" ++msgstr "" ++ ++#: gimp-keys.xml:423(note) ++msgid "" ++"This works the same as \"copy selection\" followed by deleting the selection." ++msgstr "" ++ ++#: gimp-keys.xml:428(key) ++msgid "V" ++msgstr "" ++ ++#: gimp-keys.xml:428(action) ++msgid "Paste clipboard" ++msgstr "" ++ ++#: gimp-keys.xml:430(note) ++msgid "This places the clipboard objects as a floating selection" ++msgstr "" ++ ++#: gimp-keys.xml:433(key) ++msgid "K" ++msgstr "" ++ ++#: gimp-keys.xml:433(action) ++msgid "Clears selection" ++msgstr "" ++ ++#: gimp-keys.xml:436(key) ++msgid "C" ++msgstr "" ++ ++#: gimp-keys.xml:436(action) ++msgid "Named copy selection" ++msgstr "" ++ ++#: gimp-keys.xml:439(key) ++msgid "X" ++msgstr "" ++ ++#: gimp-keys.xml:439(action) ++msgid "Named cut selection" ++msgstr "" ++ ++#: gimp-keys.xml:442(key) ++msgid "V" ++msgstr "" ++ ++#: gimp-keys.xml:442(action) ++msgid "Named paste clipboard" ++msgstr "" ++ ++#: gimp-keys.xml:447(title) ++msgid "Fill" ++msgstr "" ++ ++#: gimp-keys.xml:449(action) ++msgid "Fill with FG Color" ++msgstr "" ++ ++#: gimp-keys.xml:452(action) ++msgid "Fill with BG Color" ++msgstr "" ++ ++#: gimp-keys.xml:455(action) ++msgid "Fill with Pattern" ++msgstr "" ++ ++#: gimp-keys.xml:466(action) ++msgid "Select the layer above" ++msgstr "" ++ ++#: gimp-keys.xml:470(action) ++msgid "Select the layer below" ++msgstr "" ++ ++#: gimp-keys.xml:473(action) ++msgid "Select the first layer" ++msgstr "" ++ ++#: gimp-keys.xml:476(action) ++msgid "Select the last layer" ++msgstr "" ++ ++#: gimp-keys.xml:479(key) ++msgid "M" ++msgstr "" ++ ++#: gimp-keys.xml:479(action) ++msgid "Merge visible layers" ++msgstr "" ++ ++#: gimp-keys.xml:482(key) ++msgid "H" ++msgstr "" ++ ++#: gimp-keys.xml:482(action) ++msgid "Anchar layer" ++msgstr "" ++ ++#: gimp-keys.xml:489(title) ++msgid "Selections" ++msgstr "" ++ ++#: gimp-keys.xml:492(key) ++msgid "T" ++msgstr "" ++ ++#: gimp-keys.xml:492(action) ++msgid "Toggle selections" ++msgstr "" ++ ++#: gimp-keys.xml:495(key) ++msgid "A" ++msgstr "" ++ ++#: gimp-keys.xml:495(action) ++msgid "Select all" ++msgstr "" ++ ++#: gimp-keys.xml:498(key) ++msgid "A" ++msgstr "" ++ ++#: gimp-keys.xml:498(action) ++msgid "Select none" ++msgstr "" ++ ++#: gimp-keys.xml:501(key) ++msgid "I" ++msgstr "" ++ ++#: gimp-keys.xml:501(action) ++msgid "Invert selection" ++msgstr "" ++ ++#: gimp-keys.xml:504(key) ++msgid "L" ++msgstr "" ++ ++#: gimp-keys.xml:504(action) ++msgid "Float selection" ++msgstr "" ++ ++#: gimp-keys.xml:507(key) ++msgid "V" ++msgstr "" ++ ++#: gimp-keys.xml:507(action) ++msgid "Path to selection" ++msgstr "" ++ ++#: gimp-keys.xml:514(title) ++msgid "Plug-ins" ++msgstr "" ++ ++#: gimp-keys.xml:517(key) ++msgid "F" ++msgstr "" ++ ++#: gimp-keys.xml:517(action) ++msgid "Repeat last plug-in" ++msgstr "" ++ ++#: gimp-keys.xml:520(key) ++msgid "F" ++msgstr "" ++ ++#: gimp-keys.xml:520(action) ++msgid "Reshow last plug-in" ++msgstr "" ++ ++#: gimp-keys.xml:527(title) ++msgid "Zoom tool" ++msgstr "" ++ ++#: gimp-keys.xml:536(action) ++msgid "Zoom into the area" ++msgstr "" ++ ++#. Put one translator per line, in the form of NAME , YEAR1, YEAR2. ++#: gimp-keys.xml:0(None) ++msgid "translator-credits" ++msgstr "" +diff -up ./quickreference/po/pt_BR.po.missing-po-files ./quickreference/po/pt_BR.po +--- ./quickreference/po/pt_BR.po.missing-po-files 2012-06-04 15:26:58.692648963 +0200 ++++ ./quickreference/po/pt_BR.po 2012-06-04 15:27:16.189689796 +0200 +@@ -0,0 +1,947 @@ ++# Brazilian Portuguese translation for gimp-help-2. ++# Copyright (C) 2011 gimp-help-2's COPYRIGHT HOLDER ++# This file is distributed under the same license as the gimp-help-2 package. ++# Leonidas S. Barbosa , 2011. ++# Enrico Nicoletto , 2011. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: gimp-help-2 master\n" ++"POT-Creation-Date: 2007-10-27 18:16+0200\n" ++"PO-Revision-Date: 2011-03-09 11:40-0300\n" ++"Last-Translator: Enrico Nicoletto \n" ++"Language-Team: Brazilian Portuguese \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" ++ ++#: gimp-keys.xml:2(title) ++msgid "GIMP Quickreference" ++msgstr "Referência rápida do GIMP" ++ ++#: gimp-keys.xml:5(title) gimp-keys.xml:9(action) ++msgid "Help" ++msgstr "Ajuda" ++ ++#: gimp-keys.xml:13(action) ++msgid "Context Help" ++msgstr "Ajuda por contexto" ++ ++#: gimp-keys.xml:20(title) ++msgid "Toolbox" ++msgstr "Caixa de ferramentas" ++ ++#: gimp-keys.xml:22(title) ++msgid "Tools" ++msgstr "Ferramentas" ++ ++#: gimp-keys.xml:24(key) ++msgid "R" ++msgstr "R" ++ ++#: gimp-keys.xml:25(action) ++msgid "Rect Select" ++msgstr "Seleção de retângulo" ++ ++#: gimp-keys.xml:28(key) ++msgid "E" ++msgstr "E" ++ ++#: gimp-keys.xml:29(action) ++msgid "Ellipse Select" ++msgstr "Seleção de elipse" ++ ++#: gimp-keys.xml:32(key) ++msgid "F" ++msgstr "F" ++ ++#: gimp-keys.xml:33(action) ++msgid "Free Select" ++msgstr "Liberar seleção" ++ ++#: gimp-keys.xml:36(key) ++msgid "Z" ++msgstr "Z" ++ ++#: gimp-keys.xml:37(action) ++msgid "Fuzzy Select" ++msgstr "Seleção contígua" ++ ++#: gimp-keys.xml:40(key) ++msgid "O" ++msgstr "O" ++ ++#: gimp-keys.xml:41(action) ++msgid "Select By Color" ++msgstr "Seleção por cor" ++ ++#: gimp-keys.xml:44(key) ++msgid "I" ++msgstr "I" ++ ++#: gimp-keys.xml:45(action) ++msgid "Scissors" ++msgstr "Tesoura" ++ ++#: gimp-keys.xml:48(key) ++msgid "B" ++msgstr "B" ++ ++#: gimp-keys.xml:49(action) ++msgid "Paths" ++msgstr "Caminhos" ++ ++#: gimp-keys.xml:52(key) ++msgid "O" ++msgstr "O" ++ ++#: gimp-keys.xml:53(action) ++msgid "Color Picker" ++msgstr "Seletor de cores" ++ ++#: gimp-keys.xml:56(key) ++msgid "M" ++msgstr "M" ++ ++#: gimp-keys.xml:57(action) ++msgid "Move" ++msgstr "Mover" ++ ++#: gimp-keys.xml:60(key) ++msgid "C" ++msgstr "C" ++ ++#: gimp-keys.xml:61(action) ++msgid "Crop and Resize" ++msgstr "Recortar e redimensionar" ++ ++#: gimp-keys.xml:64(key) ++msgid "R" ++msgstr "R" ++ ++#: gimp-keys.xml:65(action) ++msgid "Rotate" ++msgstr "Rotacionar" ++ ++#: gimp-keys.xml:68(key) ++msgid "T" ++msgstr "T" ++ ++#: gimp-keys.xml:69(action) ++msgid "Scale" ++msgstr "Redimensionar" ++ ++#: gimp-keys.xml:72(key) ++msgid "S" ++msgstr "S" ++ ++#: gimp-keys.xml:73(action) ++msgid "Shear" ++msgstr "Inclinar" ++ ++#: gimp-keys.xml:76(key) ++msgid "P" ++msgstr "P" ++ ++#: gimp-keys.xml:77(action) ++msgid "Perspective" ++msgstr "Perspectiva" ++ ++#: gimp-keys.xml:80(key) ++msgid "F" ++msgstr "F" ++ ++#: gimp-keys.xml:81(action) ++msgid "Flip" ++msgstr "Espelhar" ++ ++#: gimp-keys.xml:84(key) ++msgid "T" ++msgstr "T" ++ ++#: gimp-keys.xml:85(action) ++msgid "Text" ++msgstr "Texto" ++ ++#: gimp-keys.xml:88(key) ++msgid "B" ++msgstr "B" ++ ++#: gimp-keys.xml:89(action) ++msgid "Bucket Fill" ++msgstr "Preenchimento" ++ ++#: gimp-keys.xml:92(key) ++msgid "L" ++msgstr "L" ++ ++#: gimp-keys.xml:93(action) ++msgid "Blend" ++msgstr "Misturar" ++ ++#: gimp-keys.xml:96(key) ++msgid "N" ++msgstr "N" ++ ++#: gimp-keys.xml:97(action) ++msgid "Pencil" ++msgstr "Lápis" ++ ++#: gimp-keys.xml:100(key) ++msgid "P" ++msgstr "P" ++ ++#: gimp-keys.xml:101(action) ++msgid "Paintbrush" ++msgstr "Pincel" ++ ++#: gimp-keys.xml:104(key) ++msgid "E" ++msgstr "E" ++ ++#: gimp-keys.xml:105(action) ++msgid "Eraser" ++msgstr "Borracha" ++ ++#: gimp-keys.xml:108(key) ++msgid "A" ++msgstr "A" ++ ++#: gimp-keys.xml:109(action) ++msgid "Airbrush" ++msgstr "Aerógrafo" ++ ++#: gimp-keys.xml:112(key) ++msgid "K" ++msgstr "K" ++ ++#: gimp-keys.xml:113(action) ++msgid "Ink" ++msgstr "Tinta" ++ ++#: gimp-keys.xml:116(key) ++msgid "C" ++msgstr "C" ++ ++#: gimp-keys.xml:117(action) ++msgid "Clone" ++msgstr "Clonar" ++ ++#: gimp-keys.xml:120(key) ++msgid "U" ++msgstr "U" ++ ++#: gimp-keys.xml:121(action) ++msgid "Blur/Sharpen" ++msgstr "Desfocar/Aguçar" ++ ++#: gimp-keys.xml:124(key) ++msgid "S" ++msgstr "S" ++ ++#: gimp-keys.xml:125(action) ++msgid "Smudge" ++msgstr "Borrar" ++ ++#: gimp-keys.xml:128(key) ++msgid "D" ++msgstr "D" ++ ++#: gimp-keys.xml:129(action) ++msgid "Dodge/Burn" ++msgstr "Sub-exposição/Super-exposição" ++ ++#: gimp-keys.xml:132(note) ++msgid "Double click on the tool buttons opens the Tool Options dialog." ++msgstr "" ++"Um duplo clique no botão de ferramentas abre a tela de opções de ferramenta." ++ ++#: gimp-keys.xml:137(title) ++msgid "Context" ++msgstr "Contexto" ++ ++#: gimp-keys.xml:139(key) ++msgid "X" ++msgstr "X" ++ ++#: gimp-keys.xml:140(action) ++msgid "Swap Colors" ++msgstr "Trocar as cores" ++ ++#: gimp-keys.xml:143(key) ++msgid "D" ++msgstr "D" ++ ++#: gimp-keys.xml:144(action) ++msgid "Default Colors" ++msgstr "Cores padrão" ++ ++#: gimp-keys.xml:146(note) ++msgid "Click on the colors to change the colors." ++msgstr "Clique nas cores para mudá-las." ++ ++#: gimp-keys.xml:153(title) ++msgid "File" ++msgstr "Arquivo" ++ ++#: gimp-keys.xml:156(key) ++msgid "N" ++msgstr "N" ++ ++#: gimp-keys.xml:157(action) ++msgid "New image" ++msgstr "Nova imagem" ++ ++#: gimp-keys.xml:160(key) ++msgid "O" ++msgstr "O" ++ ++#: gimp-keys.xml:161(action) ++msgid "Open image" ++msgstr "Abrir imagem" ++ ++#: gimp-keys.xml:164(key) ++msgid "O" ++msgstr "O" ++ ++#: gimp-keys.xml:165(action) ++msgid "Open image as new layer" ++msgstr "Abrir imagem como uma nova camada" ++ ++#: gimp-keys.xml:168(key) gimp-keys.xml:449(key) gimp-keys.xml:452(key) ++#: gimp-keys.xml:455(key) ++msgid "D" ++msgstr "D" ++ ++#: gimp-keys.xml:169(action) ++msgid "Duplicate image" ++msgstr "Duplicar imagem" ++ ++#: gimp-keys.xml:172(key) ++msgid "1" ++msgstr "1" ++ ++#: gimp-keys.xml:172(action) ++msgid "Open recent image 01" ++msgstr "Abrir imagem recente 01" ++ ++#: gimp-keys.xml:175(key) ++msgid "2" ++msgstr "2" ++ ++#: gimp-keys.xml:175(action) ++msgid "Open recent image 02" ++msgstr "Abrir imagem recente 02" ++ ++#: gimp-keys.xml:178(key) ++msgid "3" ++msgstr "3" ++ ++#: gimp-keys.xml:178(action) ++msgid "Open recent image 03" ++msgstr "Abrir imagem recente 03" ++ ++#: gimp-keys.xml:181(key) ++msgid "4" ++msgstr "4" ++ ++#: gimp-keys.xml:181(action) ++msgid "Open recent image 04" ++msgstr "Abrir imagem recente 04" ++ ++#: gimp-keys.xml:184(key) ++msgid "5" ++msgstr "5" ++ ++#: gimp-keys.xml:184(action) ++msgid "Open recent image 05" ++msgstr "Abrir imagem recente 05" ++ ++#: gimp-keys.xml:187(key) ++msgid "6" ++msgstr "6" ++ ++#: gimp-keys.xml:187(action) ++msgid "Open recent image 06" ++msgstr "Abrir imagem recente 06" ++ ++#: gimp-keys.xml:190(key) ++msgid "7" ++msgstr "7" ++ ++#: gimp-keys.xml:190(action) ++msgid "Open recent image 07" ++msgstr "Abrir imagem recente 07" ++ ++#: gimp-keys.xml:193(key) ++msgid "8" ++msgstr "8" ++ ++#: gimp-keys.xml:193(action) ++msgid "Open recent image 08" ++msgstr "Abrir imagem recente 08" ++ ++#: gimp-keys.xml:196(key) ++msgid "9" ++msgstr "9" ++ ++#: gimp-keys.xml:196(action) ++msgid "Open recent image 09" ++msgstr "Abrir imagem recente 09" ++ ++#: gimp-keys.xml:199(key) ++msgid "0" ++msgstr "0" ++ ++#: gimp-keys.xml:199(action) ++msgid "Open recent image 10" ++msgstr "Abrir imagem recente 10" ++ ++#: gimp-keys.xml:202(key) ++msgid "S" ++msgstr "S" ++ ++#: gimp-keys.xml:202(action) ++msgid "Save image" ++msgstr "Salvar imagem" ++ ++#: gimp-keys.xml:205(key) ++msgid "S" ++msgstr "S" ++ ++#: gimp-keys.xml:205(action) ++msgid "Save under a new name" ++msgstr "Salvar com um novo nome" ++ ++#: gimp-keys.xml:208(key) ++msgid "Q" ++msgstr "Q" ++ ++#: gimp-keys.xml:208(action) ++msgid "Quit" ++msgstr "Sair" ++ ++#: gimp-keys.xml:215(title) ++msgid "Dialogs" ++msgstr "Janelas de diálogo" ++ ++#: gimp-keys.xml:218(key) ++msgid "L" ++msgstr "L" ++ ++#: gimp-keys.xml:218(action) gimp-keys.xml:462(title) ++msgid "Layers" ++msgstr "Camadas" ++ ++#: gimp-keys.xml:221(key) ++msgid "B" ++msgstr "B" ++ ++#: gimp-keys.xml:221(action) ++msgid "Brushes" ++msgstr "Pincéis" ++ ++#: gimp-keys.xml:224(key) ++msgid "P" ++msgstr "P" ++ ++#: gimp-keys.xml:224(action) ++msgid "Patterns" ++msgstr "Padrões" ++ ++#: gimp-keys.xml:227(key) ++msgid "G" ++msgstr "G" ++ ++#: gimp-keys.xml:227(action) ++msgid "Gradients" ++msgstr "Degradês" ++ ++#: gimp-keys.xml:230(key) gimp-keys.xml:395(key) ++msgid "T" ++msgstr "T" ++ ++#: gimp-keys.xml:230(action) ++msgid "Tool-Options" ++msgstr "Opções de ferramentas" ++ ++#: gimp-keys.xml:233(key) ++msgid "P" ++msgstr "P" ++ ++#: gimp-keys.xml:233(action) ++msgid "Palettes" ++msgstr "Paletas" ++ ++#: gimp-keys.xml:236(key) ++msgid "I" ++msgstr "I" ++ ++#: gimp-keys.xml:236(action) ++msgid "Info window" ++msgstr "Janela de informação" ++ ++#: gimp-keys.xml:239(key) ++msgid "N" ++msgstr "N" ++ ++#: gimp-keys.xml:239(action) ++msgid "Navigation window" ++msgstr "Janela de navegação" ++ ++#: gimp-keys.xml:241(note) ++msgid "" ++"These open a new dialog window if it wasn't open yet, otherwise the " ++"corresponding dialog gets focus." ++msgstr "" ++"Estas abrem uma nova janela de diálogo se já não houver uma aberta, caso " ++"contrário a janela de diálogo correspondente ganha o foco." ++ ++#: gimp-keys.xml:249(title) ++msgid "Within a Dialog" ++msgstr "Dentro de um diálogo" ++ ++#: gimp-keys.xml:251(key) gimp-keys.xml:328(key) ++msgid "W" ++msgstr "W" ++ ++#: gimp-keys.xml:252(action) ++msgid "Close the window" ++msgstr "Fechar a janela" ++ ++#: gimp-keys.xml:255(action) ++msgid "Jump to next widget" ++msgstr "Ir para o próximo componente (widget)" ++ ++#: gimp-keys.xml:258(action) ++msgid "Jump to previous widget" ++msgstr "Ir para o componente (widget) anterior" ++ ++#: gimp-keys.xml:262(action) ++msgid "Set the new value" ++msgstr "Atribuir um novo valor" ++ ++#: gimp-keys.xml:265(note) ++msgid "" ++"This accepts the new value you typed in a text field and returns focus to " ++"canvas." ++msgstr "" ++"Isto aceita o novo valor digitado no campo de texto e retorna o foco para a " ++"tela." ++ ++#: gimp-keys.xml:271(action) ++msgid "Activate current button or list" ++msgstr "Ativar o botão atual ou lista" ++ ++#: gimp-keys.xml:276(action) ++msgid "In a multi-tab dialog, switch tabs" ++msgstr "Em uma janela de diálogo multi-abas, alterne entre abas" ++ ++#: gimp-keys.xml:282(title) ++msgid "Within a File Dialog" ++msgstr "Dentro de uma janela de arquivo" ++ ++#: gimp-keys.xml:284(key) ++msgid "L" ++msgstr "L" ++ ++#: gimp-keys.xml:284(action) ++msgid "Open Location" ++msgstr "Abrir a localização" ++ ++#: gimp-keys.xml:287(action) ++msgid "Up-Folder" ++msgstr "Pasta acima" ++ ++#: gimp-keys.xml:290(action) ++msgid "Down-Folder" ++msgstr "Pasta abaixo" ++ ++#: gimp-keys.xml:293(action) ++msgid "Home-Folder" ++msgstr "Pasta pessoal (home)" ++ ++#: gimp-keys.xml:296(action) ++msgid "Close Dialog" ++msgstr "Fechar a janela de diálogo" ++ ++#: gimp-keys.xml:307(title) ++msgid "View" ++msgstr "Visualizar" ++ ++#: gimp-keys.xml:309(title) ++msgid "Window" ++msgstr "Janela" ++ ++#: gimp-keys.xml:310(note) ++msgid "" ++"Menus can also be activated by Alt with the letter underscored in the menu " ++"name." ++msgstr "" ++"Os menus também podem ser ativados pela tecla Alt seguida da letra " ++"sublinhada no nome do menu." ++ ++#: gimp-keys.xml:315(action) ++msgid "Main Menu" ++msgstr "Menu principal" ++ ++#: gimp-keys.xml:319(action) ++msgid "Drop-down Menu" ++msgstr "Menu suspenso" ++ ++#: gimp-keys.xml:322(action) ++msgid "Toggle fullscreen" ++msgstr "Alternar tela cheia" ++ ++#: gimp-keys.xml:325(key) ++msgid "Q" ++msgstr "Q" ++ ++#: gimp-keys.xml:325(action) ++msgid "Toggle quickmask" ++msgstr "Alternar mascára rápida" ++ ++#: gimp-keys.xml:328(action) ++msgid "Close document window" ++msgstr "Fechar janela do documento" ++ ++#: gimp-keys.xml:333(title) gimp-keys.xml:351(action) ++msgid "Zoom" ++msgstr "Zoom" ++ ++#: gimp-keys.xml:335(key) ++msgid "+" ++msgstr "+" ++ ++#: gimp-keys.xml:335(action) gimp-keys.xml:530(action) ++msgid "Zoom in" ++msgstr "Ampliar" ++ ++#: gimp-keys.xml:338(key) ++msgid "-" ++msgstr "-" ++ ++#: gimp-keys.xml:338(action) gimp-keys.xml:533(action) ++msgid "Zoom out" ++msgstr "Reduzir" ++ ++#: gimp-keys.xml:341(key) ++msgid "1" ++msgstr "1" ++ ++#: gimp-keys.xml:341(action) ++msgid "Zoom 1:1" ++msgstr "Zoom 1:1" ++ ++#: gimp-keys.xml:344(key) ++msgid "E" ++msgstr "E" ++ ++#: gimp-keys.xml:344(action) ++msgid "Shrink wrap" ++msgstr "Ajustar encolhimento" ++ ++#: gimp-keys.xml:346(note) ++msgid "This fits the windows to the image size." ++msgstr "Ajusta a janela para o tamanho da imagem." ++ ++#: gimp-keys.xml:348(key) ++msgid "E" ++msgstr "E" ++ ++#: gimp-keys.xml:348(action) ++msgid "Fit image in window" ++msgstr "Ajustar imagem na janela" ++ ++#: gimp-keys.xml:356(title) ++msgid "Scrolling (panning)" ++msgstr "Rolagem (deslocamento)" ++ ++#: gimp-keys.xml:358(action) gimp-keys.xml:366(action) ++msgid "Scroll canvas" ++msgstr "Rolar a tela" ++ ++#: gimp-keys.xml:360(note) ++msgid "" ++"Scrolling by keys is accelerated, i.e. it speeds up when you press Shift" ++"+arrows, or jumps to the borders with Ctrl+arrows." ++msgstr "" ++"A rolagem por teclas é acelarada, por exemplo, quando você pressiona Shift" ++"+setas, ou pula para as bordas com Ctrl+setas." ++ ++#: gimp-keys.xml:369(action) ++msgid "Scroll canvas vertically" ++msgstr "Rolar a tela verticalmente" ++ ++#: gimp-keys.xml:372(action) ++msgid "Scroll canvas horizontally" ++msgstr "Rolar a tela horizontalmente" ++ ++#: gimp-keys.xml:378(title) ++msgid "Rulers and Guides" ++msgstr "Réguas e guias" ++ ++#: gimp-keys.xml:380(action) ++msgid "Drag off a ruler to create guide" ++msgstr "Arraste uma régua para criar uma guia" ++ ++#: gimp-keys.xml:383(note) ++msgid "" ++"Drag off the horizontal or vertical ruler to create a new guideline. Drag a " ++"guideline onto the ruler to delete it." ++msgstr "" ++"Arraste a régua horizontal ou vertical para criar uma nova guia. Arraste a " ++"guia até a régua para excluí-la." ++ ++#: gimp-keys.xml:388(action) ++msgid "Drag a sample point out of the rulers" ++msgstr "Arraste um ponto de amostragem para fora das réguas" ++ ++#: gimp-keys.xml:392(key) ++msgid "R" ++msgstr "R" ++ ++#: gimp-keys.xml:392(action) ++msgid "Toggle rulers" ++msgstr "Alternar réguas" ++ ++#: gimp-keys.xml:395(action) ++msgid "Toggle guides" ++msgstr "Alternar guias" ++ ++#: gimp-keys.xml:402(title) ++msgid "Edit" ++msgstr "Editar" ++ ++#: gimp-keys.xml:404(title) ++msgid "Undo/redo" ++msgstr "Desfazer/refazer" ++ ++#: gimp-keys.xml:406(key) ++msgid "Z" ++msgstr "Z" ++ ++#: gimp-keys.xml:406(action) ++msgid "Undo" ++msgstr "Desfazer" ++ ++#: gimp-keys.xml:409(key) ++msgid "Y" ++msgstr "Y" ++ ++#: gimp-keys.xml:409(action) ++msgid "Redo" ++msgstr "Refazer" ++ ++#: gimp-keys.xml:414(title) ++msgid "Clipboard" ++msgstr "Área de transferência" ++ ++#: gimp-keys.xml:416(key) ++msgid "C" ++msgstr "C" ++ ++#: gimp-keys.xml:416(action) ++msgid "Copy selection" ++msgstr "Copiar seleção" ++ ++#: gimp-keys.xml:418(note) ++msgid "This places a copy of the selection to the GIMP clipboard." ++msgstr "Isto coloca uma cópia da seleção na área de transferência do GIMP." ++ ++#: gimp-keys.xml:421(key) ++msgid "X" ++msgstr "X" ++ ++#: gimp-keys.xml:421(action) ++msgid "Cut selection" ++msgstr "Recortar seleção" ++ ++#: gimp-keys.xml:423(note) ++msgid "" ++"This works the same as \"copy selection\" followed by deleting the selection." ++msgstr "" ++"Isto trabalha da mesma forma que o \"copiar seleção\" seguido por deletar a " ++"seleção." ++ ++#: gimp-keys.xml:428(key) ++msgid "V" ++msgstr "V" ++ ++#: gimp-keys.xml:428(action) ++msgid "Paste clipboard" ++msgstr "Colar na área de transferência" ++ ++#: gimp-keys.xml:430(note) ++msgid "This places the clipboard objects as a floating selection" ++msgstr "" ++"Isto coloca os objetos da área de transferência como uma seleção flutuante" ++ ++#: gimp-keys.xml:433(key) ++msgid "K" ++msgstr "K" ++ ++#: gimp-keys.xml:433(action) ++msgid "Clears selection" ++msgstr "Limpar seleções" ++ ++#: gimp-keys.xml:436(key) ++msgid "C" ++msgstr "C" ++ ++#: gimp-keys.xml:436(action) ++msgid "Named copy selection" ++msgstr "Copia a seleção com nome" ++ ++#: gimp-keys.xml:439(key) ++msgid "X" ++msgstr "X" ++ ++#: gimp-keys.xml:439(action) ++msgid "Named cut selection" ++msgstr "Corta a seleção com nome" ++ ++#: gimp-keys.xml:442(key) ++msgid "V" ++msgstr "V" ++ ++#: gimp-keys.xml:442(action) ++msgid "Named paste clipboard" ++msgstr "Cola a área de transferência com nome" ++ ++#: gimp-keys.xml:447(title) ++msgid "Fill" ++msgstr "Preencher" ++ ++#: gimp-keys.xml:449(action) ++msgid "Fill with FG Color" ++msgstr "Preencher com a cor de frente" ++ ++#: gimp-keys.xml:452(action) ++msgid "Fill with BG Color" ++msgstr "Preencher com a cor de fundo" ++ ++#: gimp-keys.xml:455(action) ++msgid "Fill with Pattern" ++msgstr "Preencher com textura" ++ ++#: gimp-keys.xml:466(action) ++msgid "Select the layer above" ++msgstr "Seleciona a camada acima" ++ ++#: gimp-keys.xml:470(action) ++msgid "Select the layer below" ++msgstr "Seleciona a camada abaixo" ++ ++#: gimp-keys.xml:473(action) ++msgid "Select the first layer" ++msgstr "Seleciona a primeira camada" ++ ++#: gimp-keys.xml:476(action) ++msgid "Select the last layer" ++msgstr "Seleciona a última camada" ++ ++#: gimp-keys.xml:479(key) ++msgid "M" ++msgstr "M" ++ ++#: gimp-keys.xml:479(action) ++msgid "Merge visible layers" ++msgstr "Combinar camadas visíveis" ++ ++#: gimp-keys.xml:482(key) ++msgid "H" ++msgstr "H" ++ ++#: gimp-keys.xml:482(action) ++msgid "Anchar layer" ++msgstr "Ancorar camada" ++ ++#: gimp-keys.xml:489(title) ++msgid "Selections" ++msgstr "Seleções" ++ ++#: gimp-keys.xml:492(key) ++msgid "T" ++msgstr "T" ++ ++#: gimp-keys.xml:492(action) ++msgid "Toggle selections" ++msgstr "Alternar seleções" ++ ++#: gimp-keys.xml:495(key) ++msgid "A" ++msgstr "A" ++ ++#: gimp-keys.xml:495(action) ++msgid "Select all" ++msgstr "Selecionar todos" ++ ++#: gimp-keys.xml:498(key) ++msgid "A" ++msgstr "A" ++ ++#: gimp-keys.xml:498(action) ++msgid "Select none" ++msgstr "Selecionar nada" ++ ++#: gimp-keys.xml:501(key) ++msgid "I" ++msgstr "I" ++ ++#: gimp-keys.xml:501(action) ++msgid "Invert selection" ++msgstr "Inverter seleção" ++ ++#: gimp-keys.xml:504(key) ++msgid "L" ++msgstr "L" ++ ++#: gimp-keys.xml:504(action) ++msgid "Float selection" ++msgstr "Seleção flutuante" ++ ++#: gimp-keys.xml:507(key) ++msgid "V" ++msgstr "V" ++ ++# Baseado na tradução da interface do GIMP disponível em http://l10n.gnome.org/POT/gimp.gimp-2-6/gimp.gimp-2-6.pt_BR.po ++#: gimp-keys.xml:507(action) ++msgid "Path to selection" ++msgstr "Vetor para seleção" ++ ++#: gimp-keys.xml:514(title) ++msgid "Plug-ins" ++msgstr "Plug-ins" ++ ++#: gimp-keys.xml:517(key) ++msgid "F" ++msgstr "F" ++ ++#: gimp-keys.xml:517(action) ++msgid "Repeat last plug-in" ++msgstr "Repetir o último plug-in" ++ ++#: gimp-keys.xml:520(key) ++msgid "F" ++msgstr "F" ++ ++#: gimp-keys.xml:520(action) ++msgid "Reshow last plug-in" ++msgstr "Mostrar novamente o último plug-in" ++ ++#: gimp-keys.xml:527(title) ++msgid "Zoom tool" ++msgstr "Ferramenta de zoom" ++ ++#: gimp-keys.xml:536(action) ++msgid "Zoom into the area" ++msgstr "Zoom dentro da área" ++ ++#. Put one translator per line, in the form of NAME , YEAR1, YEAR2. ++#: gimp-keys.xml:0(None) ++msgid "translator-credits" ++msgstr "" ++"Leonidas S. Barbosa , 2011\n" ++"Enrico Nicoletto , 2011." diff --git a/gimp-help-2.doap b/gimp-help-2.doap deleted file mode 100644 index febd8a2..0000000 --- a/gimp-help-2.doap +++ /dev/null @@ -1,62 +0,0 @@ - - - gimp-help-2 - - - - - - GIMP User Manual - GIMP-Benutzerhandbuch - - - The GIMP Documentation Team and other users have provided you with the - information necessary to understand how to use GIMP. The User Manual is an - important part of this help. The current version is on the web site of the - Documentation Team in HTML format. The HTML version is also available as - context sensitive help (if you installed it) while using GIMP by pressing - the F1 key. - - - Das Dokumentations-Team und die Anwender von GIMP stellen Ihnen - vielfältige Informationen bereit, um Sie bei der Arbeit mit GIMP zu - unterstützen. Dieses Handbuch ist ein wichtiger Bestandteil der - Dokumentation. Die aktuelle Version finden Sie auf der Webseite des - GIMP-Dokumentations-Teams. Die HTML-Version wird zusätzlich als Kontexthilfe - verwendet. Sie können auf diese von GIMP aus jederzeit durch Drücken der - F1-Taste zugreifen. - - - - - Róman Joost - - romanofski - - - - - Ulf-D. Ehlert - - ulfehlert - - - - - Marco Ciampa - - marcoc - - - - - Julien Hardelin - - jhardlin - - - diff --git a/gimp-help.changes b/gimp-help.changes index c44f41a..b29e6c4 100644 --- a/gimp-help.changes +++ b/gimp-help.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Jan 12 14:40:37 UTC 2013 - dimstar@opensuse.org + +- Add gimp-help-2.8.0-missing-po-files.patch: Add missing .po files + to the source directory. Fixes build on Factory. +- Drop Makefile.GNU and use upstream shipped build system, as this + works again. +- Unset MALLOC_CHECK_ and MALLOC_PERTURB_ to avoid some crashes + (hack only.. no fix yet). +- Add new sub packages for new languages that apeared due to using + the upstream / maintained makefile: ca, el, en_GB, fi, hr, lt and + sl. + ------------------------------------------------------------------- Wed Oct 31 11:13:55 UTC 2012 - mvyskocil@suse.com diff --git a/gimp-help.spec b/gimp-help.spec index 2d81520..e71282b 100644 --- a/gimp-help.spec +++ b/gimp-help.spec @@ -1,7 +1,7 @@ # # spec file for package gimp-help # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,16 +19,14 @@ Name: gimp-help Version: 2.8.0 Release: 0 -# FIXME: on update, see if we still need Makefile.GNU as additional source (last check: 2.6.1). See bgo#639057. # FIXME: Check if parallel build reliably works again (last check: 2.6.1) Summary: Help System Data for GIMP License: GFDL-1.2 Group: Productivity/Graphics/Bitmap Editors Url: http://www.gimp.org/ Source0: ftp://ftp.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2 -# Taken from git on 2011-01-09. Default Makefile doesn't work. -Source1: Makefile.GNU -Source2: gimp-help-2.doap +# PATCH-FIX-UPSTREAM gimp-help-2.8.0-missing-po-files.patch dimstar@opensuse.org -- Add missing .po files +Patch0: gimp-help-2.8.0-missing-po-files.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gimp-devel @@ -47,6 +45,18 @@ BuildArch: noarch GIMP-Help is a help system designed for use with the internal GIMP help browser, external Web browser and HTML renderers, and human eyeballs. +%package ca +Summary: Catalanian Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:ca) + +%description ca +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Catalanian data for gimp-help. + %package da Summary: Danish Help System Data for GIMP Group: System/Localization @@ -71,6 +81,30 @@ browser, external Web browser and HTML renderers, and human eyeballs. This package provides German data for gimp-help. +%package el +Summary: Greek Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:el) + +%description el +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Greek data for gimp-help. + +%package en_GB +Summary: British English Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:en_GB) + +%description en_GB +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides British English data for gimp-help. + %package es Summary: Spanish Help System Data for GIMP Group: System/Localization @@ -83,6 +117,18 @@ browser, external Web browser and HTML renderers, and human eyeballs. This package provides Spanish data for gimp-help. +%package fi +Summary: Finnish Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:fi) + +%description fi +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Finnish data for gimp-help. + %package fr Summary: French Help System Data for GIMP Group: System/Localization @@ -95,6 +141,18 @@ browser, external Web browser and HTML renderers, and human eyeballs. This package provides French data for gimp-help. +%package hr +Summary: Croatian Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:hr) + +%description hr +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Croatian data for gimp-help. + %package it Summary: Italian Help System Data for GIMP Group: System/Localization @@ -131,6 +189,18 @@ browser, external Web browser and HTML renderers, and human eyeballs. This package provides Korean data for gimp-help. +%package lt +Summary: Lithuanian Help System Data for GIMP +Group: System/I18n/Korean +Requires: %{name} = %{version} +Provides: locale(%{name}:lt) + +%description lt +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Lithuanian data for gimp-help. + %package nl Summary: Dutch Help System Data for GIMP Group: System/Localization @@ -179,6 +249,18 @@ browser, external Web browser and HTML renderers, and human eyeballs. This package provides Russian data for gimp-help. +%package sl +Summary: Slovenian Help System Data for GIMP +Group: System/Localization +Requires: %{name} = %{version} +Provides: locale(%{name}:sl) + +%description sl +GIMP-Help is a help system designed for use with the internal GIMP help +browser, external Web browser and HTML renderers, and human eyeballs. + +This package provides Slovenian data for gimp-help. + %package sv Summary: Swedish Help System Data for GIMP Group: System/Localization @@ -205,23 +287,19 @@ This package provides Chinese data for gimp-help. %prep %setup -q -cp %{S:1} . -cp %{S:2} . +%patch0 -p1 %build +unset MALLOC_CHECK_ +unset MALLOC_PERTURB_ %configure -#make -f Makefile.GNU %{?jobs:-j%jobs} -# Parallel build is broken -make -f Makefile.GNU +make # unify the permissions of images, to make fdupes working again (bnc#784670) find images/ -type f -exec chmod 0644 {} + %install -#FIXME: we can't use the usual macro since we don't use the standard Makefile -#%make_install -install -d %{buildroot}%{_datadir}/gimp/2.0/help -cp -RL html/* %{buildroot}%{_datadir}/gimp/2.0/help/ +%make_install for locale in %{buildroot}%{_datadir}/gimp/2.0/help/*; do %fdupes $locale done @@ -235,6 +313,10 @@ rm -rf %{buildroot} %dir %{_datadir}/gimp/2.0/help %{_datadir}/gimp/2.0/help/en/ +%files ca +%defattr (-,root,root) +%lang(ca) %{_datadir}/gimp/2.0/help/ca/ + %files da %defattr (-,root,root) %lang(da) %{_datadir}/gimp/2.0/help/da/ @@ -243,14 +325,30 @@ rm -rf %{buildroot} %defattr (-,root,root) %lang(de) %{_datadir}/gimp/2.0/help/de/ +%files el +%defattr (-,root,root) +%lang(el) %{_datadir}/gimp/2.0/help/el/ + +%files en_GB +%defattr (-,root,root) +%lang(en_GB) %{_datadir}/gimp/2.0/help/en_GB/ + %files es %defattr (-,root,root) %lang(es) %{_datadir}/gimp/2.0/help/es/ +%files fi +%defattr (-,root,root) +%lang(fi) %{_datadir}/gimp/2.0/help/fi/ + %files fr %defattr (-,root,root) %lang(fr) %{_datadir}/gimp/2.0/help/fr/ +%files hr +%defattr (-,root,root) +%lang(hr) %{_datadir}/gimp/2.0/help/hr/ + %files it %defattr (-,root,root) %lang(it) %{_datadir}/gimp/2.0/help/it/ @@ -263,6 +361,10 @@ rm -rf %{buildroot} %defattr (-,root,root) %lang(ko) %{_datadir}/gimp/2.0/help/ko/ +%files lt +%defattr (-,root,root) +%lang(lt) %{_datadir}/gimp/2.0/help/lt/ + %files nl %defattr (-,root,root) %lang(nl) %{_datadir}/gimp/2.0/help/nl/ @@ -279,6 +381,10 @@ rm -rf %{buildroot} %defattr (-,root,root) %lang(ru) %{_datadir}/gimp/2.0/help/ru/ +%files sl +%defattr (-,root,root) +%lang(sl) %{_datadir}/gimp/2.0/help/sl/ + %files sv %defattr (-,root,root) %lang(sv) %{_datadir}/gimp/2.0/help/sv/