Skip to content

[FIX} Calendar wrong locale variable#22026

Merged
zero-24 merged 1 commit intojoomla:stagingfrom
infograf768:calendarlocalewrongvariable
Sep 7, 2018
Merged

[FIX} Calendar wrong locale variable#22026
zero-24 merged 1 commit intojoomla:stagingfrom
infograf768:calendarlocalewrongvariable

Conversation

@infograf768
Copy link
Copy Markdown
Member

Pull Request for Issue #22025

Summary of Changes

The calendar js is using the clear variable and not the save variable to clear the field.
Therefore the button Clear is NOT translated when using another language.

The js code is clear ( 😄 )
this._nav_clear = hh(JoomlaCalLocale.clear, '', 100, 'button', '', 'js-btn btn btn-clear', {"type": "button", "data-action": "clear"});

and not save...

Testing Instructions

Click on a calendar icon in backend publishing article tab and look at the buttons at the bottom when using another language than English (therefore not en-GB, en-US, en-Ca, etc if any)

Test in French

Before patch

screen shot 2018-09-06 at 18 05 29

After patch

screen shot 2018-09-06 at 18 03 19

@boomsya

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 9cb6150


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

@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 9cb6150


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

@joomla-cms-bot joomla-cms-bot removed Language Change This is for Translators PR-staging labels Sep 6, 2018
@joomla-cms-bot joomla-cms-bot removed this from the Joomla 3.9.0 milestone Sep 6, 2018
@ghost
Copy link
Copy Markdown

ghost commented Sep 6, 2018

Ready to Commit after two successful tests.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 6, 2018
@infograf768 infograf768 added this to the Joomla 3.9.0 milestone Sep 6, 2018
@zero-24
Copy link
Copy Markdown
Contributor

zero-24 commented Sep 7, 2018

Thanks @infograf768 and @boomsya for reporting and fixing as well as the testers 👍

@zero-24 zero-24 merged commit eb68e01 into joomla:staging Sep 7, 2018
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-staging and removed RTC This Pull Request is Ready To Commit labels Sep 7, 2018
@infograf768 infograf768 deleted the calendarlocalewrongvariable branch September 7, 2018 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants