[wgem] install options i18n

This commit is contained in:
Vinícius Moreira
2019-12-12 13:42:22 -03:00
parent 10b306c4d4
commit ce8e185146
3 changed files with 39 additions and 10 deletions

View File

@@ -165,16 +165,15 @@ class WebApplicationManager(SoftwareManager):
bt_continue = self.i18n['continue'].capitalize()
option_single_instance = InputOption(label="Single", value="--single-instance", tooltip="It will not allow the application to be opened again if it is already opened")
option_maximized = InputOption(label="Open maximized", value="--maximize", tooltip="If the installed app should always open maximized")
option_fullscren = InputOption(label="Fullscreen", value="--full-screen",
tooltip="If the installed app should always open in fullscreen mode")
option_no_frame = InputOption(label="No frame", value="--hide-window-frame", tooltip="If the installed app should not have a frame around it like browsers have")
option_single_instance = InputOption(label=self.i18n['web.install.option.single.label'], value="--single-instance", tooltip=self.i18n['web.install.option.single.tip'])
option_maximized = InputOption(label=self.i18n['web.install.option.max.label'], value="--maximize", tooltip=self.i18n['web.install.option.max.tip'])
option_fullscren = InputOption(label=self.i18n['web.install.option.fullscreen.label'], value="--full-screen", tooltip=self.i18n['web.install.option.fullscreen.tip'])
option_no_frame = InputOption(label=self.i18n['web.install.option.noframe.label'], value="--hide-window-frame", tooltip=self.i18n['web.install.option.noframe.tip'])
tray_option_off = InputOption(label="Off", value=0, tooltip="Tray mode disabled")
tray_option_default = InputOption(label="Default", value='--tray', tooltip="The app icon will be attached to the system tray")
tray_option_min = InputOption(label="Start minimzed", value='--tray=start-in-tray', tooltip="The app will start minized as an icon in the system tray")
input_tray = SingleSelectComponent(type_=SelectViewType.COMBO, options=[tray_option_off, tray_option_default, tray_option_min], label="Tray mode")
tray_option_off = InputOption(label=self.i18n['web.install.option.tray.off.label'], value=0, tooltip=self.i18n['web.install.option.tray.off.tip'])
tray_option_default = InputOption(label=self.i18n['web.install.option.tray.default.label'], value='--tray', tooltip=self.i18n['web.install.option.tray.default.tip'])
tray_option_min = InputOption(label=self.i18n['web.install.option.tray.min.label'], value='--tray=start-in-tray', tooltip=self.i18n['web.install.option.tray.min.tip'])
input_tray = SingleSelectComponent(type_=SelectViewType.COMBO, options=[tray_option_off, tray_option_default, tray_option_min], label=self.i18n['web.install.option.tray.label'])
check_options = MultipleSelectComponent(options=[option_single_instance, option_maximized, option_fullscren, option_no_frame],
default_options={option_single_instance}, label='')

View File

@@ -11,6 +11,21 @@ web.install.nativefier.error.inner_dir=The app installation directory was not fo
web.install.substatus.call_nativefier=Running {}
web.install.substatus.shortcut=Generating a menu shortcut
web.install.substatus.options=Waiting for the installation options
web.install.option.single.label=Single
web.install.option.single.tip=It will not allow the app to be opened again if it is already opened
web.install.option.max.label=Open maximized
web.install.option.max.tip=If the app should always be opened maximized
web.install.option.fullscreen.label=Open in fullscreen
web.install.option.fullscreen.tip=If the app should always be opened in fullscreen
web.install.option.noframe.label=No frame
web.install.option.noframe.tip=If the app should not have a frame around it ( like browsers have )
web.install.option.tray.label=Tray mode
web.install.option.tray.off.label=Off
web.install.option.tray.off.tip=Off
web.install.option.tray.default.label=Default
web.install.option.tray.default.tip=The app icon will be attached to the system tray allowing it to be quickly opened
web.install.option.tray.min.label=Start minimized
web.install.option.tray.min.tip=The app will be started minimized as an icon in the system tray
web.uninstall.error.install_dir.not_found=The installation directory {} was not found
web.uninstall.error.remove_dir=It was not possible to remove {}
web.info.1_url=URL

View File

@@ -11,6 +11,21 @@ web.install.nativefier.error.inner_dir=O diretório de instalação do aplicativ
web.install.substatus.call_nativefier=Executando {}
web.install.substatus.shortcut=Criando um atalho no menu
web.install.substatus.options=Aguardando as opções de instalação
web.install.option.single.label=Único
web.install.option.single.tip=Não permitirá que o aplicativo seja aberto novamente caso o mesmo já esteja
web.install.option.max.label=Abrir maximizado
web.install.option.max.tip=Se o aplicativo deve sempre ser aberto maximizado
web.install.option.fullscreen.label=Abrir em tela cheia
web.install.option.fullscreen.tip=Se o aplicativo sempre deve ser aberto em tela cheia
web.install.option.noframe.label=Sem moldura
web.install.option.noframe.tip=Se o aplicativo não deve ter uma moldura em volta ( como os navegadores têm )
web.install.option.tray.label=Modo bandeja
web.install.option.tray.off.label=Desligado
web.install.option.tray.off.tip=Desligado
web.install.option.tray.default.label=Padrão
web.install.option.tray.default.tip=O ícone do aplicativo será anexado a bandeja do sistema permitindo que o mesma seja rapidamente aberto
web.install.option.tray.min.label=Iniciar minimizado
web.install.option.tray.min.tip=O aplicativo será iniciado minimizado como um ícone da bandeja do sistema
web.uninstall.error.install_dir.not_found=O diretório de instalação {} não foi encontrado
web.uninstall.error.remove=Não foi possível remover {}
web.info.1_url=URL
@@ -20,4 +35,4 @@ web.info.4_installation_dir=diretório de instalação
web.info.5_desktop_entry=atalho
web.info.6_exec_file=executável
web.info.7_icon_path=ícone
web.info.8_size=tamanho
web.info.8_size=tamanho