cvs: phpdoc /hu/functions gettext.xml

From: Date: Sat, 23 Dec 2000 08:22:09 +0000
Subject: cvs: phpdoc /hu/functions gettext.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333360@lists.php.net to get a copy of this message
goba Sat Dec 23 00:22:09 2000 EDT Modified files: /phpdoc/hu/functions gettext.xml Log: New translation... Index: phpdoc/hu/functions/gettext.xml diff -u phpdoc/hu/functions/gettext.xml:1.1 phpdoc/hu/functions/gettext.xml:1.2 --- phpdoc/hu/functions/gettext.xml:1.1 Tue Aug 8 07:48:35 2000 +++ phpdoc/hu/functions/gettext.xml Sat Dec 23 00:22:08 2000 @@ -2,13 +2,23 @@ <title>GNU Gettext</title> <titleabbrev>gettext</titleabbrev> + <partintro> + <simpara> + A gettext függvények az NLS (Native Language Support) + API-t valósítják meg, ami a PHP szkriptek nemzetközivé + tételéhez használható. Lásd még a GNU gettext + dokumentációt egy alaposabb leírásért ezen függvényekkel + kapcsolatban. + </simpara> + </partintro> + <refentry id="function.bindtextdomain"> <refnamediv> <refname>bindtextdomain</refname> - <refpurpose>Sets the path for a domain</refpurpose> + <refpurpose>Beállítja egy domain elérési útját</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>string <function>bindtextdomain</function></funcdef> @@ -17,18 +27,19 @@ </funcprototype> </funcsynopsis> <para> - The <function>bindtextdomain</function> function sets the path - for a domain. + A <function>bindtextdomain</function> függvény beállítja + egy domain elérési útját. </para> </refsect1> </refentry> + <refentry id="function.dcgettext"> <refnamediv> <refname>dcgettext</refname> - <refpurpose>Overrides the domain for a single lookup</refpurpose> + <refpurpose>Felülbírálja a domain-t egy lekérés erejéig</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>string <function>dcgettext</function></funcdef> @@ -38,8 +49,8 @@ </funcprototype> </funcsynopsis> <para> - This function allows you to override the current domain for a - single message lookup. It also allows you to specify a category. + Ez a függvény lehetõséget ad az aktuális domain felülbírálására + egy lekérés erejéig. Egy kategória megadására is módot ad. </para> </refsect1> </refentry> @@ -47,10 +58,10 @@ <refentry id="function.dgettext"> <refnamediv> <refname>dgettext</refname> - <refpurpose>Override the current domain</refpurpose> + <refpurpose>Az aktuális domain felülbírálása</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>string <function>dgettext</function></funcdef> @@ -59,18 +70,19 @@ </funcprototype> </funcsynopsis> <para> - The <function>dgettext</function> function allows you to override - the current domain for a single message lookup. + A <function>dgettext</function> függvény lehetõséget + ad az aktuális domain felülbírálására egy lekérés erejéig. </para> </refsect1> </refentry> + <refentry id="function.gettext"> <refnamediv> <refname>gettext</refname> - <refpurpose>Lookup a message in the current domain</refpurpose> + <refpurpose>Egy üzenet lekérése az aktuális domain-ben</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> <funcdef>string <function>gettext</function></funcdef> @@ -78,51 +90,52 @@ </funcprototype> </funcsynopsis> <para> - This function returns a translated string if one is found in the - translation table, or the submitted message if not found. You may - use an underscore character as an alias to this function. + Ez a függvény visszaadja a lefordított stringet, ha található + ilyen a fordítási táblában. Egyébként az átadott stringet + változtatás adja vissza. Haználhatod az aláhúzás karaktert, + mint e függvény alias-át. </para> <example> - <title><function>Gettext</function>-check</title> + <title><function>Gettext</function> ellenõrzés</title> <programlisting> -&lt;?php -// Set language to German +<![CDATA[ +<?php +// Németre állítjuk a nyelvet putenv ("LANG=de"); -// Specify location of translation tables -bindtextdomain ("myPHPApp", "./locale"); +// A fordítási táblák elérésnek megadása +bindtextdomain ("enPHPAlkalmazasom", "./locale"); -// Choose domain -textdomain ("myPHPApp"); +// Domain kiválasztása +textdomain ("enPHPAlkalmazasom"); -// Print a test message +// Szöveges üzenet kiírása print (gettext ("Welcome to My PHP Application")); ?> +]]> </programlisting> </example> </refsect1> </refentry> + <refentry id="function.textdomain"> <refnamediv> <refname>textdomain</refname> - <refpurpose>Sets the default domain</refpurpose> + <refpurpose>Beállítja az alapértelmezett domain-t</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Leírás</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>textdomain</function></funcdef> - <paramdef>string - <parameter><optional>library</optional></parameter> - </paramdef> + <funcdef>string <function>textdomain</function></funcdef> + <paramdef>string <parameter>text_domain</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - This function sets the domain to search within when calls are - made to <function>gettext</function>, usually the named after an - application. The previous default domain is returned. Call it - with no parameters to get the current setting without changing - it. + Ez a függvény beállítja, hogy melyik domain-ben kell keresni + a <function>gettext</function> hívások esetén. Az elõzõ + beállítást adja vissza. Ha nem adsz át paramétert, az aktuális + beállításokkal tér vissza. </para> </refsect1> </refentry>

« previous php.doc (#969333360) next »