This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
160 changed files
with
6,146 additions
and
2,708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
buildroot/output/ | ||
buildroot/dl/ | ||
output/ | ||
*.qm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
buildroot/package/arora/arora-add-language-cmdline-option.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- arora-master.orig/src/browserapplication.cpp | ||
+++ arora-master/src/browserapplication.cpp | ||
@@ -164,6 +164,19 @@ BrowserApplication::BrowserApplication(i | ||
QTimer::singleShot(0, this, SLOT(postLaunch())); | ||
#endif | ||
languageManager(); | ||
+ | ||
+ for (int i=1; i<argc; i++) | ||
+ { | ||
+ if (strcmp(argv[i], "-lang") == 0) | ||
+ { | ||
+ if (argc > i+1) | ||
+ { | ||
+ char* defaultLang = argv[++i]; | ||
+ if (s_languageManager) | ||
+ s_languageManager->setCurrentLanguage(strcmp(defaultLang, "en")!=0?QString::fromLocal8Bit(defaultLang):QString()); | ||
+ } | ||
+ } | ||
+ } | ||
} | ||
|
||
BrowserApplication::~BrowserApplication() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- arora-master.orig/src/utils/languagemanager.cpp | ||
+++ arora-master/src/utils/languagemanager.cpp | ||
@@ -125,7 +125,7 @@ QString LanguageManager::convertStringTo | ||
foreach (const QString &language, m_languages) { | ||
QString country = QLocale(language).name().split(QLatin1Char('_')).value(0); | ||
if (country == fallback) | ||
- return country; | ||
+ return language; | ||
} | ||
|
||
return QString(); | ||
@@ -246,7 +246,7 @@ void LanguageManager::chooseNewLanguage() | ||
|
||
QStringList items; | ||
int defaultItem = -1; | ||
- QString current = currentLanguage(); | ||
+ QString current = convertStringToLanguageFile(currentLanguage()); | ||
foreach (const QString &name, m_languages) { | ||
QLocale locale(name); | ||
QString string = QString(QLatin1String("%1, %2 (%3) %4")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
buildroot/package/parted/increase_max_dos_partitions.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -urN parted-2.3.orig/libparted/labels/dos.c parted-2.3/libparted/labels/dos.c | ||
--- parted-2.3.orig/libparted/labels/dos.c 2010-05-25 14:42:21.000000000 +0100 | ||
+++ parted-2.3/libparted/labels/dos.c 2013-09-06 11:07:46.421786138 +0100 | ||
@@ -103,7 +103,7 @@ | ||
* (i.e. 1022 is sometimes used to indicate "use LBA"). | ||
*/ | ||
#define MAX_CHS_CYLINDER 1021 | ||
-#define MAX_TOTAL_PART 16 | ||
+#define MAX_TOTAL_PART 64 | ||
|
||
typedef struct _DosRawPartition DosRawPartition; | ||
typedef struct _DosRawTable DosRawTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# Automatically update the translation files on every commit | ||
# | ||
# To enable this commit hook, run the following commands in the project root: | ||
# chmod +x pre-commit-translation-update-hook.sh | ||
# cp pre-commit-translation-update-hook.sh .git/hooks/pre-commit | ||
|
||
cd "$(git rev-parse --show-toplevel)" | ||
lupdate -no-obsolete recovery/recovery.pro | ||
git add recovery/*.ts |
Oops, something went wrong.