Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0] newsfeeds remove deprecated strings #40494

Closed
wants to merge 1 commit into from

Conversation

brianteeman
Copy link
Contributor

Removes strings deprecated in #40493

added the list to to the docs manual

Removes strings deprecated in joomla#40493

added the list to to the manual
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-5.0-dev labels Apr 27, 2023
@laoneo
Copy link
Member

laoneo commented Apr 29, 2023

I know we do not have a deprecation policy for strings. But deprecations are here to give developers time to adapt their code. If we deprecate something in 4.4 and remove it in 5.0, then it doesn't make sense as both are released at the same time. So I would target this pr for 6.0.

@brianteeman
Copy link
Contributor Author

in which case then you might as well close this and related pr

@laoneo
Copy link
Member

laoneo commented Apr 29, 2023

The pr's itself are fine, just want to point out that it is hard to understand for 3rd party extension devs, when it gets basically removed at the same time when deprecated.

@HLeithner
Copy link
Member

I'm fine with deleting the strings in 5.0, I see no problem with deleting language string in a component which actually doesn't have any b/c coverage, means you still have 2 years for migration. in opposite we couldn't do any deprecation in 4.4 because the also get removed in 2 years.

I would suggest to wait for the planed b/c policy meeting (if it comes soon) and decide then.

@brianteeman
Copy link
Contributor Author

FYI I would have just deleted them without even marking them as deprecated as they are component strings that have not been used for a long long time

@laoneo
Copy link
Member

laoneo commented Apr 29, 2023

I have more a problem with the short deprecation timeframe and not with the removal itself.

@HLeithner
Copy link
Member

2 years is too short?

@laoneo
Copy link
Member

laoneo commented Apr 29, 2023

I'm talking about the release time of 4.4 and 5.0 and not about how long is 4.4 supported.

@brianteeman
Copy link
Contributor Author

@laoneo if this was code and that code was being used then I would agree 100%. If this was in a library or generic language file then I would agree 100%. But this is in a component.

Also marking a string as deprecated is a pointless thing to do anyway (even though I have done it as requested) as unlike a deprecation note in code it is never logged or displayed.

Finally some of the extra strings that we have might have been unused for ten plus years. A Previous maintainer refused to allow a string to be removed, ever, and no one thought to compromise with him by marking them as deprecated

@HLeithner HLeithner added the Removal Removes functionality label May 2, 2023
COM_NEWSFEEDS_NO_ITEM_SELECTED="No news feeds selected."
COM_NEWSFEEDS_NONE="None"
COM_NEWSFEEDS_NUM_ARTICLES_HEADING="# Articles"
COM_NEWSFEEDS_NUM_ARTICLES_HEADING_ASC="# Articles ascending"
COM_NEWSFEEDS_NUM_ARTICLES_HEADING_DESC="# Articles descending"
COM_NEWSFEEDS_RIGHT="Right"
COM_NEWSFEEDS_SAVE_SUCCESS="News feed saved."
Copy link
Contributor

Choose a reason for hiding this comment

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

please check #40533

@@ -81,19 +81,13 @@ COM_NEWSFEEDS_N_QUICKICON_1="News Feed"
COM_NEWSFEEDS_N_QUICKICON_SRONLY="News Feeds: %d news feeds are published."
COM_NEWSFEEDS_N_QUICKICON_SRONLY_1="News Feeds: One news feed is published."
COM_NEWSFEEDS_NEW_NEWSFEED="New News Feed"
COM_NEWSFEEDS_NEWSFEEDS="News Feeds"
Copy link
Contributor

Choose a reason for hiding this comment

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

please check #40493

@heelc29
Copy link
Contributor

heelc29 commented Sep 3, 2023

@brianteeman Can you please update this PR?
image

@brianteeman brianteeman closed this Sep 8, 2023
@brianteeman brianteeman deleted the newsfeeds branch September 8, 2023 12:01
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 PR-5.0-dev Removal Removes functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants