diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-10 19:36:56 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-10 19:36:56 +0200 |
commit | 9b590e20fbdaf50639f84010c1127889b2f8b24b (patch) | |
tree | 1b923fc7f67cea8bb60a7123c07e9425f70aac25 /src | |
parent | 3b62b58ca4a0eed5bc9cee1fdf83eb074aba1322 (diff) | |
download | wlassistant-9b590e20fbdaf50639f84010c1127889b2f8b24b.tar.gz wlassistant-9b590e20fbdaf50639f84010c1127889b2f8b24b.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/wlassistant.desktop | 51 |
3 files changed, 10 insertions, 48 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 8f70a71..5b95ca5 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/wlassistant" ) + +tde_l10n_create_template( + CATALOG "desktop_files/wlassistant.desktop/" + SOURCES wlassistant.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c730d31..c9be950 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( ##### other data ################################ -install( FILES wlassistant.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( wlassistant.desktop ) ##### wlassistant(executable) ################### diff --git a/src/wlassistant.desktop b/src/wlassistant.desktop index 3767f06..e0ddaf9 100644 --- a/src/wlassistant.desktop +++ b/src/wlassistant.desktop @@ -1,55 +1,12 @@ [Desktop Entry] Encoding=UTF-8 -Name=Wireless Assistant -Comment[pl]=Program do obsługi sieci bezprzewodowych -Comment[es]=Aplicación para buscar redes inalámbricas Exec=ksystraycmd tdesu wlassistant Icon=wlassistant Type=Application Categories=Qt;TDE;Network; -Name[de]=Funknetzassistent +Name=Wireless Assistant + +Comment=Wireless network management program + GenericName=Wireless LAN Manager -GenericName[ar]=إدارة الشبكة المحلية اللاسلكية -GenericName[bg]=Безжична мрежа -GenericName[br]=Merour ar rouedad hep neud -GenericName[bs]=Upravitelj bežčnim LANom -GenericName[ca]=Gestor LAN sense fils -GenericName[cs]=Správce bezdrátové LAN -GenericName[cy]=Rheolydd LAN Di-Wifr -GenericName[da]=Håndtering af trådløst netværk -GenericName[de]=Verwaltung für drahtlose LAN-Verbindungen -GenericName[el]=Διαχειριστής ασύρματου LAN -GenericName[es]=Gestor de red inalámbrica -GenericName[et]=Traadita võrgu haldur -GenericName[eu]=Kablerik gabeko LAN kudeatzailea -GenericName[fi]=Langattoman lähiverkon hallinta -GenericName[fr]=Gestionnaire de réseau sans fil -GenericName[ga]=Bainisteoir Ghréasáin gan sreang -GenericName[hi]= बतार लन मनजर -GenericName[hr]=Upravitelj bežičnog LAN-a -GenericName[hu]=WiFi-kezelő -GenericName[is]=Fylgist með staðarneti -GenericName[it]=Gestione LAN senza fili -GenericName[ja]=ワイヤレスLANマネージャ -GenericName[lt]=Bevielio ryšio kontrolės centras -GenericName[mk]=Менаџер на безжичната локална мрежа -GenericName[nb]=Trådløst nettverksbehandler -GenericName[nl]=Draadloos netwerkbeheer -GenericName[nn]=Handsamar for trådlaust nettverk -GenericName[pl]=Nadzorca sieci bezprzewodowej -GenericName[pt]=Gestor de Rede Sem Fios -GenericName[pt_BR]=Gerenciador de Wireless na LAN -GenericName[ru]=Менеджер локальной радиосети -GenericName[sk]=Správca bezdrôtovej siete LAN -GenericName[sl]=Upravljalec brezžičnega LAN-a -GenericName[sr]=Управник бежичног LAN-а -GenericName[sr@Latn]=Upravnik bežičnog LAN-a -GenericName[sv]=Trådlöst nätverkshantering -GenericName[ta]=கமபியிலலா LAN மேளாளர -GenericName[tg]=Мудири Беноқили Шабакаи Маҳаллӣ -GenericName[tr]=Kablosuz Yerel Ağ Yöneticisi -GenericName[uk]=Менеджер локальної радіомережі -GenericName[uz]=Симсиз тармоқ бошқарувчиси -GenericName[xx]=xxWireless LAN Managerxx -GenericName[zh_CN]=无线局域网管理器 |