Skip to content

Rename Page to Menu Item#17409

Merged
mbabker merged 7 commits intojoomla:stagingfrom
tonypartridge:page-naming-fix
Aug 5, 2017
Merged

Rename Page to Menu Item#17409
mbabker merged 7 commits intojoomla:stagingfrom
tonypartridge:page-naming-fix

Conversation

@tonypartridge
Copy link
Copy Markdown
Contributor

@tonypartridge tonypartridge commented Aug 4, 2017

Pull Request for Issue #17408 .

Page is not a word natively used in Joomla! we should stick to standard convention of Menu Item.

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-staging and removed Language Change This is for Translators PR-staging labels Aug 4, 2017
@ghost
Copy link
Copy Markdown

ghost commented Aug 4, 2017

I have tested this item ✅ successfully on 37cd2f3


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

COM_MODULES_OPTION_SELECT_CLIENT="- Select Type -"
COM_MODULES_OPTION_SELECT_MODULE="- Select Type -"
COM_MODULES_OPTION_SELECT_PAGE="- Select Page -"
COM_MODULES_OPTION_SELECT_MENU_ITEM="- Select Menu Item -"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort alpha order.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you a real person or just a super computer?

COM_TEMPLATES_NEW_FILE_TYPE="File Type"
COM_TEMPLATES_NO_TEMPLATE_SELECTED="No template selected."
COM_TEMPLATES_OPTION_SELECT_PAGE="- Select Page -"
COM_TEMPLATES_OPTION_SELECT_MENU_ITEM="- Select Menu Item -"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort alpha order.

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-staging labels Aug 4, 2017
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Aug 4, 2017

I have tested this item ✅ successfully on 7c342b9


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

1 similar comment
@ghost
Copy link
Copy Markdown

ghost commented Aug 4, 2017

I have tested this item ✅ successfully on 7c342b9


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

@joomla-cms-bot joomla-cms-bot removed Language Change This is for Translators PR-staging labels Aug 4, 2017
@ghost
Copy link
Copy Markdown

ghost commented Aug 4, 2017

RTC after two successful tests.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 4, 2017
@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Aug 4, 2017

Not RTC. We have that crazy policy about not renaming language keys because they might be used elsewhere and blah blah blah, so the old strings have to be deprecated and kept until 4.0.

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 4, 2017
@ghost
Copy link
Copy Markdown

ghost commented Aug 4, 2017

set back on "Pending"as stated above.


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

@brianteeman
Copy link
Copy Markdown
Contributor

Agree with @mbabker although we don't usually bother to mark language strings as deprecated

@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Aug 4, 2017

Well, unless we want to keep translating strings that stopped being used in core 5 users ago because nobody ever bothers to clean that stuff out, we gotta start doing things "right" at some point.

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 4, 2017 via email

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 4, 2017 via email

@Bakual
Copy link
Copy Markdown
Contributor

Bakual commented Aug 4, 2017

In the past, we added a comment before the deprecated string with that deprecation message. That comment will show up in com_localise (but not in Crowdin).

Don't put the lines at the end of the file, keep them in the place they are.

@brianteeman
Copy link
Copy Markdown
Contributor

brianteeman commented Aug 4, 2017 via email

Tony Partridge - xtech86 added 2 commits August 4, 2017 22:02
…er-time-zone-fix

# Conflicts:
#	administrator/language/en-GB/en-GB.com_modules.ini
#	administrator/language/en-GB/en-GB.com_templates.ini
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-staging labels Aug 4, 2017
…er-time-zone-fix

# Conflicts:
#	administrator/language/en-GB/en-GB.com_modules.ini
#	administrator/language/en-GB/en-GB.com_templates.ini
@infograf768
Copy link
Copy Markdown
Member

Just keeping the original string (with its constant) in the ini file makes no sense.
This will not be B/C because the original constant is not used anymore in the xml.
Why not just keep the original constant and just change its value?

@brianteeman
Copy link
Copy Markdown
Contributor

Just keeping the original string (with its constant) in the ini file makes no sense.

That is exactly what has been done in the past at your insistence (there are many examples of this)

