This could easily be simplified with just two, with no possible genre issues for the concatenated parts of speach ( Theme/Plugin)
Invalid data. Theme does not exist.
Invalid data. Plugin does not exist.
The above case can raise more issues, being "Theme" or "Plugin" single uppercase words, this could easily mess around other future strings. In this particular case make sense that it's uppercase for english, but for a language that adds an article before the %s, the uppercase won't make sense, but translators probably shold respect it.
Too many i18n potential issues, that should be avoided with two simple strings, no variables.
Possible issue with genre in some languages https://github.com/WordPress/wp-autoupdates/blob/master/functions.php#L1332
The current code have 3 strings:
Invalid data. %s does not exist.
Theme
Plugin
This could easily be simplified with just two, with no possible genre issues for the concatenated parts of speach ( Theme/Plugin)
Invalid data. Theme does not exist.
Invalid data. Plugin does not exist.
The above case can raise more issues, being "Theme" or "Plugin" single uppercase words, this could easily mess around other future strings. In this particular case make sense that it's uppercase for english, but for a language that adds an article before the %s, the uppercase won't make sense, but translators probably shold respect it. Too many i18n potential issues, that should be avoided with two simple strings, no variables.
The same happens here: https://github.com/WordPress/wp-autoupdates/blob/master/functions.php#L1343
You do not have permission to modify %s.
themes
plugins
Issues could be avoided and strings count reduced:
You do not have permission to modify themes.
You do not have permission to modify plugins.
See #107