mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 08:40:34 +03:00
EDMarketConnector: Split multi-_(...) line to separate ones for LANG comments
This commit is contained in:
parent
b6f3713531
commit
cba3835698
@ -1765,9 +1765,12 @@ sys.path: {sys.path}'''
|
||||
)
|
||||
|
||||
# Substitute in the other words.
|
||||
# LANG: 'Plugins' tab / 'File' menu / 'File' > 'Settings'
|
||||
popup_text = popup_text.format(PLUGINS=_('Plugins'), FILE=_('File'), SETTINGS=_('Settings'),
|
||||
DISABLED='.disabled')
|
||||
popup_text = popup_text.format(
|
||||
PLUGINS=_('Plugins'), # LANG: Settings > Plugins tab
|
||||
FILE=_('File'), # LANG: 'File' menu
|
||||
SETTINGS=_('Settings'), # LANG: 'Settings' entry on 'File' menu
|
||||
DISABLED='.disabled'
|
||||
)
|
||||
# And now we do need these to be actual \r\n
|
||||
popup_text = popup_text.replace('\\n', '\n')
|
||||
popup_text = popup_text.replace('\\r', '\r')
|
||||
|
Loading…
x
Reference in New Issue
Block a user