? ? ? Pending

User tests: Successful: Unsuccessful:

avatar dryabov
dryabov
24 Feb 2021

Fix argnum syntax (%1s means a string of minimal length of 1 character instead of first argument string %1$s)

avatar dryabov dryabov - open - 24 Feb 2021
avatar dryabov dryabov - change - 24 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2021
Category Administration Language & Strings
avatar brianteeman
brianteeman - comment - 24 Feb 2021

@infograf768 This PR does look correct but its been this way for 4+ years since the first commit

avatar infograf768
infograf768 - comment - 24 Feb 2021

Looking now

avatar infograf768
infograf768 - comment - 24 Feb 2021

It does work OK as is with Persian and obviously with this patch.

Better correct though.

EDIT: the reason we never had any problem is that it does not consider the figure, i.e. %1s or %2s are both considered as %s
As we are not in a phrase, but as forced order for 2 words (one is a bit more complex in Persian) separated by a > the figure maybe useless in this specific case.

avatar infograf768 infograf768 - test_item - 24 Feb 2021 - Tested successfully
avatar infograf768
infograf768 - comment - 24 Feb 2021

I have tested this item successfully on 328f244


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32505.

avatar infograf768 infograf768 - change - 24 Feb 2021
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 24 Feb 2021

Setting RTC as this is an obvious patch


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32505.

avatar brianteeman
brianteeman - comment - 24 Feb 2021

@infograf768 I did spot at least one other instance while investigating

avatar infograf768
infograf768 - comment - 24 Feb 2021

I did spot at least one other instance while investigating

I found none more in core. Can you ellaborate?

avatar brianteeman
brianteeman - comment - 24 Feb 2021

Sorry it was a new string in J4

COM_INSTALLER_UNINSTALL_ERROR_LOCKED_EXTENSION="The extension \"%1s\" (ID %2s) is locked and cannot be uninstalled."

avatar infograf768
infograf768 - comment - 24 Feb 2021

That one would need to be patched indeed.

avatar richard67 richard67 - change - 24 Feb 2021
Labels Added: ? ? ?
avatar HLeithner HLeithner - change - 24 Feb 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-24 10:31:37
Closed_By HLeithner
Labels
avatar HLeithner HLeithner - close - 24 Feb 2021
avatar HLeithner HLeithner - merge - 24 Feb 2021
avatar HLeithner
HLeithner - comment - 24 Feb 2021

Thanks

avatar infograf768
infograf768 - comment - 24 Feb 2021

@dryabov
Could you contact me on glip?
Ref: your message to traduction arobase joomla.fr

Add a Comment

Login with GitHub to post a comment