1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00

Newer versions of xgettext(1) do not translate desktop Icon values

This commit is contained in:
John Zaitseff 2021-01-07 18:57:51 +11:00
parent b725ba871c
commit 528cdd4619
2 changed files with 19 additions and 5 deletions

View File

@ -9,7 +9,7 @@
# $Id$
# This file provides a translated desktop entry for Star Traders and
# conforms to the Desktop Entry Specification v1.1.
# conforms to the Desktop Entry Specification v1.5.
#
# This file is distributed under the same licence as Star Traders itself:
# the GNU General Public License, version 3 or later.
@ -24,10 +24,6 @@ Comment=Play Star Traders, a simple game of interstellar trading
# TRANSLATORS: A list of keywords describing Star Traders. By all means
# add your own keywords!
Keywords=game;interstellar;trading;strategy;
# TRANSLATORS: This string is the name of the icon to use. The Desktop
# Entry Specification states it is translatable, but unless you provide a
# matching icon, please leave it as "trader": this will use trader.svg
# and the various trader.png files in the data source code directory.
Icon=trader
Exec=trader
TryExec=trader

View File

@ -33,6 +33,24 @@
*/
/************************************************************************
* From data/trader.desktop.in *
************************************************************************/
const char *trader_desktop_strings[] = {
/* TRANSLATORS: Older versions of the GNU Gettext library utilities
treat the Icon value in data/trader.desktop.in as a translatable
string. That string, the name of the icon to use, is defined here
for those older versions of xgettext(1). Unless you provide a
matching icon, please leave it as "trader": this will use
trader.svg and the various trader.png files in the data source
code directory. */
N_("trader"),
""
};
/************************************************************************
* From GNU C Library posix/getopt.c *
************************************************************************/