mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 04:11:49 -05:00
Prepare for 7.0 release
This commit is contained in:
parent
e3a412940f
commit
ade730918e
5 changed files with 841 additions and 614 deletions
|
@ -2717,6 +2717,9 @@ void InfoPaneDropdown::on_localeList_currentRowChanged(int currentRow)
|
|||
case Internationalisation::svSE:
|
||||
settings.setValue("locale/language", "sv_SE");
|
||||
break;
|
||||
case Internationalisation::ltLT:
|
||||
settings.setValue("locale/language", "lt_LT");
|
||||
break;
|
||||
}
|
||||
|
||||
QString localeName = settings.value("locale/language", "en_US").toString();
|
||||
|
|
|
@ -590,14 +590,14 @@
|
|||
<second>0</second>
|
||||
<year>1969</year>
|
||||
<month>9</month>
|
||||
<day>28</day>
|
||||
<day>27</day>
|
||||
</datetime>
|
||||
</property>
|
||||
<property name="date">
|
||||
<date>
|
||||
<year>1969</year>
|
||||
<month>9</month>
|
||||
<day>28</day>
|
||||
<day>27</day>
|
||||
</date>
|
||||
</property>
|
||||
<property name="displayFormat">
|
||||
|
@ -2264,7 +2264,79 @@
|
|||
<widget class="QWidget" name="page_14">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||||
<item>
|
||||
<widget class="NetworkWidget" name="widget" native="true"/>
|
||||
<widget class="QFrame" name="startupHeader_4">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_28">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="startupLabel_4">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>15</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Network</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="startupLine_4">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_13">
|
||||
<property name="leftMargin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="NetworkWidget" name="widget" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************
|
||||
*
|
||||
*
|
||||
* theShell - Desktop Environment
|
||||
* Copyright (C) 2017 Victor Tran
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*
|
||||
* *************************************/
|
||||
|
||||
#ifndef INTERNATIONALISATION_H
|
||||
|
@ -50,6 +50,7 @@ public:
|
|||
esES,
|
||||
ruRU,
|
||||
svSE,
|
||||
ltLT,
|
||||
// Unfinished languages follow
|
||||
jaJP,
|
||||
arSA,
|
||||
|
@ -101,27 +102,30 @@ public:
|
|||
case svSE:
|
||||
languageBox->addItem(new QListWidgetItem(QIcon::fromTheme("flag-se"), tr("Swedish") + " (Svenska) "));
|
||||
break;
|
||||
/*case arSA:
|
||||
languageBox->addItem("[SA] " + tr("Arabic") + " (العربية) ");
|
||||
case ltLT:
|
||||
languageBox->addItem(new QListWidgetItem(QIcon::fromTheme("flag-lt"), tr("Lithuanian") + " (Lietuviškai) "));
|
||||
break;
|
||||
case arSA:
|
||||
//languageBox->addItem("[SA] " + tr("Arabic") + " (العربية) ");
|
||||
break;
|
||||
case ptBR:
|
||||
languageBox->addItem("[BR] " + tr("Portuguese") + " (Português) ");
|
||||
//languageBox->addItem("[BR] " + tr("Portuguese") + " (Português) ");
|
||||
break;
|
||||
case zhCN:
|
||||
languageBox->addItem("[CN] " + tr("Chinese") + " (中文) ");
|
||||
//languageBox->addItem("[CN] " + tr("Chinese") + " (中文) ");
|
||||
break;
|
||||
case frFR:
|
||||
languageBox->addItem("[FR] " + tr("French") + " (Français) ");
|
||||
//languageBox->addItem("[FR] " + tr("French") + " (Français) ");
|
||||
break;
|
||||
case miNZ:
|
||||
languageBox->addItem("[NZ] " + tr("Māori") + " (Māori) ");
|
||||
//languageBox->addItem("[NZ] " + tr("Māori") + " (Māori) ");
|
||||
break;
|
||||
case jaJP:
|
||||
languageBox->addItem("[JP] " + tr("Japanese") + " (日本語) ");
|
||||
//languageBox->addItem("[JP] " + tr("Japanese") + " (日本語) ");
|
||||
break;
|
||||
case deDE:
|
||||
languageBox->addItem("[DE] " + tr("German") + " (Deutsch) ");
|
||||
break;*/
|
||||
//languageBox->addItem("[DE] " + tr("German") + " (Deutsch) ");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -162,6 +166,8 @@ public:
|
|||
languageBox->setCurrentRow(ruRU);
|
||||
} else if (currentLocale == "sv_SE") {
|
||||
languageBox->setCurrentRow(svSE);
|
||||
} else if (currentLocale == "lt_LT") {
|
||||
languageBox->setCurrentRow(ltLT);
|
||||
}
|
||||
|
||||
//Unblock signals
|
||||
|
|
|
@ -36,6 +36,15 @@
|
|||
"- New Automatically Show Bar option. The bar will not extend unless it is clicked on if this option is not set.\n"\
|
||||
"- New network manager\n"\
|
||||
"- Printers removed\n"\
|
||||
"- theShell Session Manager is now used to start theShell. If theShell crashes, you'll be able to restart it.\n"\
|
||||
"- Added DPI settings. On high DPI monitors, theShell can be scaled up.\n"\
|
||||
"- Power Stretch now disables the animation in the Status Center\n"\
|
||||
"- Added some accessibility settings.\n"\
|
||||
"- Added option to keep screen unlocked after suspend\n"\
|
||||
"- Changing any theme settings will now automatically change them in all supported applications.\n"\
|
||||
"- New end session screen when pressing power button or CTRL+ALT+DEL\n"\
|
||||
"- User Management now sets passwords correctly\n"\
|
||||
"- Administrator and standard accounts can now be set in user management\n"\
|
||||
"\n"\
|
||||
"New in theShell 6.1:\n"\
|
||||
"- New Status Bar. Go to Settings > Bar to activate it.\n"\
|
||||
|
@ -73,7 +82,7 @@
|
|||
"- theWave now uses theCalculator to process calculations.\n" \
|
||||
"- theShell now uses its own platform abstraction module to theme your system. Change the theming in theShell Settings.\n" \
|
||||
"- theShell now uses the Contemporary theme to display widgets.\n"\
|
||||
"- theShell now displays notifications when it detects a connected device\n" \
|
||||
"- theShell now displays notifications when it detects a connected device\n"\
|
||||
""
|
||||
|
||||
extern NativeEventFilter* NativeFilter;
|
||||
|
@ -254,6 +263,9 @@ void Onboarding::on_localeList_currentRowChanged(int currentRow)
|
|||
case Internationalisation::svSE:
|
||||
settings.setValue("locale/language", "sv_SE");
|
||||
break;
|
||||
case Internationalisation::ltLT:
|
||||
settings.setValue("locale/language", "lt_LT");
|
||||
break;
|
||||
}
|
||||
|
||||
QString localeName = settings.value("locale/language", "en_US").toString();
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue