Opened 9 years ago
Closed 9 years ago
#13686 closed Bug (invalid)
Find and replace text percentage is not correct for Arabic locale
Reported by: | ACGC | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Language | Version: | 4.5.3 |
Keywords: | Cc: |
Description
Steps to reproduce
- Write a word and copy/paste it multiple times.
- Open the search dialog
- Write the word in the find field and another word in the replace field.
- Click on 'Replace all'
Expected result
100% of the words were replaced (image1)
Actual result
The replace dialog shows that 1% of the words have been replaced (image2)
Other details (browser, OS, CKEditor version, installed plugins)
Attachments (2)
Change History (4)
Changed 9 years ago by
Attachment: | image1.png added |
---|
Changed 9 years ago by
Attachment: | image2.png added |
---|
actual behaviour where replace dialog shows that 1% of the words have been replaced
comment:1 Changed 9 years ago by
I provided solution and created pull request: https://github.com/ckeditor/ckeditor-dev/pull/210
comment:2 Changed 9 years ago by
Component: | General → UI : Language |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Thank you for taking your time to investigate this.
However, "%1" is actually a placeholder to display the number of occurances replaced. It should be replaced by CKEditor with an actual number, just like it works for other language versions, and not be replaced with 100%. For some reason it does not get replaced in Arabic and I created ticket #13688 for this issue.
expected behaviour 100% of the words were replaced.