docs/99829: [patch] adding zh_TW translation of "Desktop Entries" to porters' handbook
Cheng-Lung Sung
clsung at FreeBSD.org
Thu Jul 6 03:00:34 UTC 2006
>Number: 99829
>Category: docs
>Synopsis: [patch] adding zh_TW translation of "Desktop Entries" to porters' handbook
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 06 03:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006 root at FreeBSD.csie.nctu.edu.tw:/home/usr.obj/usr/src/sys/FREEBSD i386
>Description:
- "Desktop entries" subsection does not appear in zh_TW trans. of porters' handbook
- add it (translated)
>How-To-Repeat:
>Fix:
Index: book.sgml
===================================================================
RCS file: /home/dcvs/doc/zh_TW.Big5/books/porters-handbook/book.sgml,v
retrieving revision 1.4
diff -u -r1.4 book.sgml
--- book.sgml 17 Jun 2006 10:22:46 -0000 1.4
+++ book.sgml 6 Jul 2006 02:41:52 -0000
@@ -4838,6 +4823,33 @@
</sect2>
+ <sect2 id="desktop-entries">
+ <title>Desktop entries</title>
+
+ <para>Desktop Entries (<ulink
+ url="http://standards.freedesktop.org/desktop-entry-spec/latest/">Freedesktop
+ standard</ulink>) å¯ä»¥ç¶ç±è¨å® <makevar>DESKTOP_ENTRIES</makevar>
+ è®æ¸èè¼æå°å»ºç«å¨ä½ ç port ä¹ä¸ãéäºé
ç®æå¨ç¸æçæ¡é¢ç°å¢å¦ GNOME æ
+ KDE çæç¨ç¨å¼é¸å®ä¸åºç¾ãæªæ¡ <filename>.desktop</filename>
+ å°æ被建ç«ãå®è£ä»¥åèªåå°å å
¥ <filename>pkg-plist</filename>
+ ä¸ãèªæ³çºï¼</para>
+
+ <programlisting>DESKTOP_ENTRIES= "NAME" "COMMENT" "ICON" "COMMAND" "CATEGORY" StartupNotify</programlisting>
+
+ <para>é
ç®åé¡å¯åè <ulink
+ url="http://standards.freedesktop.org/menu-spec/latest/apa.html">
+ Freedesktop website</ulink>ã è®æ¸ <makevar>StartupNotify</makevar>
+ 決å®æç¨ç¨å¼å¨æ¯æ´ startup noficication çç°å¢ä¸æ¯å¦æ¸
é¤çæ
ã</para>
+
+ <para>ç¯ä¾ï¼</para>
+
+ <programlisting>DESKTOP_ENTRIES= "ToME" "Roguelike game based on JRR Tolkien's work" \
+ "${DATADIR}/xtra/graf/tome-128.png" \
+ "tome -v -g" "Application;Game;RolePlaying" \
+ false</programlisting>
+
+ </sect2>
+
</sect1>
<sect1 id="using-gnome">
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list