mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Added translation for plugins and added german language to LinksCloud. Recompile needed.
Changed the name and the description of the plugin to utf8. Fixed german language. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4d9727f47a
commit
8fc1a46ee7
19 changed files with 411 additions and 346 deletions
|
@ -308,7 +308,7 @@ Rshare::setLanguage(QString languageCode)
|
|||
if (languageCode.isEmpty()) {
|
||||
languageCode = Settings->getLanguageCode();
|
||||
}
|
||||
/* Translate into the desired langauge */
|
||||
/* Translate into the desired language */
|
||||
if (LanguageSupport::translate(languageCode)) {
|
||||
_language = languageCode;
|
||||
return true;
|
||||
|
@ -345,7 +345,6 @@ Rshare::setSheet(QString sheet)
|
|||
/* Apply the specified GUI stylesheet */
|
||||
_stylesheet = sheet;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
void Rshare::resetLanguageAndStyle()
|
||||
|
@ -360,6 +359,12 @@ void Rshare::resetLanguageAndStyle()
|
|||
setSheet(_args.value(ARG_GUISTYLESHEET));
|
||||
}
|
||||
|
||||
/** Initialize plugins. */
|
||||
void Rshare::initPlugins()
|
||||
{
|
||||
LanguageSupport::translatePlugins(_language);
|
||||
}
|
||||
|
||||
/** Returns the directory RetroShare uses for its data files. */
|
||||
QString
|
||||
Rshare::dataDirectory()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue