From b0e363e2a7187c7c1e4327a945a080b99643133c Mon Sep 17 00:00:00 2001 From: sekoxw <52935171+sekoxw@users.noreply.github.com> Date: Thu, 22 Sep 2022 00:12:25 +0200 Subject: [PATCH 1/2] messages-locale.properties --- .../localization/messages-ar.properties | 90 +++++++++++++++++++ .../localization/messages.properties | 83 ----------------- 2 files changed, 90 insertions(+), 83 deletions(-) create mode 100644 src/main/resources/localization/messages-ar.properties delete mode 100644 src/main/resources/localization/messages.properties diff --git a/src/main/resources/localization/messages-ar.properties b/src/main/resources/localization/messages-ar.properties new file mode 100644 index 00000000..322537b4 --- /dev/null +++ b/src/main/resources/localization/messages-ar.properties @@ -0,0 +1,90 @@ +# These are the default messages, written in English (US) +# Translated by: jagrosh (jagrosh#4824) +# Edits by: +error.permissions.user = يجب ان يكون لديك صلاحية Manage Server لاستخدام هذا الامر! +error.permissions.perms_or_role = يجب أن يكون لديك صلايحة Manage Server + أو رتبة {0} لاستخدام هذا الامر! +error.permissions.perms_no_role = يجب أن يكون لديك صلاحية Manage Server +لاستخدام هذا الأمر! ان لم يتم تعيين الرتبة. يمكن للمسؤول تعيين هذا مع `{0}` +error.permissions.bot = افتقد الصلاحيات التالية في هذه القناة: `Read Messages`, `Send Messages`, `Read Message History`, `Embed Links`. أصلح الصلاحيات في هذه القناة, أو أعد إضافة البوت من [هنا]({0}). +error.invalid_time.format = لم أستطع تحويل `{0}` الى مدة صالحة من الوقت! +error.invalid_time.min = المدة التي قدمتها ({0}) كان أقصر من الحد الأدنى للمدة ({1})! +error.invalid_time.max = المدة التي قدمتها ({0}) كان أطول من الحد الأقصى للمدة ({1})! +error.max_giveaways.guild = هنالك بالفعل {0} هبات قيد التشغيل في هذا السيرفر! +error.max_giveaways.channel = هناك بالفعل {0} هبات قيد التشغيل في هذه القناة! +error.invalid_winners.format = لم أستطع التحويل `{0}` لعدد صحيح من الفائزين! +error.invalid_winners.max = عدد الفائزين الذي قدمته ({0}) لم يكن بين 1 و {1}! +error.invalid_prize.length = لا يمكن أن يكون طول الجائزة أكبر من {0}! +error.invalid_descr.length = لا يمكن أن يكون طول الوصف أكبر من {0}! +error.invalid_emoji.length = لا يمكن أن يكون نص الزر المخصص أطول من {0}! +error.invalid_emoji.choice = تتوفر أزرار الهبات المخصصة بالكامل فقط مع ميزة البريميوم. يمكن للمستخدمين الذين ليس لديهم ميزة بريميوم استخدام أي من الرموز التعبيرية التالية: {0} +error.invalid_id = لم أستطع تحويل `{0}` إلى معرف الرسالة! +error.message_not_found = لم أتمكن من العثور على رسالة بالمعرف `{0}` في هذه القناة! +error.invalid_message = هذه الرسالة ليست رسالة هبة مكتملة! +error.giveaway_not_found = لم أتمكن من العثور على هبة بهذا المعرف `{0}`! +error.giveaway_already_entered = لقد شاركت بالفعل في هذه الهبة! +error.giveaway_not_entered = أنت لم تشارك في هذه الهبة! +error.no_dms = لا يمكن استخدام هذا البوت في الرسائل الخاصّة! +error.giveaway_cooldown = إنشاء الهبة حاليًا في فترة الانتظار في هذا الخادم! +error.giveaway_ended = لا يمكنك المشاركة أو الخروج من هذه الهبة لأنها انتهت بالفعل! +error.invalid_color = لم أستطع التحويل `{0}` إلى لون صالح! +error.reroll_message_option = يمكن أيضًا إعادة توزيع الهدايا مباشرة على رسالة الهبة الأصلية عبر النقر بزر الماوس الأيمن (سطح المكتب) / الضغط لفترة طويلة (في الهاتف)> ** التطبيقات **> ** Reroll Giveaway ** +error.generic.ending = حدث خطأ أثناء محاولة إنهاء الهبة. +error.generic.delete = تم حذف الهبة ، ولكن حدث خطأ أثناء محاولة حذف رسالة الهبة. +error.generic.creation = حدث خطأ أثناء محاولة إنشاء هبة. +error.generic.enter = حدث خطأ أثناء محاولة مشاركة في الهبة. +error.generic.reroll = حدث خطأ أثناء محاولة إعادة الهبة. +error.generic = حدث خطأ. +warning.no_giveaways = لا توجد هبات قيد التشغيل حاليًا! +warning.not_supported = هذه الميزة غير مدعومة حاليًا. +warning.no_entries = لا يوجد مشاركين ، لذلك لا يمكن تحديد الفائز! +success.giveaway_created = تم إنشاء الهبة بنجاح! الايدي: {0} +success.entered = لقد شاركت بنجاح في الهبة! +success.leave = لقد تركت الهبة بنجاح! +success.ping = بونغ! +success.winner = مبروك {0}! لقد ربحت **{1}**! +success.settings.role = المستخدمون الذين يمتلكون رتبة {0} يمكنهم الآن إدارة الهبات! +success.settings.color = تم تغيير لون ايمبد البوت إلى `{0}`. +success.settings.emoji = تم تغيير الرموز التعبيرية للزر المخصص إلى `{0}`. +success.giveaway_ended = تم إنهاء الهبة بنجاح {0}! +success.giveaway_reroll = {0} تم التغيير الفائزين ! مبروك {1}! +success.giveaway_delete = تم حذف الهبة بنجاح {0}! +info.invite = مرحبا انا أدعى **GiveawayBot**! +أنا أساعد في تقديم الهدايا بسرعة وسهولة! \ +\n يمكنك إضافتي إلى الخادم الخاص بك من خلال هذا الرابط: +info.about = كل شيء عن {0} +info.about.brief = اتحكم في الهبات بسرعة وسهولة! +info.about.long = مرحبًا أنا أدعى **GiveawayBot**, وأنا هنا لأجعل من السهل قدر الإمكان لتقديم الهدايا \ +على خادم الديسكورد الخاص بك! تم صنعي من +[**jagrosh**#4824](https://jagrosh.com/) (<@113156185389092864>). + جميع أوامري \ +تبدأ ب`g/`. +لا تنسى التحقق من موقعي الخاص في +**https://giveawaybot.party/**! +info.about.stats = الحالة +info.about.stats.servers = {0} السيرفرات +info.about.stats.giveaways = {0} الهبات +info.about.links = الروابط +info.about.links.website = موقع +info.about.links.invite = دعوة +info.about.links.support = الدعم الفني +info.settings = الإعدادات +info.settings.owner = صاحب السيرفر +info.settings.premium = مستوى البريميوم +info.settings.emoji = ايموجي الهبة +info.settings.role = رتبة المانجر +info.settings.color = لون الايمبد +info.settings.locale = اللغة +info.settings.etc = للتحكم في الرتب التي يمكنها إدارة +الهداية ، توجه إلى **Server Settings** > **Integrations** > **GiveawayBot** +info.help.general = الأوامر العامة +info.help.creation = أوامر لإنشاء الهداية +info.help.manipulation = أوامر التلاعب +info.help.settings = أوامر إعدادات Giveawaybot +giveaway.leave = أخرج +giveaway.ends = ينتهي +giveaway.ended = إنتهى +giveaway.hosted = برعاية +giveaway.entries = المشاركين +giveaway.winners = الفائزين +giveaway.summary = ملخص الهبة diff --git a/src/main/resources/localization/messages.properties b/src/main/resources/localization/messages.properties deleted file mode 100644 index 05a59a6c..00000000 --- a/src/main/resources/localization/messages.properties +++ /dev/null @@ -1,83 +0,0 @@ -# These are the default messages, written in English (US) -# Translated by: jagrosh (jagrosh#4824) -# Edits by: -error.permissions.user = You must have the Manage Server permission to use this command! -error.permissions.perms_or_role = You must have the Manage Server permission or the {0} role to use this command! -error.permissions.perms_no_role = You must have the Manage Server permission to use this command! A giveaway manager role has not been set. An admin can set this with `{0}` -error.permissions.bot = I am missing the following permissions in this channel: `Read Messages`, `Send Messages`, `Read Message History`, `Embed Links`. Fix these permissions in this channel, or re-add the bot [here]({0}). -error.invalid_time.format = I could not convert `{0}` to a valid length of time! -error.invalid_time.min = The duration you provided ({0}) was shorter than the minimum duration ({1})! -error.invalid_time.max = The duration you provided ({0}) was longer than the maximum duration ({1})! -error.max_giveaways.guild = There are already {0} giveaways running in this server! -error.max_giveaways.channel = There are already {0} giveaways running in this channel! -error.invalid_winners.format = I could not convert `{0}` to a valid number of winners! -error.invalid_winners.max = The number of winners you provided ({0}) was not between 1 and {1}! -error.invalid_prize.length = Prize length cannot be greater than {0} characters! -error.invalid_descr.length = Description length cannot be greater than {0} characters! -error.invalid_emoji.length = Custom button text cannot be longer than {0} characters! -error.invalid_emoji.choice = Fully custom giveaway buttons are only available with a premium plan. Free users may use any of the following emojis: {0} -error.invalid_id = I could not convert `{0}` to a message ID! -error.message_not_found = I could not find a message with the ID `{0}` in this channel! -error.invalid_message = This message is not a completed giveaway message! -error.giveaway_not_found = I could not find a giveaway with the ID `{0}`! -error.giveaway_already_entered = You have already entered this giveaway! -error.giveaway_not_entered = You are not entered in this giveaway! -error.no_dms = This bot cannot be used in Direct Messages! -error.giveaway_cooldown = Giveaway creation is currently on cooldown in this server! -error.giveaway_ended = You cannot enter or leave this giveaway because it has already ended! -error.invalid_color = I could not convert `{0}` to a valid color! -error.reroll_message_option = Giveaways can also be rerolled directly on the original giveaway message via Right Click (Desktop) / Long Press (Mobile) > **Apps** > **Reroll Giveaway** -error.generic.ending = An error occurred when trying to end the giveaway. -error.generic.delete = The giveaway has been deleted, but an error occurred trying to delete the giveaway message. -error.generic.creation = An error occurred when trying to create a giveaway. -error.generic.enter = An error occurred when trying to enter the giveaway. -error.generic.reroll = An error occurred when trying to reroll the giveaway. -error.generic = An error occurred. -warning.no_giveaways = There are no giveaways currently running! -warning.not_supported = This feature is not currently supported. -warning.no_entries = No valid entrants, so a winner could not be determined! -success.giveaway_created = The giveaway was successfully created! ID: {0} -success.entered = You have successfully entered the giveaway! -success.leave = You have successfully left the giveaway! -success.ping = Pong! -success.winner = Congratulations {0}! You won the **{1}**! -success.settings.role = Users with the {0} role can now manage giveaways! -success.settings.color = The embed color for giveaways has been changed to `{0}`. -success.settings.emoji = The custom button emoji as been changed to `{0}`. -success.giveaway_ended = Successfully ended giveaway {0}! -success.giveaway_reroll = {0} rerolled the giveaway! Congratulations {1}! -success.giveaway_delete = Successfully deleted giveaway {0}! -info.invite = Hello! I''m **GiveawayBot**! I help to make giveaways quick and easy! \ -\nYou can add me to your server with this link: -info.about = All about {0} -info.about.brief = Hold giveaways quickly and easily! -info.about.long = Hello! I''m **GiveawayBot**, and I''m here to make it as easy as possible to hold giveaways on your \ -Discord server! I was created by [**jagrosh**#4824](https://jagrosh.com/) (<@113156185389092864>). All of my commands \ -start with `/g`. Don''t forget to checkout my website at **https://giveawaybot.party/**! -info.about.stats = Stats -info.about.stats.servers = {0} servers -info.about.stats.giveaways = {0} giveaways -info.about.links = Links -info.about.links.website = Website -info.about.links.invite = Invite -info.about.links.support = Support -info.settings = settings -info.settings.owner = Server Owner -info.settings.premium = Premium Level -info.settings.emoji = Giveaway Emoji -info.settings.role = Manager Role -info.settings.color = Embed Color -info.settings.locale = Language -info.settings.etc = To control which roles can manage giveaways, head to **Server Settings** > **Integrations** > **GiveawayBot** -info.help.general = General Commands -info.help.creation = Giveaway Creation Commands -info.help.manipulation = Giveaway Manipulation Commands -info.help.settings = GiveawayBot Settings Commands -giveaway.leave = Leave Giveaway -giveaway.ends = Ends -giveaway.ended = Ended -giveaway.hosted = Hosted by -giveaway.entries = Entries -giveaway.winners = Winners -giveaway.summary = Giveaway Summary - From 1cedd4afab61070f8aac193bcc1b6b99f5936fde Mon Sep 17 00:00:00 2001 From: John Grosh Date: Wed, 21 Sep 2022 18:36:41 -0400 Subject: [PATCH 2/2] Create messages.properties --- .../localization/messages.properties | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src/main/resources/localization/messages.properties diff --git a/src/main/resources/localization/messages.properties b/src/main/resources/localization/messages.properties new file mode 100644 index 00000000..4b5453e2 --- /dev/null +++ b/src/main/resources/localization/messages.properties @@ -0,0 +1,82 @@ +# These are the default messages, written in English (US) +# Translated by: jagrosh (jagrosh#4824) +# Edits by: +error.permissions.user = You must have the Manage Server permission to use this command! +error.permissions.perms_or_role = You must have the Manage Server permission or the {0} role to use this command! +error.permissions.perms_no_role = You must have the Manage Server permission to use this command! A giveaway manager role has not been set. An admin can set this with `{0}` +error.permissions.bot = I am missing the following permissions in this channel: `Read Messages`, `Send Messages`, `Read Message History`, `Embed Links`. Fix these permissions in this channel, or re-add the bot [here]({0}). +error.invalid_time.format = I could not convert `{0}` to a valid length of time! +error.invalid_time.min = The duration you provided ({0}) was shorter than the minimum duration ({1})! +error.invalid_time.max = The duration you provided ({0}) was longer than the maximum duration ({1})! +error.max_giveaways.guild = There are already {0} giveaways running in this server! +error.max_giveaways.channel = There are already {0} giveaways running in this channel! +error.invalid_winners.format = I could not convert `{0}` to a valid number of winners! +error.invalid_winners.max = The number of winners you provided ({0}) was not between 1 and {1}! +error.invalid_prize.length = Prize length cannot be greater than {0} characters! +error.invalid_descr.length = Description length cannot be greater than {0} characters! +error.invalid_emoji.length = Custom button text cannot be longer than {0} characters! +error.invalid_emoji.choice = Fully custom giveaway buttons are only available with a premium plan. Free users may use any of the following emojis: {0} +error.invalid_id = I could not convert `{0}` to a message ID! +error.message_not_found = I could not find a message with the ID `{0}` in this channel! +error.invalid_message = This message is not a completed giveaway message! +error.giveaway_not_found = I could not find a giveaway with the ID `{0}`! +error.giveaway_already_entered = You have already entered this giveaway! +error.giveaway_not_entered = You are not entered in this giveaway! +error.no_dms = This bot cannot be used in Direct Messages! +error.giveaway_cooldown = Giveaway creation is currently on cooldown in this server! +error.giveaway_ended = You cannot enter or leave this giveaway because it has already ended! +error.invalid_color = I could not convert `{0}` to a valid color! +error.reroll_message_option = Giveaways can also be rerolled directly on the original giveaway message via Right Click (Desktop) / Long Press (Mobile) > **Apps** > **Reroll Giveaway** +error.generic.ending = An error occurred when trying to end the giveaway. +error.generic.delete = The giveaway has been deleted, but an error occurred trying to delete the giveaway message. +error.generic.creation = An error occurred when trying to create a giveaway. +error.generic.enter = An error occurred when trying to enter the giveaway. +error.generic.reroll = An error occurred when trying to reroll the giveaway. +error.generic = An error occurred. +warning.no_giveaways = There are no giveaways currently running! +warning.not_supported = This feature is not currently supported. +warning.no_entries = No valid entrants, so a winner could not be determined! +success.giveaway_created = The giveaway was successfully created! ID: {0} +success.entered = You have successfully entered the giveaway! +success.leave = You have successfully left the giveaway! +success.ping = Pong! +success.winner = Congratulations {0}! You won the **{1}**! +success.settings.role = Users with the {0} role can now manage giveaways! +success.settings.color = The embed color for giveaways has been changed to `{0}`. +success.settings.emoji = The custom button emoji as been changed to `{0}`. +success.giveaway_ended = Successfully ended giveaway {0}! +success.giveaway_reroll = {0} rerolled the giveaway! Congratulations {1}! +success.giveaway_delete = Successfully deleted giveaway {0}! +info.invite = Hello! I''m **GiveawayBot**! I help to make giveaways quick and easy! \ +\nYou can add me to your server with this link: +info.about = All about {0} +info.about.brief = Hold giveaways quickly and easily! +info.about.long = Hello! I''m **GiveawayBot**, and I''m here to make it as easy as possible to hold giveaways on your \ +Discord server! I was created by [**jagrosh**#4824](https://jagrosh.com/) (<@113156185389092864>). All of my commands \ +start with `/g`. Don''t forget to checkout my website at **https://giveawaybot.party/**! +info.about.stats = Stats +info.about.stats.servers = {0} servers +info.about.stats.giveaways = {0} giveaways +info.about.links = Links +info.about.links.website = Website +info.about.links.invite = Invite +info.about.links.support = Support +info.settings = settings +info.settings.owner = Server Owner +info.settings.premium = Premium Level +info.settings.emoji = Giveaway Emoji +info.settings.role = Manager Role +info.settings.color = Embed Color +info.settings.locale = Language +info.settings.etc = To control which roles can manage giveaways, head to **Server Settings** > **Integrations** > **GiveawayBot** +info.help.general = General Commands +info.help.creation = Giveaway Creation Commands +info.help.manipulation = Giveaway Manipulation Commands +info.help.settings = GiveawayBot Settings Commands +giveaway.leave = Leave Giveaway +giveaway.ends = Ends +giveaway.ended = Ended +giveaway.hosted = Hosted by +giveaway.entries = Entries +giveaway.winners = Winners +giveaway.summary = Giveaway Summary