Plugin translation added
This commit is contained in:
parent
5c9f2c37fc
commit
40c3301a29
2 changed files with 31 additions and 1 deletions
|
@ -25,7 +25,7 @@ com.telldus.live = function() {
|
|||
isRegistered = false;
|
||||
if (com.telldus.systray && !menuId) {
|
||||
separatorId = com.telldus.systray.addSeparator();
|
||||
menuId = com.telldus.systray.addMenuItem( "Activate Telldus Live!" );
|
||||
menuId = com.telldus.systray.addMenuItem( qsTr("Activate Telldus Live!") );
|
||||
com.telldus.systray.menuItem(menuId).triggered.connect(socket.activate);
|
||||
}
|
||||
}
|
||||
|
|
30
telldus-gui/Plugins/Live/translation_sv.ts
Normal file
30
telldus-gui/Plugins/Live/translation_sv.ts
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="sv_SE">
|
||||
<context>
|
||||
<name>LiveObject</name>
|
||||
<message>
|
||||
<location filename="LiveObject.cpp" line="68"/>
|
||||
<source>Default browser could not be opened</source>
|
||||
<translation>Standardwebbläsaren kunde inte öppnas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="LiveObject.cpp" line="69"/>
|
||||
<source>We could not open your default internet browser</source>
|
||||
<translation>Vi kunde inte öppna din standardwebbläsare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="LiveObject.cpp" line="70"/>
|
||||
<source>Please copy the following url and enter it in your browser:<br><a href='%1'>%1</a></source>
|
||||
<translation>Kopiera följande URL och klistra in i din webbläsare:<br><a href='%1'>%1</a></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>__init__</name>
|
||||
<message>
|
||||
<location filename="__init__.js" line="28"/>
|
||||
<source>Activate Telldus Live!</source>
|
||||
<translation>Aktivera Telldus Live!</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
Loading…
Add table
Add a link
Reference in a new issue