mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Added Brazilian Portuguese translation.
- thanks to Alexandre Carvalho
This commit is contained in:
parent
48112e0576
commit
f82eda3bae
2
AUTHORS
2
AUTHORS
@ -16,7 +16,6 @@ Translators:
|
|||||||
Jonathan Hooverman <jonathan.hooverman@gmail.com> (German)
|
Jonathan Hooverman <jonathan.hooverman@gmail.com> (German)
|
||||||
Heimen Stoffels <vistausss@gmail.com> (Dutch)
|
Heimen Stoffels <vistausss@gmail.com> (Dutch)
|
||||||
Peter Vacula <pvacula1989@gmail.com> (Slovak)
|
Peter Vacula <pvacula1989@gmail.com> (Slovak)
|
||||||
Ján Ďanovský <dagsoftware@yahoo.com> (Slovak)
|
|
||||||
Unink-Lio <unink4451@163.com> (Chinese)
|
Unink-Lio <unink4451@163.com> (Chinese)
|
||||||
Federico Fabiani <federico.fabiani85@gmail.com> (Italian)
|
Federico Fabiani <federico.fabiani85@gmail.com> (Italian)
|
||||||
Francesco Marinucci <framarinucci@gmail.com> (Italian)
|
Francesco Marinucci <framarinucci@gmail.com> (Italian)
|
||||||
@ -29,6 +28,7 @@ Vasilis Tsivikis <vasitsiv.dev@gmail.com> (Greek)
|
|||||||
Rustam Salakhutdinov <salahutd@gmail.com> (Russian)
|
Rustam Salakhutdinov <salahutd@gmail.com> (Russian)
|
||||||
Oleg Brezhnev <oleg-423@yandex.ru> (Russian)
|
Oleg Brezhnev <oleg-423@yandex.ru> (Russian)
|
||||||
Sérgio Marques <smarquespt@gmail.com> (Portuguese)
|
Sérgio Marques <smarquespt@gmail.com> (Portuguese)
|
||||||
|
Alexandre Carvalho <alexandre05@live.com> (Brazilian Portuguese)
|
||||||
Mladen Pejaković <pejakm@gmail.com> (Serbian)
|
Mladen Pejaković <pejakm@gmail.com> (Serbian)
|
||||||
Wu Cheng-Hong <stu2731652@gmail.com> (Traditional Chinese)
|
Wu Cheng-Hong <stu2731652@gmail.com> (Traditional Chinese)
|
||||||
|
|
||||||
|
@ -185,10 +185,10 @@ QString QupZillaSchemeReply::aboutPage()
|
|||||||
|
|
||||||
aPage.replace("%VERSION-INFO%",
|
aPage.replace("%VERSION-INFO%",
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Version"), QupZilla::VERSION
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Version"), QupZilla::VERSION
|
||||||
#ifdef GIT_REVISION
|
#ifdef GIT_REVISION
|
||||||
+ " (" + GIT_REVISION + ")"
|
+ " (" + GIT_REVISION + ")"
|
||||||
#endif
|
#endif
|
||||||
) +
|
) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("WebKit version"), QupZilla::WEBKITVERSION));
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("WebKit version"), QupZilla::WEBKITVERSION));
|
||||||
aPage.replace("%MAIN-DEVELOPER%", tr("Main developer"));
|
aPage.replace("%MAIN-DEVELOPER%", tr("Main developer"));
|
||||||
aPage.replace("%MAIN-DEVELOPER-TEXT%", authorString(QupZilla::AUTHOR.toUtf8(), "nowrep@gmail.com"));
|
aPage.replace("%MAIN-DEVELOPER-TEXT%", authorString(QupZilla::AUTHOR.toUtf8(), "nowrep@gmail.com"));
|
||||||
@ -199,7 +199,7 @@ QString QupZillaSchemeReply::aboutPage()
|
|||||||
authorString("Mariusz Fik", "fisiu@opensuse.org") + "<br/>" +
|
authorString("Mariusz Fik", "fisiu@opensuse.org") + "<br/>" +
|
||||||
authorString("Jan Rajnoha", "honza.rajny@hotmail.com") + "<br/>" +
|
authorString("Jan Rajnoha", "honza.rajny@hotmail.com") + "<br/>" +
|
||||||
authorString("Daniele Cocca", "jmc@chakra-project.org")
|
authorString("Daniele Cocca", "jmc@chakra-project.org")
|
||||||
);
|
);
|
||||||
aPage.replace("%TRANSLATORS%", tr("Translators"));
|
aPage.replace("%TRANSLATORS%", tr("Translators"));
|
||||||
aPage.replace("%TRANSLATORS-TEXT%",
|
aPage.replace("%TRANSLATORS-TEXT%",
|
||||||
authorString("Heimen Stoffels", "vistausss@gmail.com") + " (Dutch)<br/>" +
|
authorString("Heimen Stoffels", "vistausss@gmail.com") + " (Dutch)<br/>" +
|
||||||
@ -217,10 +217,11 @@ QString QupZillaSchemeReply::aboutPage()
|
|||||||
authorString("Rustam Salakhutdinov", "salahutd@gmail.com") + " (Russian)<br/>" +
|
authorString("Rustam Salakhutdinov", "salahutd@gmail.com") + " (Russian)<br/>" +
|
||||||
authorString("Oleg Brezhnev", "oleg-423@yandex.ru") + " (Russian)<br/>" +
|
authorString("Oleg Brezhnev", "oleg-423@yandex.ru") + " (Russian)<br/>" +
|
||||||
authorString("Sérgio Marques", "smarquespt@gmail.com") + " (Portuguese)<br/>" +
|
authorString("Sérgio Marques", "smarquespt@gmail.com") + " (Portuguese)<br/>" +
|
||||||
|
authorString("Alexandre Carvalho", "alexandre05@live.com") + " (Brazilian Portuguese)<br/>" +
|
||||||
authorString("Mladen Pejaković", "pejakm@gmail.com") + " (Serbian)<br/>" +
|
authorString("Mladen Pejaković", "pejakm@gmail.com") + " (Serbian)<br/>" +
|
||||||
authorString("Unink-Lio", "unink4451@163.com") + " (Chinese)<br/>" +
|
authorString("Unink-Lio", "unink4451@163.com") + " (Chinese)<br/>" +
|
||||||
authorString("Wu Cheng-Hong", "stu2731652@gmail.com") + " (Traditional Chinese)"
|
authorString("Wu Cheng-Hong", "stu2731652@gmail.com") + " (Traditional Chinese)"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return aPage;
|
return aPage;
|
||||||
@ -274,6 +275,7 @@ QString QupZillaSchemeReply::speeddialPage()
|
|||||||
page.replace("%B_SIZE%", dial->backgroundImageSize());
|
page.replace("%B_SIZE%", dial->backgroundImageSize());
|
||||||
page.replace("%ROW-PAGES%", QString::number(dial->pagesInRow()));
|
page.replace("%ROW-PAGES%", QString::number(dial->pagesInRow()));
|
||||||
page.replace("%SD-SIZE%", QString::number(dial->sdSize()));
|
page.replace("%SD-SIZE%", QString::number(dial->sdSize()));
|
||||||
|
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -312,76 +314,77 @@ QString QupZillaSchemeReply::configPage()
|
|||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Themes"), mApp->THEMESDIR) +
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Themes"), mApp->THEMESDIR) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Translations"), mApp->TRANSLATIONSDIR));
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Translations"), mApp->TRANSLATIONSDIR));
|
||||||
|
|
||||||
cPage.replace("%USER-AGENT%", mApp->getWindow()->weView()->webPage()->userAgentForUrl(QUrl()));
|
|
||||||
|
|
||||||
|
|
||||||
cPage.replace("%VERSION-INFO%",
|
cPage.replace("%VERSION-INFO%",
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Application version"), QupZilla::VERSION
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Application version"), QupZilla::VERSION
|
||||||
#ifdef GIT_REVISION
|
#ifdef GIT_REVISION
|
||||||
+ " (" + GIT_REVISION + ")"
|
+ " (" + GIT_REVISION + ")"
|
||||||
#endif
|
#endif
|
||||||
) +
|
) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), QT_VERSION_STR) +
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), QT_VERSION_STR) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("WebKit version"), QupZilla::WEBKITVERSION) +
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("WebKit version"), QupZilla::WEBKITVERSION) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Build time"), QupZilla::BUILDTIME) +
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Build time"), QupZilla::BUILDTIME) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), qz_buildSystem()));
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), qz_buildSystem()));
|
||||||
|
}
|
||||||
|
|
||||||
QString pluginsString;
|
QString page = cPage;
|
||||||
const QList<Plugins::Plugin> &availablePlugins = mApp->plugins()->getAvailablePlugins();
|
page.replace("%USER-AGENT%", mApp->getWindow()->weView()->webPage()->userAgentForUrl(QUrl()));
|
||||||
|
|
||||||
foreach(const Plugins::Plugin & plugin, availablePlugins) {
|
QString pluginsString;
|
||||||
PluginSpec spec = plugin.pluginSpec;
|
const QList<Plugins::Plugin> &availablePlugins = mApp->plugins()->getAvailablePlugins();
|
||||||
pluginsString.append(QString("<tr><td>%1</td><td>%2</td><td>%3</td><td>%4</td></tr>").arg(
|
|
||||||
spec.name, spec.version, Qt::escape(spec.author), spec.description));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pluginsString.isEmpty()) {
|
foreach(const Plugins::Plugin & plugin, availablePlugins) {
|
||||||
pluginsString = QString("<tr><td colspan=4 class=\"no-available-plugins\">%1</td></tr>").arg(tr("No available plugins."));
|
PluginSpec spec = plugin.pluginSpec;
|
||||||
}
|
pluginsString.append(QString("<tr><td>%1</td><td>%2</td><td>%3</td><td>%4</td></tr>").arg(
|
||||||
|
spec.name, spec.version, Qt::escape(spec.author), spec.description));
|
||||||
|
}
|
||||||
|
|
||||||
cPage.replace("%PLUGINS-INFO%", pluginsString);
|
if (pluginsString.isEmpty()) {
|
||||||
|
pluginsString = QString("<tr><td colspan=4 class=\"no-available-plugins\">%1</td></tr>").arg(tr("No available plugins."));
|
||||||
|
}
|
||||||
|
|
||||||
QString allGroupsString;
|
page.replace("%PLUGINS-INFO%", pluginsString);
|
||||||
QSettings* settings = Settings::globalSettings();
|
|
||||||
foreach(const QString & group, settings->childGroups()) {
|
|
||||||
QString groupString = QString("<tr><th colspan=\"2\">%1</th></tr>").arg(group);
|
|
||||||
settings->beginGroup(group);
|
|
||||||
|
|
||||||
foreach(const QString & key, settings->childKeys()) {
|
QString allGroupsString;
|
||||||
const QVariant &keyValue = settings->value(key);
|
QSettings* settings = Settings::globalSettings();
|
||||||
QString keyString;
|
foreach(const QString & group, settings->childGroups()) {
|
||||||
|
QString groupString = QString("<tr><th colspan=\"2\">%1</th></tr>").arg(group);
|
||||||
|
settings->beginGroup(group);
|
||||||
|
|
||||||
switch (keyValue.type()) {
|
foreach(const QString & key, settings->childKeys()) {
|
||||||
case QVariant::ByteArray:
|
const QVariant &keyValue = settings->value(key);
|
||||||
keyString = "QByteArray";
|
QString keyString;
|
||||||
break;
|
|
||||||
|
|
||||||
case QVariant::Point: {
|
switch (keyValue.type()) {
|
||||||
const QPoint point = keyValue.toPoint();
|
case QVariant::ByteArray:
|
||||||
keyString = QString("QPoint(%1, %2)").arg(QString::number(point.x()), QString::number(point.y()));
|
keyString = "QByteArray";
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
case QVariant::StringList:
|
case QVariant::Point: {
|
||||||
keyString = keyValue.toStringList().join(",");
|
const QPoint point = keyValue.toPoint();
|
||||||
break;
|
keyString = QString("QPoint(%1, %2)").arg(QString::number(point.x()), QString::number(point.y()));
|
||||||
|
break;
|
||||||
default:
|
|
||||||
keyString = keyValue.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (keyString.isEmpty()) {
|
|
||||||
keyString = "\"empty\"";
|
|
||||||
}
|
|
||||||
|
|
||||||
groupString.append(QString("<tr><td>%1</td><td>%2</td></tr>").arg(key, Qt::escape(keyString)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settings->endGroup();
|
case QVariant::StringList:
|
||||||
allGroupsString.append(groupString);
|
keyString = keyValue.toStringList().join(",");
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
keyString = keyValue.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (keyString.isEmpty()) {
|
||||||
|
keyString = "\"empty\"";
|
||||||
|
}
|
||||||
|
|
||||||
|
groupString.append(QString("<tr><td>%1</td><td>%2</td></tr>").arg(key, Qt::escape(keyString)));
|
||||||
}
|
}
|
||||||
|
|
||||||
cPage.replace("%PREFS-INFO%", allGroupsString);
|
settings->endGroup();
|
||||||
|
allGroupsString.append(groupString);
|
||||||
}
|
}
|
||||||
return cPage;
|
|
||||||
|
page.replace("%PREFS-INFO%", allGroupsString);
|
||||||
|
|
||||||
|
return page;
|
||||||
}
|
}
|
||||||
|
@ -85,24 +85,24 @@ void AboutDialog::showAuthors()
|
|||||||
"Daniele Cocca")
|
"Daniele Cocca")
|
||||||
));
|
));
|
||||||
m_authorsHtml.append(tr("<p><b>Translators:</b><br/>%1</p>").arg(
|
m_authorsHtml.append(tr("<p><b>Translators:</b><br/>%1</p>").arg(
|
||||||
QString::fromUtf8("Heimen Stoffels (Dutch)<br/>"
|
QString::fromUtf8("Heimen Stoffels<br/>"
|
||||||
"Peter Vacula (Slovakia)<br/>"
|
"Peter Vacula<br/>"
|
||||||
"Ján Ďanovský (Slovakia)<br/>"
|
"Jonathan Hooverman<br/>"
|
||||||
"Jonathan Hooverman (German)<br/>"
|
"Federico Fabiani<br/>"
|
||||||
"Federico Fabiani (Italian)<br/>"
|
"Francesco Marinucci<br/>"
|
||||||
"Francesco Marinucci (Italian)<br/>"
|
"Jorge Sevilla<br/>"
|
||||||
"Jorge Sevilla (Spanish)<br/>"
|
"Michał Szymanowski<br/>"
|
||||||
"Michał Szymanowski (Polish)<br/>"
|
"Mariusz Fik<br/>"
|
||||||
"Mariusz Fik (Polish)<br/>"
|
"Jérôme Giry<br/>"
|
||||||
"Jérôme Giry (French)<br/>"
|
"Nicolas Ourceau<br/>"
|
||||||
"Nicolas Ourceau (French)<br/>"
|
"Vasilis Tsivikis<br/>"
|
||||||
"Vasilis Tsivikis (Greek)<br/>"
|
"Rustam Salakhutdinov<br/>"
|
||||||
"Rustam Salakhutdinov (Russian)<br/>"
|
"Oleg Brezhnev<br/>"
|
||||||
"Oleg Brezhnev (Russian)<br/>"
|
"Sérgio Marques<br/>"
|
||||||
"Sérgio Marques (Portuguese)<br/>"
|
"Alexandre Carvalho<br/>"
|
||||||
"Mladen Pejaković (Serbian)<br/>"
|
"Mladen Pejaković<br/>"
|
||||||
"Unink-Lio (Chinese)<br/>"
|
"Unink-Lio<br/>"
|
||||||
"Wu Cheng-Hong (Trad. Chinese)")
|
"Wu Cheng-Hong")
|
||||||
));
|
));
|
||||||
m_authorsHtml.append("</div>");
|
m_authorsHtml.append("</div>");
|
||||||
}
|
}
|
||||||
|
3866
translations/pt_BR.ts
Normal file
3866
translations/pt_BR.ts
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user