FIRE-36128 partial: Move splash screen settings from CEF's localStorage to the viewer's settings file

Signed-off-by: PanteraPolnocy <panterapolnocy@gmail.com>
master
PanteraPolnocy 2025-12-01 21:12:47 +01:00
parent 8dc7ab1171
commit b65088fcee
16 changed files with 589 additions and 0 deletions

View File

@ -133,6 +133,7 @@ set(viewer_SOURCE_FILES
fsfloaterprotectedfolders.cpp
fsfloaterradar.cpp
fsfloatersearch.cpp
fsfloatersplashscreensettings.cpp
fsfloaterstatistics.cpp
fsfloaterstreamtitle.cpp
fsfloaterteleporthistory.cpp
@ -974,6 +975,7 @@ set(viewer_HEADER_FILES
fsfloaterprotectedfolders.h
fsfloaterradar.h
fsfloatersearch.h
fsfloatersplashscreensettings.h
fsfloaterstatistics.h
fsfloaterstreamtitle.h
fsfloaterteleporthistory.h

View File

@ -25399,6 +25399,94 @@ Change of this parameter will affect the layout of buttons in notification toast
<key>HideFromEditor</key>
<integer>1</integer>
</map>
<key>FSSplashScreenHideTopBar</key>
<map>
<key>Comment</key>
<string>Hide the top bar section on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenHideBlogs</key>
<map>
<key>Comment</key>
<string>Hide the blogs section on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenHideDestinations</key>
<map>
<key>Comment</key>
<string>Hide the destinations section on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenUseGrayMode</key>
<map>
<key>Comment</key>
<string>Enable grayscale mode on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenUseHighContrast</key>
<map>
<key>Comment</key>
<string>Enable high contrast mode on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenUseAllCaps</key>
<map>
<key>Comment</key>
<string>Enable all caps mode on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenUseLargerFonts</key>
<map>
<key>Comment</key>
<string>Use larger fonts on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSSplashScreenNoTransparency</key>
<map>
<key>Comment</key>
<string>Disable transparency effects on the splash screen</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>FSllOwnerSayToScriptDebugWindowRouting</key>
<map>
<key>Comment</key>

View File

@ -0,0 +1,109 @@
/**
* @file fsfloatersplashscreensettings.cpp
* @brief Splash screen settings floater
*
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
* Copyright (c) 2025 The Phoenix Firestorm Project, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* The Phoenix Firestorm Project, Inc., 1831 Oakwood Drive, Fairmont, Minnesota 56031-3225 USA
* http://www.firestormviewer.org
* $/LicenseInfo$
*/
#include "llviewerprecompiledheaders.h"
#include "fsfloatersplashscreensettings.h"
#include "llcheckboxctrl.h"
#include "llviewercontrol.h"
FSFloaterSplashScreenSettings::FSFloaterSplashScreenSettings(const LLSD& key) :
LLFloater(key),
mHideTopBarCheck(nullptr),
mHideBlogsCheck(nullptr),
mHideDestinationsCheck(nullptr),
mUseGrayModeCheck(nullptr),
mUseHighContrastCheck(nullptr),
mUseAllCapsCheck(nullptr),
mUseLargerFontsCheck(nullptr),
mNoTransparencyCheck(nullptr)
{
}
FSFloaterSplashScreenSettings::~FSFloaterSplashScreenSettings()
{
}
bool FSFloaterSplashScreenSettings::postBuild()
{
mHideTopBarCheck = getChild<LLCheckBoxCtrl>("hide_top_bar");
mHideBlogsCheck = getChild<LLCheckBoxCtrl>("hide_blogs");
mHideDestinationsCheck = getChild<LLCheckBoxCtrl>("hide_destinations");
mUseGrayModeCheck = getChild<LLCheckBoxCtrl>("use_gray_mode");
mUseHighContrastCheck = getChild<LLCheckBoxCtrl>("use_high_contrast");
mUseAllCapsCheck = getChild<LLCheckBoxCtrl>("use_all_caps");
mUseLargerFontsCheck = getChild<LLCheckBoxCtrl>("use_larger_fonts");
mNoTransparencyCheck = getChild<LLCheckBoxCtrl>("no_transparency");
mHideTopBarCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mHideBlogsCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mHideDestinationsCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mUseGrayModeCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mUseHighContrastCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mUseAllCapsCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mUseLargerFontsCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
mNoTransparencyCheck->setCommitCallback(boost::bind(&FSFloaterSplashScreenSettings::onSettingChanged, this));
loadSettings();
return true;
}
void FSFloaterSplashScreenSettings::onOpen(const LLSD& key)
{
LLFloater::onOpen(key);
loadSettings();
}
void FSFloaterSplashScreenSettings::loadSettings()
{
mHideTopBarCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenHideTopBar"));
mHideBlogsCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenHideBlogs"));
mHideDestinationsCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenHideDestinations"));
mUseGrayModeCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenUseGrayMode"));
mUseHighContrastCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenUseHighContrast"));
mUseAllCapsCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenUseAllCaps"));
mUseLargerFontsCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenUseLargerFonts"));
mNoTransparencyCheck->setValue(gSavedSettings.getBOOL("FSSplashScreenNoTransparency"));
}
void FSFloaterSplashScreenSettings::saveSettings()
{
gSavedSettings.setBOOL("FSSplashScreenHideTopBar", mHideTopBarCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenHideBlogs", mHideBlogsCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenHideDestinations", mHideDestinationsCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenUseGrayMode", mUseGrayModeCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenUseHighContrast", mUseHighContrastCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenUseAllCaps", mUseAllCapsCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenUseLargerFonts", mUseLargerFontsCheck->getValue().asBoolean());
gSavedSettings.setBOOL("FSSplashScreenNoTransparency", mNoTransparencyCheck->getValue().asBoolean());
}
void FSFloaterSplashScreenSettings::onSettingChanged()
{
saveSettings();
}

View File

@ -0,0 +1,59 @@
/**
* @file fsfloatersplashscreensettings.h
* @brief Splash screen settings floater
*
* $LicenseInfo:firstyear=2025&license=viewerlgpl$
* Copyright (c) 2025 The Phoenix Firestorm Project, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* The Phoenix Firestorm Project, Inc., 1831 Oakwood Drive, Fairmont, Minnesota 56031-3225 USA
* http://www.firestormviewer.org
* $/LicenseInfo$
*/
#ifndef FS_FLOATERSPLASHSCREENSETTINGS_H
#define FS_FLOATERSPLASHSCREENSETTINGS_H
#include "llfloater.h"
class LLCheckBoxCtrl;
class FSFloaterSplashScreenSettings : public LLFloater
{
public:
FSFloaterSplashScreenSettings(const LLSD& key);
virtual ~FSFloaterSplashScreenSettings();
/*virtual*/ bool postBuild();
/*virtual*/ void onOpen(const LLSD& key);
private:
void onSettingChanged();
void loadSettings();
void saveSettings();
LLCheckBoxCtrl* mHideTopBarCheck;
LLCheckBoxCtrl* mHideBlogsCheck;
LLCheckBoxCtrl* mHideDestinationsCheck;
LLCheckBoxCtrl* mUseGrayModeCheck;
LLCheckBoxCtrl* mUseHighContrastCheck;
LLCheckBoxCtrl* mUseAllCapsCheck;
LLCheckBoxCtrl* mUseLargerFontsCheck;
LLCheckBoxCtrl* mNoTransparencyCheck;
};
#endif // FS_FLOATERSPLASHSCREENSETTINGS_H

View File

@ -929,6 +929,23 @@ void FSPanelLogin::loadLoginPage()
params["noversionpopup"] = "true";
}
// Splash screen settings
static const std::pair<std::string, std::string> mappings[] = {
{"FSSplashScreenHideTopBar", "hidetopbar"},
{"FSSplashScreenHideBlogs", "hideblogs"},
{"FSSplashScreenHideDestinations", "hidedestinations"},
{"FSSplashScreenUseGrayMode", "usegraymode"},
{"FSSplashScreenUseHighContrast", "usehighcontrast"},
{"FSSplashScreenUseAllCaps", "useallcaps"},
{"FSSplashScreenUseLargerFonts", "uselargerfonts"},
{"FSSplashScreenNoTransparency", "notransparency"},
};
for (const auto &m : mappings)
{
params[m.second] = gSavedSettings.getBOOL(m.first) ? "1" : "0";
}
// Make an LLURI with this augmented info
std::string url = login_page.scheme().empty()? login_page.authority() : login_page.scheme() + "://" + login_page.authority();
LLURI login_uri(LLURI::buildHTTP(url,

View File

@ -216,6 +216,7 @@
#include "fsfloaterprotectedfolders.h"
#include "fsfloaterradar.h"
#include "fsfloatersearch.h"
#include "fsfloatersplashscreensettings.h"
#include "fsfloaterstatistics.h"
#include "fsfloaterstreamtitle.h"
#include "fsfloaterteleporthistory.h"
@ -654,6 +655,7 @@ void LLViewerFloaterReg::registerFloaters()
LLFloaterReg::add("fs_poser", "floater_fs_poser.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterPoser>); // <FS:AR> [FIRE-30873]: Poser
LLFloaterReg::add("fs_protectedfolders", "floater_fs_protectedfolders.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterProtectedFolders>);
LLFloaterReg::add("fs_radar", "floater_fs_radar.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterRadar>);
LLFloaterReg::add("fs_splash_screen_settings", "floater_fs_splash_screen_settings.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterSplashScreenSettings>);
LLFloaterReg::add("fs_streamtitle", "floater_fs_streamtitle.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterStreamTitle>);
LLFloaterReg::add("fs_streamtitlehistory", "floater_fs_streamtitlehistory.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterStreamTitleHistory>);
LLFloaterReg::add("fs_teleporthistory", "floater_fs_teleporthistory.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<FSFloaterTeleportHistory>);

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Giriş Ekranı Seçimləri">
<text name="description">
Giriş ekranının göstərilmə seçimlərini burada tənzimləyin. Bu seçimlər baxış proqramını növbəti dəfə yenidən başlatdığınız zaman qüvvəyə minəcək.
</text>
<text name="section_visibility">
Bölmənin Görünürlüyü:
</text>
<check_box label="Üst paneli gizlət" name="hide_top_bar" />
<check_box label="Bloqlar bölməsini gizlət" name="hide_blogs" />
<check_box label="Təyinat yerlərini gizlət" name="hide_destinations" />
<text name="section_accessibility">
Əlçatanlıq Seçimləri:
</text>
<check_box label="Boz rəng rejimini aktivləşdir" name="use_gray_mode" />
<check_box label="Yüksək kontrast rejimini aktivləşdir" name="use_high_contrast" />
<check_box label="&quot;BÖYÜK HƏRİFLƏR&quot; rejimini aktivləşdirin" name="use_all_caps" />
<check_box label="Daha böyük şriftlərdən istifadə edin" name="use_larger_fonts"/>
<check_box label="Şəffaflıq effektlərini söndürün" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Splash Screen Einstellungen">
<text name="description">
Konfigurieren Sie hier die Anzeigeoptionen für den Splash Screen. Diese Einstellungen werden beim nächsten Neustart des Viewers wirksam.
</text>
<text name="section_visibility">
Sichtbarkeit des Bereichs:
</text>
<check_box label="Obere Leiste ausblenden" name="hide_top_bar" />
<check_box label="Blogbereich ausblenden" name="hide_blogs" />
<check_box label="Ziele ausblenden" name="hide_destinations" />
<text name="section_accessibility">
Barrierefreiheitsoptionen:
</text>
<check_box label="Graustufenmodus aktivieren" name="use_gray_mode" />
<check_box label="Modus für hohen Kontrast aktivieren" name="use_high_contrast" />
<check_box label="„GROSSBUCHSTABEN“-Modus aktivieren" name="use_all_caps" />
<check_box label="Größere Schriftarten verwenden" name="use_larger_fonts"/>
<check_box label="Transparenzeffekte deaktivieren" name="no_transparency" />
</floater>

View File

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater
name="splash_screen_settings"
title="Splash Screen Settings"
width="350"
height="320"
min_width="350"
min_height="300"
save_rect="true"
single_instance="true"
can_resize="false"
can_minimize="true"
can_close="true"
can_drag_on_left="false">
<text
follows="left|top"
height="40"
layout="topleft"
left="10"
name="description"
top="10"
word_wrap="true"
width="330">
Configure splash screen display options here. These settings will take effect after the next viewer restart.
</text>
<text
follows="left|top"
height="16"
layout="topleft"
left="10"
name="section_visibility"
top_pad="10"
width="330"
font="SansSerifBold">
Section Visibility:
</text>
<check_box
control_name="FSSplashScreenHideTopBar"
height="20"
label="Hide top bar"
layout="topleft"
left="20"
name="hide_top_bar"
top_pad="5"
width="310"/>
<check_box
control_name="FSSplashScreenHideBlogs"
height="20"
label="Hide blogs section"
layout="topleft"
left="20"
name="hide_blogs"
top_pad="2"
width="310"/>
<check_box
control_name="FSSplashScreenHideDestinations"
height="20"
label="Hide destinations section"
layout="topleft"
left="20"
name="hide_destinations"
top_pad="2"
width="310"/>
<text
follows="left|top"
height="16"
layout="topleft"
left="10"
name="section_accessibility"
top_pad="15"
width="330"
font="SansSerifBold">
Accessibility Options:
</text>
<check_box
control_name="FSSplashScreenUseGrayMode"
height="20"
label="Enable grayscale mode"
layout="topleft"
left="20"
name="use_gray_mode"
top_pad="5"
width="310"/>
<check_box
control_name="FSSplashScreenUseHighContrast"
height="20"
label="Enable high contrast mode"
layout="topleft"
left="20"
name="use_high_contrast"
top_pad="2"
width="310"/>
<check_box
control_name="FSSplashScreenUseAllCaps"
height="20"
label="Enable all caps mode"
layout="topleft"
left="20"
name="use_all_caps"
top_pad="2"
width="310"/>
<check_box
control_name="FSSplashScreenUseLargerFonts"
height="20"
label="Use larger fonts"
layout="topleft"
left="20"
name="use_larger_fonts"
top_pad="2"
width="310"/>
<check_box
control_name="FSSplashScreenNoTransparency"
height="20"
label="Disable transparency effects"
layout="topleft"
left="20"
name="no_transparency"
top_pad="2"
width="310"/>
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Ajustes de la Pantalla de Inicio">
<text name="description">
Configure aquí las opciones de visualización de la pantalla de inicio. Estos ajustes tendrán efecto después del próximo reinicio del visor.
</text>
<text name="section_visibility">
Visibilidad de la sección:
</text>
<check_box label="Ocultar barra superior" name="hide_top_bar" />
<check_box label="Ocultar sección de blogs" name="hide_blogs" />
<check_box label="Ocultar destinos" name="hide_destinations" />
<text name="section_accessibility">
Opciones de Accesibilidad:
</text>
<check_box label="Habilitar el modo de escala de grises" name="use_gray_mode" />
<check_box label="Habilitar el modo de alto contraste" name="use_high_contrast" />
<check_box label="Habilitar el modo &quot;TODO EN MAYÚSCULAS&quot;" name="use_all_caps" />
<check_box label="Usa fuentes más grandes" name="use_larger_fonts"/>
<check_box label="Deshabilitar efectos de transparencia" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Réglages de l'écran d'accueil">
<text name="description">
Configurez ici les options d'affichage de l'écran d'accueil. Ces réglages prendront effet après le prochain redémarrage du client.
</text>
<text name="section_visibility">
Visibilité des sections :
</text>
<check_box label="Masquer la barre supérieure" name="hide_top_bar" />
<check_box label="Masquer la section des blogs" name="hide_blogs" />
<check_box label="Masquer les destinations" name="hide_destinations" />
<text name="section_accessibility">
Options d'accessibilité :
</text>
<check_box label="Activer le mode niveaux de gris" name="use_gray_mode" />
<check_box label="Activer le mode contraste élevé" name="use_high_contrast" />
<check_box label="Activer le mode &quot;TOUT EN MAJUSCULES&quot;" name="use_all_caps" />
<check_box label="Utiliser des polices plus grandes" name="use_larger_fonts"/>
<check_box label="Désactiver les effets de transparence" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Impostazioni Schermata Iniziale">
<text name="description">
Configura qui le opzioni di visualizzazione della schermata iniziale. Queste impostazioni avranno effetto dopo il prossimo riavvio del visualizzatore.
</text>
<text name="section_visibility">
Visibilità sezione:
</text>
<check_box label="Nascondi barra superiore" name="hide_top_bar" />
<check_box label="Nascondi sezione blog" name="hide_blogs" />
<check_box label="Nascondi destinazioni" name="hide_destinations" />
<text name="section_accessibility">
Opzioni di Accessibilità:
</text>
<check_box label="Abilita modalità scala di grigi" name="use_gray_mode" />
<check_box label="Abilita modalità contrasto elevato" name="use_high_contrast" />
<check_box label="Abilita la modalità &quot;TUTTO MAIUSCOLO&quot;" name="use_all_caps" />
<check_box label="Usa caratteri più grandi" name="use_larger_fonts"/>
<check_box label="Disabilita effetti di trasparenza" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="ログイン画面の設定">
<text name="description">
ログイン画面の表示オプションをここで設定してください。これらの設定は、ビューアを次回再起動したときに有効になります。
</text>
<text name="section_visibility">
セクションの表示:
</text>
<check_box label="トップバーを非表示にする" name="hide_top_bar" />
<check_box label="ブログセクションを非表示にする" name="hide_blogs" />
<check_box label="宛先を非表示にする" name="hide_destinations" />
<text name="section_accessibility">
アクセシビリティ オプション:
</text>
<check_box label="グレースケールモードを有効にする" name="use_gray_mode" />
<check_box label="ハイコントラストモードを有効にする" name="use_high_contrast" />
<check_box label="「オールキャップス」モードを有効にする" name="use_all_caps" />
<check_box label="より大きなフォントを使用する" name="use_larger_fonts"/>
<check_box label="透明効果を無効にする" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Ustawienia ekranu powitalnego">
<text name="description">
Skonfiguruj tutaj opcje wyświetlania strony logowania. Te ustawienia zaczną obowiązywać po następnym restarcie przeglądarki.
</text>
<text name="section_visibility">
Widoczność sekcji:
</text>
<check_box label="Ukryj górny pasek" name="hide_top_bar" />
<check_box label="Ukryj sekcję blogów" name="hide_blogs" />
<check_box label="Ukryj cele podróży" name="hide_destinations" />
<text name="section_accessibility">
Opcje dostępności:
</text>
<check_box label="Włącz tryb odcieni szarości" name="use_gray_mode" />
<check_box label="Włącz tryb wysokiego kontrastu" name="use_high_contrast" />
<check_box label="Włącz tryb &quot;WSZYSTKO WERSALIKAMI&quot;" name="use_all_caps" />
<check_box label="Użyj większych czcionek" name="use_larger_fonts"/>
<check_box label="Wyłącz efekty przezroczystości" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="Настройки Экрана Приветствия">
<text name="description">
Здесь настраиваются параметры отображения экрана приветствия. Эти настройки вступят в силу при следующем перезапуске вьюера.
</text>
<text name="section_visibility">
Видимость раздела:
</text>
<check_box label="Скрыть верхнюю панель" name="hide_top_bar" />
<check_box label="Скрыть раздел блогов" name="hide_blogs" />
<check_box label="Скрыть пункты назначения" name="hide_destinations" />
<text name="section_accessibility">
Параметры Доступности:
</text>
<check_box label="Включить режим оттенков серого" name="use_gray_mode" />
<check_box label="Включить режим высокой контрастности" name="use_high_contrast" />
<check_box label="Включить режим «ВСЕ ЗАГЛАВНЫЕ БУКВЫ»" name="use_all_caps" />
<check_box label="Используйте более крупные шрифты" name="use_larger_fonts"/>
<check_box label="Отключить эффекты прозрачности" name="no_transparency" />
</floater>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="splash_screen_settings" title="登入啟動畫面設定">
<text name="description">
在這裡配置登入啟動畫面的顯示選項。這些設定將在您下次重新啟動查看器時生效。
</text>
<text name="section_visibility">
區域可見性:
</text>
<check_box label="隱藏頂部欄" name="hide_top_bar" />
<check_box label="隱藏部落格區域" name="hide_blogs" />
<check_box label="隱藏目的地" name="hide_destinations" />
<text name="section_accessibility">
輔助使用選項:
</text>
<check_box label="啟用灰階模式" name="use_gray_mode" />
<check_box label="啟用高對比模式" name="use_high_contrast" />
<check_box label="啟用全大寫模式" name="use_all_caps" />
<check_box label="使用較大字型" name="use_larger_fonts"/>
<check_box label="關閉透明效果" name="no_transparency" />
</floater>