This will not be B/C because the original constant is not used anymore in the xml.

There is no B/C break as it is a new string that is being used. We are only keeping the old string available because of your insistence that it could be being used by a third party. (there are many examples of this)

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 5, 2017 via email

@brianteeman
Copy link
Copy Markdown
Contributor

@tonypartridge agreed but thats what has been demanded in the past. i spent ages removing those unused strings for j4

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 5, 2017 via email

@infograf768
Copy link
Copy Markdown
Member

There is no B/C break as it is a new string that is being used. We are only keeping the old string available because of your insistence that it could be being used by a third party. (there are many examples of this)

My mistake, sorry indeed. Not awaken this morning...

It is true that lang packages can be updated (as they are proposed for any 3.x J version) while the J version is not and therefore the reason why we should keep old strings and deprecate them, JGLOBAL or NOT.

In this specific case though, the change in the value is small and keeping the same constant would be enough while changing the value imho.

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 5, 2017 via email

@infograf768
Copy link
Copy Markdown
Member

There will always be inconsistencies in translations, (as well as in the en-GB reference language files).
It is good to correct as much as we can and do our best while we modify the en-GB in core.

1.TTs are volunteers and may or may not update their packs in time for a release + some disappear after a few major version packs. We should nevertheless keep as many languages as we can for the final users.
2. Also, as Brian wrote, 3pd may be using some existing strings in their extensions (in fact we should encourage them to do that more...), and not only lib or global ones

4.0 will be the occasion for a good cleaning and start from scratch for many languages, as we did after 1.5 and 2.5.

@tonypartridge
Copy link
Copy Markdown
Contributor Author

tonypartridge commented Aug 5, 2017 via email

@brianteeman
Copy link
Copy Markdown
Contributor

brianteeman commented Aug 5, 2017 via email

izharaazmi added a commit to izharaazmi/joomla-cms that referenced this pull request Aug 9, 2017
* staging: (148 commits)
  Correcting non-escaped double quotes in en-GB.plg_sampledata_testing.ini (joomla#17455)
  Correct namespace reference (Fix joomla#17448)
  Correcting Jalali/Persian calendar popup (joomla#17432)
  Adding russian calendar language file (joomla#17443)
  Reset for dev
  Prepare 3.8 Beta release
  Fix covers tags
  Fix file paths
  Move library files to just libraries/src as it should be (joomla#17441)
  Add a default empty array for the session queue (joomla#16943)
  [3.8] Restructure version constants (joomla#16169)
  Adjusting copyright and versions and two remaining "sampledata" (joomla#17435)
  PHP 7.2 has branched, update Travis config to reflect
  PHP 7.2 count warning (joomla#16840)
  Enforce array for subform values (joomla#16733)
  System URL menu link (joomla#17419)
  Don't use array merge here. (joomla#17391)
  add the checked attribute (joomla#17336)
  [RFC] Mod sample data (joomla#7680)
  Rename Page to Menu Item (joomla#17409)
  ...
izharaazmi added a commit to izharaazmi/joomla-cms that referenced this pull request Aug 9, 2017
* staging: (148 commits)
  Correcting non-escaped double quotes in en-GB.plg_sampledata_testing.ini (joomla#17455)
  Correct namespace reference (Fix joomla#17448)
  Correcting Jalali/Persian calendar popup (joomla#17432)
  Adding russian calendar language file (joomla#17443)
  Reset for dev
  Prepare 3.8 Beta release
  Fix covers tags
  Fix file paths
  Move library files to just libraries/src as it should be (joomla#17441)
  Add a default empty array for the session queue (joomla#16943)
  [3.8] Restructure version constants (joomla#16169)
  Adjusting copyright and versions and two remaining "sampledata" (joomla#17435)
  PHP 7.2 has branched, update Travis config to reflect
  PHP 7.2 count warning (joomla#16840)
  Enforce array for subform values (joomla#16733)
  System URL menu link (joomla#17419)
  Don't use array merge here. (joomla#17391)
  add the checked attribute (joomla#17336)
  [RFC] Mod sample data (joomla#7680)
  Rename Page to Menu Item (joomla#17409)
  ...
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.

7 participants