Skip to content

Commit 9ab7b89

Browse files
authored
[5.4] Deprecate language string Mis_typed (joomla#45727)
To fix the spelling of a key and to be able to remove an exception in typos.toml this PR deprecates a mis-spelled language key and replaces it in the error.php templates with the correct string typos.toml will be updated in a subsequent pr Signed-off-by: BrianTeeman <[email protected]>
1 parent 4f98b92 commit 9ab7b89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

language/en-GB/joomla.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE="an <strong>out-of-date bookmark
155155
JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST="An error has occurred while processing your request."
156156
JERROR_LAYOUT_GO_TO_THE_HOME_PAGE="Go to the Home Page"
157157
JERROR_LAYOUT_HOME_PAGE="Home Page"
158+
; deprecated will be removed in 6.0
158159
JERROR_LAYOUT_MIS_TYPED_ADDRESS="a <strong>mistyped address</strong>"
160+
JERROR_LAYOUT_MISTYPED_ADDRESS="a <strong>mistyped address</strong>"
159161
JERROR_LAYOUT_NOT_ABLE_TO_VISIT="You may not be able to visit this page because of:"
160162
JERROR_LAYOUT_PAGE_NOT_FOUND="The requested page can't be found."
161163
JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR="If difficulties persist, please contact the website administrator and report the error below."

templates/cassiopeia/error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<p><?php echo Text::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></p>
166166
<ul>
167167
<li><?php echo Text::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
168-
<li><?php echo Text::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
168+
<li><?php echo Text::_('JERROR_LAYOUT_MISTYPED_ADDRESS'); ?></li>
169169
<li><?php echo Text::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
170170
<li><?php echo Text::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
171171
</ul>

templates/system/error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<ul>
5454
<li><?php echo Text::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
5555
<li><?php echo Text::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
56-
<li><?php echo Text::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
56+
<li><?php echo Text::_('JERROR_LAYOUT_MISTYPED_ADDRESS'); ?></li>
5757
<li><?php echo Text::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
5858
<li><?php echo Text::_('JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND'); ?></li>
5959
<li><?php echo Text::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></li>

0 commit comments

Comments
 (0)