From 9bd0595ca914cdbe8ae02878f256bf2485818309 Mon Sep 17 00:00:00 2001 From: Andreas Brain Date: Thu, 11 Nov 2021 14:51:52 +0100 Subject: [PATCH] Internationalization #136 --- src/Types/Unit.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Types/Unit.php b/src/Types/Unit.php index 1098cf01..cf925b6d 100644 --- a/src/Types/Unit.php +++ b/src/Types/Unit.php @@ -95,22 +95,22 @@ private function getLabels(): array 'name' => _x('Units', 'taxonomy general name', 'einsatzverwaltung'), 'singular_name' => _x('Unit', 'taxonomy singular name', 'einsatzverwaltung'), 'search_items' => __('Search Units', 'einsatzverwaltung'), - 'popular_items' => 'Häufig eingesetzte Einheiten', - 'all_items' => 'Alle Einheiten', + 'popular_items' => __('Popular Units', 'einsatzverwaltung'), + 'all_items' => __('All Units', 'einsatzverwaltung'), 'edit_item' => __('Edit Unit', 'einsatzverwaltung'), 'view_item' => __('View Unit', 'einsatzverwaltung'), - 'update_item' => 'Einheit aktualisieren', + 'update_item' => __('Update Unit', 'einsatzverwaltung'), 'add_new_item' => __('Add New Unit', 'einsatzverwaltung'), - 'new_item_name' => 'Einheit hinzufügen', - 'separate_items_with_commas' => 'Separate tags with commas', - 'add_or_remove_items' => 'Add or remove tags', - 'choose_from_most_used' => 'Choose from the most used tags', + 'new_item_name' => __('New Unit Name', 'einsatzverwaltung'), + 'separate_items_with_commas' => __('Separate units with commas', 'einsatzverwaltung'), + 'add_or_remove_items' => __('Add or remove units', 'einsatzverwaltung'), + 'choose_from_most_used' => __('Choose from the most used units', 'einsatzverwaltung'), 'not_found' => __('No units found.', 'einsatzverwaltung'), - 'no_terms' => 'Keine Einheiten', + 'no_terms' => __('No units', 'einsatzverwaltung'), 'items_list_navigation' => __('Units list navigation', 'einsatzverwaltung'), 'items_list' => __('Units list', 'einsatzverwaltung'), - 'most_used' => 'Most Used', - 'back_to_items' => '← Zurück zu den Einheiten', + 'most_used' => _x('Most Used', 'units', 'einsatzverwaltung'), + 'back_to_items' => __('← Go to Units', 'einsatzverwaltung'), ); }