Click to expand the diff!
```diff
diff --git a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php
index b6f5a1d8ccbe..ddd6654b7a2f 100644
--- a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php
+++ b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php
@@ -99,7 +99,7 @@ protected function addToolbar()
$canDo = ContentHelper::getActions('com_guidedtours');
- ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_STEP_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_STEP_EDIT')), 'map-signs');
+ ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_STEP_NEW' : 'COM_GUIDEDTOURS_MANAGER_STEP_EDIT'), 'map-signs');
$toolbarButtons = [];
diff --git a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php
index 422a07b1a1f4..46156f36443e 100644
--- a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php
+++ b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php
@@ -102,7 +102,7 @@ protected function addToolbar()
$toolbar = Toolbar::getInstance();
- ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_EDIT')), 'map-signs');
+ ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_TOUR_NEW' : 'COM_GUIDEDTOURS_MANAGER_TOUR_EDIT'), 'map-signs');
$toolbarButtons = [];
diff --git a/administrator/language/en-GB/com_guidedtours.ini b/administrator/language/en-GB/com_guidedtours.ini
index 3e3fb453545e..d3184efb752a 100644
--- a/administrator/language/en-GB/com_guidedtours.ini
+++ b/administrator/language/en-GB/com_guidedtours.ini
@@ -10,7 +10,6 @@ COM_GUIDEDTOURS_DESCRIPTION="Description"
COM_GUIDEDTOURS_DESCRIPTION_TRANSLATION="Description (%s)"
COM_GUIDEDTOURS_EDIT_TOUR="Edit Tour"
COM_GUIDEDTOURS_ERROR_NO_GUIDEDTOURS_SELECTED="No tour selected."
-COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!"
COM_GUIDEDTOURS_EXTENSIONS_DESC="Restrict the tour to be displayed only when the selected component is active."
COM_GUIDEDTOURS_EXTENSIONS_LABEL="Component Selector"
COM_GUIDEDTOURS_FIELD_NOTE_LABEL="Note"
@@ -23,14 +22,11 @@ COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_NEXT="Next"
COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_REDIRECT="Redirect"
COM_GUIDEDTOURS_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for tour ID or DESCRIPTION: to search only description text."
COM_GUIDEDTOURS_FILTER_SEARCH_LABEL="Search"
-COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tour - List of Steps"
-COM_GUIDEDTOURS_GUIDEDTOURS_LABEL_DESCRIPTION="Description"
-COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours"
COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours"
-COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Edit Step"
-COM_GUIDEDTOURS_MANAGER_STEP_NEW="New Step"
-COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Edit Tour"
-COM_GUIDEDTOURS_MANAGER_TOUR_NEW="New Tour"
+COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Guided Tours: Edit Step"
+COM_GUIDEDTOURS_MANAGER_STEP_NEW="Guided Tours: New Step"
+COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Guided Tours: Edit Tour"
+COM_GUIDEDTOURS_MANAGER_TOUR_NEW="Guided Tours: New Tour"
COM_GUIDEDTOURS_N_ITEMS_ARCHIVED_1="Item archived."
COM_GUIDEDTOURS_N_ITEMS_ARCHIVED="%s items archived."
COM_GUIDEDTOURS_N_ITEMS_CHECKED_IN_1="Item checked in."
@@ -47,8 +43,6 @@ COM_GUIDEDTOURS_NEW_TOUR="New Tour"
COM_GUIDEDTOURS_ORDER_TYPE_ASC="Type ascending"
COM_GUIDEDTOURS_ORDER_TYPE_DESC="Type descending"
COM_GUIDEDTOURS_STATUS="Status"
-COM_GUIDEDTOURS_STEP_ASC="Step ascending"
-COM_GUIDEDTOURS_STEP_DESC="Step descending"
COM_GUIDEDTOURS_STEP_DESCRIPTION_TRANSLATION="Description (%s)"
COM_GUIDEDTOURS_STEP_EDIT_STEP="Edit Step"
COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for step ID or DESCRIPTION: to search only description text."
diff --git a/administrator/language/en-GB/com_guidedtours.sys.ini b/administrator/language/en-GB/com_guidedtours.sys.ini
index 442f38c6dbe7..0c5c4eedeaba 100644
--- a/administrator/language/en-GB/com_guidedtours.sys.ini
+++ b/administrator/language/en-GB/com_guidedtours.sys.ini
@@ -4,9 +4,6 @@
; Note : All ini files need to be saved as UTF-8
COM_GUIDEDTOURS="Guided Tours"
-COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!"
-COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tours - List of Steps"
-COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours"
COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours"
COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_TITLE="List All Guided Tours"
COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_DESC="Shows a list of all guided tours."
```
PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/40212 Poniżej zmiany w oryginale:
Click to expand the diff!
```diff diff --git a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php index b6f5a1d8ccbe..ddd6654b7a2f 100644 --- a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php @@ -99,7 +99,7 @@ protected function addToolbar() $canDo = ContentHelper::getActions('com_guidedtours'); - ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_STEP_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_STEP_EDIT')), 'map-signs'); + ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_STEP_NEW' : 'COM_GUIDEDTOURS_MANAGER_STEP_EDIT'), 'map-signs'); $toolbarButtons = []; diff --git a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php index 422a07b1a1f4..46156f36443e 100644 --- a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php @@ -102,7 +102,7 @@ protected function addToolbar() $toolbar = Toolbar::getInstance(); - ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_EDIT')), 'map-signs'); + ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_TOUR_NEW' : 'COM_GUIDEDTOURS_MANAGER_TOUR_EDIT'), 'map-signs'); $toolbarButtons = []; diff --git a/administrator/language/en-GB/com_guidedtours.ini b/administrator/language/en-GB/com_guidedtours.ini index 3e3fb453545e..d3184efb752a 100644 --- a/administrator/language/en-GB/com_guidedtours.ini +++ b/administrator/language/en-GB/com_guidedtours.ini @@ -10,7 +10,6 @@ COM_GUIDEDTOURS_DESCRIPTION="Description" COM_GUIDEDTOURS_DESCRIPTION_TRANSLATION="Description (%s)" COM_GUIDEDTOURS_EDIT_TOUR="Edit Tour" COM_GUIDEDTOURS_ERROR_NO_GUIDEDTOURS_SELECTED="No tour selected." -COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!" COM_GUIDEDTOURS_EXTENSIONS_DESC="Restrict the tour to be displayed only when the selected component is active." COM_GUIDEDTOURS_EXTENSIONS_LABEL="Component Selector" COM_GUIDEDTOURS_FIELD_NOTE_LABEL="Note" @@ -23,14 +22,11 @@ COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_NEXT="Next" COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_REDIRECT="Redirect" COM_GUIDEDTOURS_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for tour ID or DESCRIPTION: to search only description text." COM_GUIDEDTOURS_FILTER_SEARCH_LABEL="Search" -COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tour - List of Steps" -COM_GUIDEDTOURS_GUIDEDTOURS_LABEL_DESCRIPTION="Description" -COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours" COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours" -COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Edit Step" -COM_GUIDEDTOURS_MANAGER_STEP_NEW="New Step" -COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Edit Tour" -COM_GUIDEDTOURS_MANAGER_TOUR_NEW="New Tour" +COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Guided Tours: Edit Step" +COM_GUIDEDTOURS_MANAGER_STEP_NEW="Guided Tours: New Step" +COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Guided Tours: Edit Tour" +COM_GUIDEDTOURS_MANAGER_TOUR_NEW="Guided Tours: New Tour" COM_GUIDEDTOURS_N_ITEMS_ARCHIVED_1="Item archived." COM_GUIDEDTOURS_N_ITEMS_ARCHIVED="%s items archived." COM_GUIDEDTOURS_N_ITEMS_CHECKED_IN_1="Item checked in." @@ -47,8 +43,6 @@ COM_GUIDEDTOURS_NEW_TOUR="New Tour" COM_GUIDEDTOURS_ORDER_TYPE_ASC="Type ascending" COM_GUIDEDTOURS_ORDER_TYPE_DESC="Type descending" COM_GUIDEDTOURS_STATUS="Status" -COM_GUIDEDTOURS_STEP_ASC="Step ascending" -COM_GUIDEDTOURS_STEP_DESC="Step descending" COM_GUIDEDTOURS_STEP_DESCRIPTION_TRANSLATION="Description (%s)" COM_GUIDEDTOURS_STEP_EDIT_STEP="Edit Step" COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for step ID or DESCRIPTION: to search only description text." diff --git a/administrator/language/en-GB/com_guidedtours.sys.ini b/administrator/language/en-GB/com_guidedtours.sys.ini index 442f38c6dbe7..0c5c4eedeaba 100644 --- a/administrator/language/en-GB/com_guidedtours.sys.ini +++ b/administrator/language/en-GB/com_guidedtours.sys.ini @@ -4,9 +4,6 @@ ; Note : All ini files need to be saved as UTF-8 COM_GUIDEDTOURS="Guided Tours" -COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!" -COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tours - List of Steps" -COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours" COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours" COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_TITLE="List All Guided Tours" COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_DESC="Shows a list of all guided tours." ```