# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:23+0200\n" "PO-Revision-Date: 2026-06-01 17:58+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "duplocale" msgstr "duplocale" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "duplocale - duplicate a locale object" msgstr "duplocale - نسخ كائن محلي" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Elocale.hE>\n" msgstr "B<#include Elocale.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.10:\n" " _XOPEN_SOURCE E= 700\n" " Before glibc 2.10:\n" " _GNU_SOURCE\n" msgstr "" " منذ glibc 2.10:\n" " _XOPEN_SOURCE E= 700\n" " قبل glibc 2.10:\n" " _GNU_SOURCE\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function creates a duplicate of the locale object " "referred to by I." msgstr "" "الدالة B() تنشئ نسخة من الكائن المحلي المشار إليه بـ I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is B, B() creates a locale object " "containing a copy of the global locale determined by B(3)." msgstr "" "إذا كان I هو B، فإن B() تنشئ كائنًا " "محليًا يحتوي على نسخة من المحلية العامة المحددة بواسطة B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, B() returns a handle for the new locale object. On " "error, it returns I<(locale_t)\\ 0>, and sets I to indicate the error." msgstr "" "عند النجاح، تُرجع B() مقبضًا للكائن المحلي الجديد. عند الخطأ، تُرجع " "I<(locale_t)\\ 0>، وتضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Insufficient memory to create the duplicate locale object." msgstr "ذاكرة غير كافية لإنشاء نسخة الكائن المحلي." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.3." msgstr "glibc 2.3." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Duplicating a locale can serve the following purposes:" msgstr "يمكن أن يخدم نسخ محلية الأغراض التالية:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To create a copy of a locale object in which one of more categories are to " "be modified (using B(3))." msgstr "" "لإنشاء نسخة من كائن محلي سيتم تعديل فئة أو أكثر فيه (باستخدام " "B(3))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To obtain a handle for the current locale which can used in other functions " "that employ a locale handle, such as B(3). This is done by " "applying B() to the value returned by the following call:" msgstr "" "للحصول على مقبض للمحلية الحالية الذي يمكن استخدامه في دوال أخرى تستخدم مقبض " "محلية، مثل B(3). يتم ذلك بتطبيق B() على القيمة المُرجعة " "من الاستدعاء التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "loc = uselocale((locale_t) 0);\n" msgstr "loc = uselocale((locale_t) 0);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This technique is necessary, because the above B(3) call may " "return the value B, which results in undefined behavior if " "passed to functions such as B(3). Calling B() can be " "used to ensure that the B value is converted into a usable " "locale object. See EXAMPLES, below." msgstr "" "هذه التقنية ضرورية، لأن استدعاء B(3) أعلاه قد يُرجع القيمة " "B، مما يؤدي إلى سلوك غير محدد إذا تم تمريره إلى دوال مثل " "B(3). يمكن استخدام استدعاء B() لضمان تحويل قيمة " "B إلى كائن محلي قابل للاستخدام. انظر الأمثلة أدناه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each locale object created by B() should be deallocated using " "B(3)." msgstr "" "يجب تحرير كل كائن محلي تم إنشاؤه بواسطة B() باستخدام " "B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below uses B(3) and B() to obtain a " "handle for the current locale which is then passed to B(3). The " "program takes one command-line argument, a string of characters that is " "converted to uppercase and displayed on standard output. An example of its " "use is the following:" msgstr "" "البرنامج أدناه يستخدم B(3) و B() للحصول على مقبض " "للمحلية الحالية الذي يُمرر بعد ذلك إلى B(3). يأخذ البرنامج وسيطًا " "واحدًا من سطر الأوامر، سلسلة محارف تُحوَّل إلى أحرف كبيرة وتُعرض على المخرجات " "القياسية. مثال على استخدامه هو التالي:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out abc>;\n" "ABC\n" msgstr "" "$B< ./a.out abc>;\n" "ABC\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#define _XOPEN_SOURCE 700\n" "#include Ectype.hE\n" "#include Eerr.hE\n" "#include Elocale.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " locale_t loc, nloc;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* This sequence is necessary, because uselocale() might return\n" " the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" " argument to toupper_l(). */\n" "\\&\n" " loc = uselocale((locale_t) 0);\n" " if (loc == (locale_t) 0)\n" " err(EXIT_FAILURE, \"uselocale\");\n" "\\&\n" " nloc = duplocale(loc);\n" " if (nloc == (locale_t) 0)\n" " err(EXIT_FAILURE, \"duplocale\");\n" "\\&\n" " for (char *p = argv[1]; *p; p++)\n" " putchar(toupper_l(*p, nloc));\n" "\\&\n" " printf(\"\\[rs]n\");\n" "\\&\n" " freelocale(nloc);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _XOPEN_SOURCE 700\n" "#include Ectype.hE\n" "#include Eerr.hE\n" "#include Elocale.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " locale_t loc, nloc;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* This sequence is necessary, because uselocale() might return\n" " the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" " argument to toupper_l(). */\n" "\\&\n" " loc = uselocale((locale_t) 0);\n" " if (loc == (locale_t) 0)\n" " err(EXIT_FAILURE, \"uselocale\");\n" "\\&\n" " nloc = duplocale(loc);\n" " if (nloc == (locale_t) 0)\n" " err(EXIT_FAILURE, \"duplocale\");\n" "\\&\n" " for (char *p = argv[1]; *p; p++)\n" " putchar(toupper_l(*p, nloc));\n" "\\&\n" " printf(\"\\[rs]n\");\n" "\\&\n" " freelocale(nloc);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(3), B(3), B(3), B(3), " "B(5), B(7)" msgstr "" "B(3), B(3), B(3), B(3), " "B(5), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./a.out abc>\n" "ABC\n" msgstr "" "$ B<./a.out abc>\n" "ABC\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#define _XOPEN_SOURCE 700\n" "#include Ectype.hE\n" "#include Elocale.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" " } while (0)\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " locale_t loc, nloc;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* This sequence is necessary, because uselocale() might return\n" " the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" " argument to toupper_l(). */\n" "\\&\n" " loc = uselocale((locale_t) 0);\n" " if (loc == (locale_t) 0)\n" " errExit(\"uselocale\");\n" "\\&\n" " nloc = duplocale(loc);\n" " if (nloc == (locale_t) 0)\n" " errExit(\"duplocale\");\n" "\\&\n" " for (char *p = argv[1]; *p; p++)\n" " putchar(toupper_l(*p, nloc));\n" "\\&\n" " printf(\"\\[rs]n\");\n" "\\&\n" " freelocale(nloc);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _XOPEN_SOURCE 700\n" "#include Ectype.hE\n" "#include Elocale.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" " } while (0)\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " locale_t loc, nloc;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* This sequence is necessary, because uselocale() might return\n" " the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" " argument to toupper_l(). */\n" "\\&\n" " loc = uselocale((locale_t) 0);\n" " if (loc == (locale_t) 0)\n" " errExit(\"uselocale\");\n" "\\&\n" " nloc = duplocale(loc);\n" " if (nloc == (locale_t) 0)\n" " errExit(\"duplocale\");\n" "\\&\n" " for (char *p = argv[1]; *p; p++)\n" " putchar(toupper_l(*p, nloc));\n" "\\&\n" " printf(\"\\[rs]n\");\n" "\\&\n" " freelocale(nloc);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"