Translate desktop files

This commit is contained in:
TingPing 2014-02-16 00:56:07 -05:00
parent 0d4cde2ba8
commit 12cd5cb64a
6 changed files with 27 additions and 39 deletions

2
.gitignore vendored
View File

@ -40,6 +40,8 @@ po/stamp-*
osx/Info.plist
data/pkgconfig/hexchat-plugin.pc
data/misc/hexchat.appdata.xml
data/misc/hexchat.desktop
data/misc/htm.desktop
src/common/dbus/example
src/common/dbus/org.hexchat.service.service
src/common/dbus/remote-object-glue.h

View File

@ -1,15 +1,19 @@
util_DATA = hexchat.desktop
utildir = $(datadir)/applications
appdata_in_files = hexchat.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdatadir = $(datadir)/appdata
@INTLTOOL_XML_RULE@
data_desktopdir = $(datadir)/applications
data_desktop_in_files = hexchat.desktop.in
if WITH_TM
util_DATA += htm.desktop
data_desktop_in_files += htm.desktop.in
mime_DATA = htm-mime.xml
mimedir = $(datadir)/mime/packages
endif
data_desktop_DATA = $(data_desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
UPDATE_MIME_DATABASE = update-mime-database "$(datadir)/mime" || :
UPDATE_DESKTOP_DATABASE = update-desktop-database -q "$(datadir)/applications" || :
@ -21,7 +25,5 @@ install-data-hook:
uninstall-hook:
$(UPDATE_MIME_DATABASE);
$(UPDATE_DESKTOP_DATABASE);
endif
CLEANFILES = $(appdata_DATA)
CLEANFILES = $(appdata_DATA) $(data_desktop_DATA)

View File

@ -1,31 +0,0 @@
[Desktop Entry]
Name=HexChat
Name[zh_TW]=網路清談
GenericName=IRC Client
GenericName[de]=IRC-Client
GenericName[es]=Aplicación de IRC
GenericName[fi]=IRC-sovellus
GenericName[fr]=Client IRC
GenericName[hu]=IRC-kliens
GenericName[it]=Cliente IRC
GenericName[lt]=IRC klientas
GenericName[nb]=IRC-klient
GenericName[pl]=Klient IRC
GenericName[pt_BR]=Cliente de IRC
GenericName[sl]=Odjemalec IRC
GenericName[sv]=IRC-klient
GenericName[ro]=Client de IRC
GenericName[zh_TW]=HexChat 聊天程式
Comment=Chat with other people using Internet Relay Chat
Comment[fr]=Discutez avec tout le monde sur l'Internet Relay Chat
Comment[de]=Sich über Internet Relay Chat mit andern Leuten unterhalten
Comment[it]=Chiacchierare con la gente sull'Internet Relay Chat
Comment[nb]=Snakk med mennesker på Internet Relay Chat
Exec=hexchat %U
Icon=hexchat
Terminal=false
Type=Application
Categories=GTK;Network;IRCClient;
StartupNotify=true
X-GNOME-UsesNotifications=true
MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;

View File

@ -0,0 +1,13 @@
[Desktop Entry]
_Name=HexChat
_GenericName=IRC Client
_Comment=Chat with other people online
_Keywords=IM;Chat;
Exec=hexchat %U
Icon=hexchat
Terminal=false
Type=Application
Categories=GTK;Network;IRCClient;
StartupNotify=true
X-GNOME-UsesNotifications=true
MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Name=HexChat Theme Manager
_Name=HexChat Theme Manager
Exec=thememan %f
Icon=hexchat
Terminal=false

View File

@ -1,4 +1,6 @@
data/misc/hexchat.appdata.xml.in
data/misc/hexchat.desktop.in
data/misc/htm.desktop.in
src/common/cfgfiles.c
src/common/dcc.c
src/common/hexchat.c