Skip to content

Commit

Permalink
Merge pull request #31 from SalesforceFoundation/feature/msmith/2019-…
Browse files Browse the repository at this point in the history
…12-localizations

2019-Dec Translations (Refactored)
  • Loading branch information
force2b authored Dec 17, 2019
2 parents 6c3d160 + f14bb2c commit ee92f45
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 102 deletions.
12 changes: 12 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ project:
git:
prefix_release: rel/

tasks:
cleanup_translation_metadata:
description: Delete metadata from translation files that should not be translated.
class_path: tasks.modify.RemoveElementsXPath
options:
output_style: salesforce
elements:
- path: src/translations/**.translation
xpath: //ns:customLabels[ns:name='DefaultCurrentStatus']|//ns:customLabels[ns:name='DefaultFormerStatus']
- path: src/translations/**.translation
xpath: //ns:quickActions

flows:
release_beta:
tasks:
Expand Down
22 changes: 11 additions & 11 deletions src/objectTranslations/Affiliation__c-de.objectTranslation
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@
<caseValues>
<caseType>Nominative</caseType>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeit</value>
</caseValues>
<caseValues>
<caseType>Nominative</caseType>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeiten</value>
</caseValues>
<caseValues>
<caseType>Accusative</caseType>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeit</value>
</caseValues>
<caseValues>
<caseType>Accusative</caseType>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeiten</value>
</caseValues>
<caseValues>
<caseType>Genitive</caseType>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeit</value>
</caseValues>
<caseValues>
<caseType>Genitive</caseType>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeiten</value>
</caseValues>
<caseValues>
<caseType>Dative</caseType>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeit</value>
</caseValues>
<caseValues>
<caseType>Dative</caseType>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Zugehörigkeiten</value>
</caseValues>
<fields>
<label>Kontakt</label>
Expand Down Expand Up @@ -72,7 +72,7 @@
<name>StartDate__c</name>
</fields>
<fields>
<label><!-- Status --></label>
<label>Status</label>
<name>Status__c</name>
<picklistValues>
<masterLabel>Current</masterLabel>
Expand All @@ -83,13 +83,13 @@
<translation>Früher</translation>
</picklistValues>
</fields>
<gender><!-- Neuter --></gender>
<gender>Feminine</gender>
<layouts>
<layout>Affiliation Layout</layout>
<sections>
<label>Zugehörigkeitsinformationen</label>
<section>Affiliation Information</section>
</sections>
</layouts>
<nameFieldLabel><!-- Affiliation Name --></nameFieldLabel>
<nameFieldLabel>Zugehörigkeitsname</nameFieldLabel>
</CustomObjectTranslation>
20 changes: 10 additions & 10 deletions src/objectTranslations/Affiliation__c-es.objectTranslation
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<CustomObjectTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<caseValues>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Afiliación</value>
</caseValues>
<caseValues>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Afiliaciones</value>
</caseValues>
<fields>
<label>Contacto</label>
Expand All @@ -18,7 +18,7 @@
<name>Description__c</name>
</fields>
<fields>
<label>Día de finalización</label>
<label>Fecha de finalización</label>
<name>EndDate__c</name>
</fields>
<fields>
Expand All @@ -27,37 +27,37 @@
<relationshipLabel>Contactos afiliados</relationshipLabel>
</fields>
<fields>
<help>Si se selecciona, la cuenta en la afiliación se guardará en el contacto.</help>
<help>Si se selecciona, la organización de la afiliación se guardará en el registro del contacto.</help>
<label>Principal</label>
<name>Primary__c</name>
</fields>
<fields>
<label>Rol</label>
<label>Función</label>
<name>Role__c</name>
</fields>
<fields>
<label>Día de inicio</label>
<label>Fecha de inicio</label>
<name>StartDate__c</name>
</fields>
<fields>
<label>Estado</label>
<name>Status__c</name>
<picklistValues>
<masterLabel>Current</masterLabel>
<translation>Actual</translation>
<translation>Vigente</translation>
</picklistValues>
<picklistValues>
<masterLabel>Former</masterLabel>
<translation>Anterior</translation>
<translation>Antiguo</translation>
</picklistValues>
</fields>
<gender><!-- Feminine --></gender>
<gender>Feminine</gender>
<layouts>
<layout>Affiliation Layout</layout>
<sections>
<label>Información de la afiliación</label>
<section>Affiliation Information</section>
</sections>
</layouts>
<nameFieldLabel><!-- Affiliation Name --></nameFieldLabel>
<nameFieldLabel>Nombre de la afiliación</nameFieldLabel>
</CustomObjectTranslation>
20 changes: 10 additions & 10 deletions src/objectTranslations/Affiliation__c-fr.objectTranslation
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<CustomObjectTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<caseValues>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Affiliation</value>
</caseValues>
<caseValues>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Affiliations</value>
</caseValues>
<fields>
<label>Contact</label>
<name>Contact__c</name>
<relationshipLabel>Affiliations de l&apos;Organisation</relationshipLabel>
<relationshipLabel>Affiliations de l&apos;organisation</relationshipLabel>
</fields>
<fields>
<label>Description</label>
Expand All @@ -22,12 +22,12 @@
<name>EndDate__c</name>
</fields>
<fields>
<label>Compte</label>
<label>Organisation</label>
<name>Organization__c</name>
<relationshipLabel>Contacts affiliés</relationshipLabel>
</fields>
<fields>
<help>Si coché, l’organisation de l’affiliation sera stockée sur l’enregistrement du contact.</help>
<help>Si cette case est cochée, l’organisation de l’affiliation est stockée dans l’enregistrement du contact.</help>
<label>Principal</label>
<name>Primary__c</name>
</fields>
Expand All @@ -48,17 +48,17 @@
</picklistValues>
<picklistValues>
<masterLabel>Former</masterLabel>
<translation>Précédent</translation>
<translation>Ancien</translation>
</picklistValues>
</fields>
<gender><!-- Masculine --></gender>
<gender>Feminine</gender>
<layouts>
<layout>Affiliation Layout</layout>
<sections>
<label>Information de l&apos;affiliation</label>
<label>Informations sur l&apos;affiliation</label>
<section>Affiliation Information</section>
</sections>
</layouts>
<nameFieldLabel><!-- Affiliation Name --></nameFieldLabel>
<startsWith><!-- Consonant --></startsWith>
<nameFieldLabel>Nom de l’affiliation</nameFieldLabel>
<startsWith>Vowel</startsWith>
</CustomObjectTranslation>
4 changes: 2 additions & 2 deletions src/objectTranslations/Affiliation__c-ja.objectTranslation
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<CustomObjectTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<caseValues>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>アフィリエーション</value>
</caseValues>
<fields>
<label>個人</label>
Expand Down Expand Up @@ -54,5 +54,5 @@
<section>Affiliation Information</section>
</sections>
</layouts>
<nameFieldLabel><!-- Affiliation Name --></nameFieldLabel>
<nameFieldLabel>アフィリエーション名</nameFieldLabel>
</CustomObjectTranslation>
20 changes: 10 additions & 10 deletions src/objectTranslations/Affiliation__c-nl_NL.objectTranslation
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<CustomObjectTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<caseValues>
<plural>false</plural>
<value><!-- Affiliation --></value>
<value>Connectie</value>
</caseValues>
<caseValues>
<plural>true</plural>
<value><!-- Affiliation --></value>
<value>Connecties</value>
</caseValues>
<fields>
<label>Contactpersoon</label>
<name>Contact__c</name>
<relationshipLabel>Verwante Organisaties</relationshipLabel>
<relationshipLabel>Connecties van organisatie</relationshipLabel>
</fields>
<fields>
<label>Beschrijving</label>
Expand All @@ -24,10 +24,10 @@
<fields>
<label>Organisatie</label>
<name>Organization__c</name>
<relationshipLabel>Verwante Contactpersonen</relationshipLabel>
<relationshipLabel>Gelieerde contactpersonen</relationshipLabel>
</fields>
<fields>
<help>Indien aangevinkt, zal de Verwante Organisatie opgeslagen worden op het Contactpersoon record.</help>
<help>Indien aangevinkt, wordt de organisatie van de opgeslagen in de record Contactpersoon.</help>
<label>Primair</label>
<name>Primary__c</name>
</fields>
Expand All @@ -36,11 +36,11 @@
<name>Role__c</name>
</fields>
<fields>
<label>Startdatum</label>
<label>Begindatum</label>
<name>StartDate__c</name>
</fields>
<fields>
<label><!-- Status --></label>
<label>Status</label>
<name>Status__c</name>
<picklistValues>
<masterLabel>Current</masterLabel>
Expand All @@ -51,13 +51,13 @@
<translation>Voormalig</translation>
</picklistValues>
</fields>
<gender><!-- Neuter --></gender>
<gender>Feminine</gender>
<layouts>
<layout>Affiliation Layout</layout>
<sections>
<label>Verwante Organisatie Informatie</label>
<label>Gegevens over connectie</label>
<section>Affiliation Information</section>
</sections>
</layouts>
<nameFieldLabel><!-- Affiliation Name --></nameFieldLabel>
<nameFieldLabel>Naam van connectie</nameFieldLabel>
</CustomObjectTranslation>
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<value><!-- Affiliations Settings --></value>
</caseValues>
<fields>
<help>Crear o actualizar afiliaciones para contactos relacionados a cuentas cuando se modifica el campo de Cuenta o el campo de Afiliación principal.</help>
<label>Automatización de afiliaciones</label>
<help>Crea o actualiza afiliaciones para contactos conectados con cuentas de la organización cuando se modifica el campo Organización o el campo Afiliación principal.</help>
<label>Gestión de afiliaciones automáticas</label>
<name>Automatic_Affiliation_Creation_Turned_On__c</name>
</fields>
<gender><!-- Feminine --></gender>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<value><!-- Affiliations Settings --></value>
</caseValues>
<fields>
<help>Crée ou met à jour des affiliations pour les contacts connectés aux comptes d’organisation lorsque leur champ d’organisation ou d’affiliation principale est modifié.</help>
<label>Gestion automatique d’affiliation</label>
<help>Crée ou met à jour des affiliations pour les contacts connectés aux comptes d’organisation lorsque leur champ Organisation ou Affiliation principale est modifié.</help>
<label>Gestion automatique des affiliations</label>
<name>Automatic_Affiliation_Creation_Turned_On__c</name>
</fields>
<gender><!-- Masculine --></gender>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<value><!-- Affiliations Settings --></value>
</caseValues>
<fields>
<help>Maak of update Connecties voor Contactpersonen verwant aan een Organisatie Account waar hun Organisatie veld of Primaire Connectie veld is veranderd.</help>
<label>Automatisch Connectie Management</label>
<help>Maak connecties voor Contactpersonen, of werk deze bij, voor organisatieaccounts wanneer hun veld Organisatie of het veld Primaire connectie veld is gewijzigd.</help>
<label>Beheer van automatische connecties </label>
<name>Automatic_Affiliation_Creation_Turned_On__c</name>
</fields>
<gender><!-- Neuter --></gender>
Expand Down
8 changes: 0 additions & 8 deletions src/translations/de.translation
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
<label>Aktivieren Sie dieses Kontrollkästchen, damit die Kontakte automatische Zugehörigkeiten erhalten, wenn Sie mit einer Beziehung zu einem Account erstellt werden.</label>
<name>Automatic_Affiliation_Help_Text</name>
</customLabels>
<customLabels>
<label>Current</label>
<name>DefaultCurrentStatus</name>
</customLabels>
<customLabels>
<label>Former</label>
<name>DefaultFormerStatus</name>
</customLabels>
<customTabs>
<label>Zugehörigkeitseinstellungen</label>
<name>Affiliations_Settings</name>
Expand Down
12 changes: 2 additions & 10 deletions src/translations/es.translation
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Translations xmlns="http://soap.sforce.com/2006/04/metadata">
<customLabels>
<label>Haga click en esta casilla para que los contactos reciban automáticamente una afiliación cuando son creados con una relación a una Cuenta.</label>
<label>Marque esta casilla para que los contactos reciban automáticamente una afiliación cuando se creen con una relación con una cuenta.</label>
<name>Automatic_Affiliation_Help_Text</name>
</customLabels>
<customLabels>
<label>Current</label>
<name>DefaultCurrentStatus</name>
</customLabels>
<customLabels>
<label>Former</label>
<name>DefaultFormerStatus</name>
</customLabels>
<customTabs>
<label>Configuración de Afiliaciones</label>
<label>Configuración de afiliaciones</label>
<name>Affiliations_Settings</name>
</customTabs>
</Translations>
10 changes: 1 addition & 9 deletions src/translations/fr.translation
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Translations xmlns="http://soap.sforce.com/2006/04/metadata">
<customLabels>
<label>Check this box to have Contacts receive automatic affiliations when they are created with a relationship to an Account.</label>
<label>Cochez cette case pour que les contacts reçoivent des affiliations automatiques lorsqu’ils sont créés avec une relation à un compte.</label>
<name>Automatic_Affiliation_Help_Text</name>
</customLabels>
<customLabels>
<label>Current</label>
<name>DefaultCurrentStatus</name>
</customLabels>
<customLabels>
<label>Former</label>
<name>DefaultFormerStatus</name>
</customLabels>
<customTabs>
<label>Paramètres d’affiliation</label>
<name>Affiliations_Settings</name>
Expand Down
Loading

0 comments on commit ee92f45

Please sign in to comment.