Skip to content

Commit

Permalink
Merge pull request #7219 from SalesforceFoundation/feature/248__local…
Browse files Browse the repository at this point in the history
…ization

Updated translations
  • Loading branch information
npsp-reedestockton committed Nov 28, 2023
2 parents f012808 + 03b559b commit 65a391a
Show file tree
Hide file tree
Showing 8 changed files with 467 additions and 348 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,27 @@ private class RD2_StatusAutomationSettings_TEST {
)
);

String translatedLapsedStatus =
UTIL_Describe.getTranslatedPicklistLabel(npe03__Recurring_Donation__c.SObjectType,
npe03__Recurring_Donation__c.Status__c, RD2_Constants.STATUS_LAPSED);
String translatedClosedStatus =
UTIL_Describe.getTranslatedPicklistLabel(npe03__Recurring_Donation__c.SObjectType,
npe03__Recurring_Donation__c.Status__c, RD2_Constants.STATUS_CLOSED);

RD2_StatusAutomationView view = RD2_StatusAutomationSettings_CTRL.getAutomationSettings();

System.assertEquals(true, view.rd2Enabled, 'RD2 should be enabled');
System.assertEquals(DAYS_FOR_LAPSED, view.numberOfDaysForLapsed,
'The view state should retrieve the correct number of days for Lapsed');
System.assertEquals(DAYS_FOR_CLOSED, view.numberOfDaysForClosed,
'The view state should retrieve the correct number of days for Closed');
System.assertEquals(RD2_Constants.STATUS_LAPSED, view.lapsedStatus,
System.assertEquals(translatedLapsedStatus, view.lapsedStatus,
'The view state should retrieve the correct Automation Lapsed Status');
System.assertEquals(RD2_Constants.STATUS_CLOSED, view.closedStatus,
System.assertEquals(translatedClosedStatus, view.closedStatus,
'The view state should retrieve the correct Automation Closed Status');
System.assertEquals( RD2_Constants.STATUS_LAPSED, view.lapsedStatusOption[0].label,
System.assertEquals(translatedLapsedStatus, view.lapsedStatusOption[0].label,
'The Lapsed status picklist option should include Lapsed Status');
System.assertEquals(RD2_Constants.STATUS_CLOSED, view.closedStatusOption[0].label,
System.assertEquals(translatedClosedStatus, view.closedStatusOption[0].label,
'The Closed status picklist option should include Closed Status');
}

Expand Down
114 changes: 65 additions & 49 deletions force-app/main/default/translations/de.translation-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6458,6 +6458,18 @@ Wenn Sie es vorziehen, können Sie "Spendeneintrag" deaktivieren und s
<name>pmtWrittenOffPaymentDateRequired</name>
<label>Eine abgeschriebene Zahlung muss über ein Zahlungsdatum verfügen.</label>
</customLabels>
<customLabels>
<name>potentialDuplicatesFoundNone</name>
<label>Wir haben keine potenziellen Duplikate dieses Kontakts gefunden.</label>
</customLabels>
<customLabels>
<name>potentialDuplicatesFoundOne</name>
<label>Wir haben 1 potenzielles Duplikat dieses Kontakts gefunden.</label>
</customLabels>
<customLabels>
<name>potentialDuplicatesFoundMultiple</name>
<label>Wir haben {0} potentielle Duplikate dieses Kontakts gefunden.</label>
</customLabels>
<customLabels>
<name>psACH</name>
<label>ACH (Bankkonto)</label>
Expand Down Expand Up @@ -8359,6 +8371,10 @@ Hinweis: Die Registerkarte &quot;NPSP-Einstellungen&quot; ist in der Nonprofit S
<name>updateRecurringDonation</name>
<label>Wiederkehrende Spende aktualisieren</label>
</customLabels>
<customLabels>
<name>viewDuplicates</name>
<label>Duplikate anzeigen</label>
</customLabels>
<reportTypes>
<name>Contacts_Only</name>
<label>Nur Kontakte</label>
Expand All @@ -8368,119 +8384,119 @@ Hinweis: Die Registerkarte &quot;NPSP-Einstellungen&quot; ist in der Nonprofit S
</sections>
</reportTypes>
<customTabs>
<name>NPSP_Resources</name>
<label>Erste Schritte</label>
</customTabs>
<customTabs>
<name>Contact_Merge</name>
<label>Kontaktzusammenführung</label>
<name>Batch_Data_Entry</name>
<label>Batch-Dateneingabe</label>
</customTabs>
<customTabs>
<name>Batch_Gift_Entry</name>
<label>Batch-Spendeneintrag</label>
</customTabs>
<customTabs>
<name>NPSP_Settings</name>
<label>NPSP-Einstellungen</label>
<name>Contact_Merge</name>
<label>Kontaktzusammenführung</label>
</customTabs>
<customTabs>
<name>Batch_Data_Entry</name>
<label>Batch-Dateneingabe</label>
<name>GE_Gift_Entry</name>
<label>Spendeneintrag</label>
</customTabs>
<customTabs>
<name>GetStarted</name>
<label>Erste Schritte mit NPSP – Administrator</label>
</customTabs>
<customTabs>
<name>GE_Gift_Entry</name>
<label>Spendeneintrag</label>
</customTabs>
<customTabs>
<name>GetStartedEndUser</name>
<label>Erste Schritte mit NPSP</label>
</customTabs>
<customTabs>
<name>NPSP_Resources</name>
<label>Erste Schritte</label>
</customTabs>
<customTabs>
<name>NPSP_Settings</name>
<label>NPSP-Einstellungen</label>
</customTabs>
<customApplications>
<name>Nonprofit_CRM</name>
<label>Nonprofit Success Pack</label>
</customApplications>
<quickActions>
<name>New_Campaign</name>
<label>Neue Kampagne</label>
</quickActions>
<quickActions>
<name>npe03__Recurring_Donation__c.Pause</name>
<label>Aufschub</label>
<name>Account.New_Address</name>
<label>Neue Adresse</label>
</quickActions>
<quickActions>
<name>Account.New_Affiliation</name>
<label>Neue Zugehörigkeit</label>
</quickActions>
<quickActions>
<name>Account.New_Address</name>
<label>Neue Adresse</label>
<name>Account.Quick_Household_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>New_Recurring_Donation</name>
<label>Neue wiederkehrende Spende</label>
<name>Account.Quick_Organization_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>npe03__Recurring_Donation__c.New_Opportunity</name>
<label>Neue Opportunity</label>
<name>Address__c.Update_Address</name>
<label>Adresse aktualisieren</label>
</quickActions>
<quickActions>
<name>Contact.New_Affiliation</name>
<label>Neue Zugehörigkeit</label>
</quickActions>
<quickActions>
<name>Contact.New_Recurring_Donation</name>
<label>Neue wiederkehrende Spende</label>
</quickActions>
<quickActions>
<name>npe01__OppPayment__c.Refund</name>
<label>Rückerstattung</label>
<name>Contact.New_Relationship</name>
<label>Neue Beziehung</label>
</quickActions>
<quickActions>
<name>npe03__Recurring_Donation__c.Quick_Update</name>
<name>Contact.Quick_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>npo02__Household__c.Update_Household</name>
<label>Haushalt aktualisieren</label>
</quickActions>
<quickActions>
<name>Address__c.Update_Address</name>
<label>Adresse aktualisieren</label>
<name>New_Campaign</name>
<label>Neue Kampagne</label>
</quickActions>
<quickActions>
<name>npe03__Recurring_Donation__c.Close_Recurring_Donation</name>
<label>Wiederkehrende Spende schließen</label>
<name>New_Recurring_Donation</name>
<label>Neue wiederkehrende Spende</label>
</quickActions>
<quickActions>
<name>Contact.New_Affiliation</name>
<label>Neue Zugehörigkeit</label>
<name>Opportunity.New_Payment</name>
<label>Neue Zahlung</label>
</quickActions>
<quickActions>
<name>Opportunity.Quick_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>Contact.Quick_Update</name>
<name>npe01__OppPayment__c.Quick_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>Opportunity.New_Payment</name>
<label>Neue Zahlung</label>
<name>npe01__OppPayment__c.Refund</name>
<label>Rückerstattung</label>
</quickActions>
<quickActions>
<name>Contact.New_Relationship</name>
<label>Neue Beziehung</label>
<name>npe03__Recurring_Donation__c.Close_Recurring_Donation</name>
<label>Wiederkehrende Spende schließen</label>
</quickActions>
<quickActions>
<name>npe01__OppPayment__c.Quick_Update</name>
<label>Schnelle Aktualisierung</label>
<name>npe03__Recurring_Donation__c.New_Opportunity</name>
<label>Neue Opportunity</label>
</quickActions>
<quickActions>
<name>Account.Quick_Household_Update</name>
<label>Schnelle Aktualisierung</label>
<name>npe03__Recurring_Donation__c.Pause</name>
<label>Aufschub</label>
</quickActions>
<quickActions>
<name>Account.Quick_Organization_Update</name>
<name>npe03__Recurring_Donation__c.Quick_Update</name>
<label>Schnelle Aktualisierung</label>
</quickActions>
<quickActions>
<name>npo02__Household__c.Update_Household</name>
<label>Haushalt aktualisieren</label>
</quickActions>
</Translations>
Loading

0 comments on commit 65a391a

Please sign in to comment.