Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #5154, comment 19


Ignore:
Timestamp:
05/07/2021 02:55:46 AM (5 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5154, comment 19

    initial v1  
    4040Previous Result: No warnings, `%s` exists within string, all is okay.
    4141Expected Result: Warning, `%s` placeholder not present.
     42
     43Or:
     44Original: `... 100%% ...`
     45Translation: `... 100% ...`
     46Previous Result: No warnings, %% is not a placeholder to check for.
     47Expected Result: Warning, `%%` placeholder not present.
     48
     49Or:
     50Original: `... <a href="%s>100 percent</a> ...`
     51Translation: `... <a href="%s>100 %</a> ...`
     52Previous Result: No warnings, %s placeholder exists. String will fail though since `%<` will be picked up by `printf()`.
     53Expected Result: Warning, `%` not escaped.
     54Fixer kicks in and converts the translation to `... <a href="%s>100 %%</a> ...`
     55Final Result: String is accepted, no warnings.