# Copyright (c) 2010, 2011, 2012 Proxecto Trasno
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in the
#       documentation and/or other materials provided with the distribution.
#     * Neither the name of the Proxecto Trasno nor the
#       names of its contributors may be used to endorse or promote products
#       derived from this software without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL PROXECTO TRASNO BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


include file="filter.include"

#####
# Regras específicas de GNOME
#####
environment gnome

# translator credits
{^translator-credits$}i
id="gnome_translator credits"
hint="comprobar o formato dos creditos da tradución"

#descarta o uso de «achar» en favor de «encontrar»
[\bach]i
id="gnome-gl_achar"
hint="achar -> encontrar"

#descarta o uso de «aplicación» en favor de «aplicativo»
[\baplicación]i
id="gnome-gl_aplicación"
hint="aplicación -> aplicativo"

#descarta o uso de «apropiado» en favor de «axeitado»
[\bapropriad]i
id="gnome-gl_apropiado"
hint="achar -> axeitado"

#comprobar caixa de «GNOME»
[\b(G|g)nome\s]
# valid msgid="\bgnome"
id="gnome-gl_GNOME"
hint="gnome->GNOME"

#descarta o uso de «mudar» en favor de «trocar»
[\bmud(a|o|e)]i
id="gnome-gl_mudar"
hint="mudar -> trocar"

#descarta o uso de «predefinido» en favor de «predeterminado»
[\bpredefinid]i
id="gnome-gl_predefinido"
hint="predefinido -> predeterminado"

#substituir tres puntos seguidos por unhas reticencias U2026
[\.{3}]i
id="gnome-gl_reticencias"
hint="... -> …"

#descarta o uso de «válido» en favor de «correcto»
[\bválid(o|a)]i
id="gnome-gl_valido"
hint="valido -> correcto"

#####
# Regras específicas de GNOME para terminoloxía
#####

# «shell» -> «shell» ou «intérprete de ordes»
{\bshell}i
id="gnome_shell"
valid msgstr="\bshell"
valid msgstr="\bint(e|é)rpretes?\sde\sordes?"
hint="shell -> shell ou interprete de ordes"

# «validation,validity» -> «validación»
{\bvalid(ation|idit(y|ies))}i
id="gnome_validation"
valid msgstr="\bvalidación"
hint="validation -> validación"

# «validate» -> «validar»
{\bvalidat(e|es|ed|ing)}i
id="gnome_validate"
valid msgstr="\bvalida" !before="dor"
hint="validate -> validar"

# «validator» -> «validador»
{\bvalidator}i
id="gnome_validator"
valid msgstr="\bvalidador"
hint="validator -> validador"

# «validación» -> «validation»
[\bvalidación]i
id="gnome-dual_validation"
valid msgstr="\bvalidation"
hint="validación -> validation"