Hey, this is an English text. I want you to translate it into the Tunisian dialect.…
- User
Hey, this is an English text. I want you to translate it into the Tunisian dialect. Please follow these steps:
- Translate step by step and highlight differences between Tunisian dialect and Modern Standard Arabic.
- Highlight sections you are confident translating into the Tunisian dialect. Translate this text into the Tunisian dialect, focusing on capturing the essence of the language nuances:
Description: # stb package. package(default_visibility = ["//visibility:private"]) licenses(["notice"]) cc_library( name = "stb_image", srcs = [":stb_image_impl"], hdrs = ["stb_image.h"], copts = select({ "@//xrtl/tools/target_platform:windows": [], "//conditions:default": [ "-Wno-unused-function", ], }), includes = ["."], visibility = ["//visibility:public"], ) genrule( name = "stb_image_impl", outs = ["stb_image.cc"], cmd = "\n".join([ "cat <<'EOF' > @", "#define STB_IMAGE_IMPLEMENTATION", "#include \"stb_image.h\"", "EOF", ]), ) cc_library( name = "stb_image_write", srcs = [":stb_image_write_impl"], hdrs = ["stb_image_write.h"], includes = ["."], visibility = ["//visibility:public"], ) genrule( name = "stb_image_write_impl", outs = ["stb_image_write.cc"], cmd = "\n".join([ "cat <<'EOF' > @", "#define STB_IMAGE_WRITE_IMPLEMENTATION", "#include "stb_image_write.h"", "EOF", ]), ) cc_library( name = "stb_rect_pack", srcs = [":stb_rect_pack_impl"], hdrs = ["stb_rect_pack.h"], includes = ["."], visibility = ["//visibility:public"], ) genrule( name = "stb_rect_pack_impl", outs = ["stb_rect_pack.cc"], cmd = "\n".join([ "cat <<'EOF' > @", "#define STB_RECT_PACK_IMPLEMENTATION", "#include \"stb_rect_pack.h\"", "EOF", ]), ) cc_library( name = "stb_textedit", srcs = [":stb_textedit_impl"], hdrs = ["stb_textedit.h"], includes = ["."], visibility = ["//visibility:public"], deps = [":stb_textedit_hdrs"], ) cc_library( name = "stb_textedit_hdrs", hdrs = ["stb_textedit.h"], includes = ["."], visibility = ["//visibility:public"], ) genrule( name = "stb_textedit_impl", outs = ["stb_textedit.cc"], cmd = "\n".join([ "cat <<'EOF' > @", "#define STB_TRUETYPE_IMPLEMENTATION", "#include "stb_textedit.h"", "EOF", ]), ) cc_library( name = "stb_truetype", srcs = [":stb_truetype_impl"], hdrs = ["stb_truetype.h"], includes = ["."], visibility = ["//visibility:public"], deps = [ ":stb_rect_pack", ], ) genrule( name = "stb_truetype_impl", outs = ["stb_truetype.cc"], cmd = "\n".join([ "cat <<'EOF' > $@", "#include "stb_rect_pack.h"", "#define STB_TRUETYPE_IMPLEMENTATION", "#include "stb_truetype.h"", "EOF", ]), )
- Assistant
Translating this text, which appears to be a configuration script for a programming environment, into the Tunisian dialect involves capturing the essence and nuances of the language. Although technical terminology might not have direct equivalents, the essence can be conveyed using informal Tunisian Arabic expressions, while some programming jargon remains in English.
Let's translate step-by-step:
-
General Introduction:
- Description:
- In Modern Standard Arabic (MSA): "الوصف"
- In Tunisian Dialect: "عنوان" or "وصف مخْتصر"
- Description:
-
Package Definition:
- package(default_visibility = ["//visibility:private"]):
- MSA: "حزمة (الرؤية الافتراضية = ["//الرؤية:خاصة"])"
- Tunisian: "باكيّ خاص"
- package(default_visibility = ["//visibility:private"]):
-
Licenses Directive:
- licenses(["notice"]):
- MSA: "التراخيص(["تنبيه"])"
- Tunisian: "ليسونس(["ملاحظة"])"
- Note: "ليسونس" is a borrowed term from French, commonly used in Tunisian dialect.
- licenses(["notice"]):
-
Library Declaration:
- cc_library( name = "stb_image",...):
- MSA: "مكتبة_سي_سي (اسم = "stb_image", ...)"
- Tunisian: "مكتبة سي سي اسمها "stb_image"
- cc_library( name = "stb_image",...):
-
Source and Headers:
- srcs = [":stb_image_impl"], hdrs = ["stb_image.h"],
- MSA: "المصادر = [":stb_image_impl"], الرؤوس = ["stb_image.h"],"
- Tunisian: "الصّورسات :[stb_image_impl]" و الراس: [stb_image.h]"
- srcs = [":stb_image_impl"], hdrs = ["stb_image.h"],
-
Compiler Options:
- copts = select({...})
- MSA: "خيارات التحويل البرمجي = اختار({...})"
- Tunisian: "الخيارات البرمجية= اختار({...})"
- copts = select({...})
-
Includes and Visibility:
- includes = ["."], visibility = ["//visibility:public"],
- MSA: "تشمل = ["."], الرؤية = ["//الرؤية:عامة"],"
- Tunisian: "تشمل ["."], الرؤية عامة"
- includes = ["."], visibility = ["//visibility:public"],
-
Genrule Definition:
- genrule( name = "stb_image_impl",...):
- MSA: "قاعدة_توليد (اسم = "stb_image_impl", ...)"
- Tunisian: "رول جينيراشيون اسمها "stb_image_impl"
- genrule( name = "stb_image_impl",...):
-
Command Construction:
- cmd = "\n".join([...]),
- MSA: "أمر = "\n".انضم([...]),"
- Tunisian: "كوموند = "\n".يجمع([...])"
- cmd = "\n".join([...]),
-
Implementation Instructions:
-
"#define STB_IMAGE_IMPLEMENTATION",
- MSA: "#تعريف STB_IMAGE_IMPLEMENTATION",
- Tunisian (technical terms may remain unchanged): "#define STB_IMAGE_IMPLEMENTATION"
-
"#include "stb_image.h"",
- MSA: "#تضمين "stb_image.h"",
- Tunisian: Technical term remains "#include "stb_image.h""
- Other Libraries and Genrules:
- Follow similar patterns adjusting language nuances, such as using familiar loanwords and informal expressions in Tunisian dialect while keeping technical terms in English where no appropriate equivalent exists.
Sections I'm Confident Translating into Tunisian Dialect:
This technical text contains many elements that don’t have straightforward Tunisian equivalents, particularly technical and programming-related terms. However, I am confident in translating structure-related lexicon and expressions related to visibility management, package definitions, and general instructions into the Tunisian nuances, bearing in mind the Tunisian propensity to mix languages, especially with technical vocabulary.
-