From c108e9f59691bb2c4e341f6ccb12f438d7540953 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Sun, 20 Sep 2020 11:06:09 -0700 Subject: [PATCH 1/3] Add spanish translation --- init.lua | 58 +++++++++++++++++++++++----------------------- locale/rules.es.tr | 29 +++++++++++++++++++++++ readme.md | 3 +++ 3 files changed, 61 insertions(+), 29 deletions(-) create mode 100644 locale/rules.es.tr create mode 100644 readme.md diff --git a/init.lua b/init.lua index b3d224f..9af3fd7 100644 --- a/init.lua +++ b/init.lua @@ -3,42 +3,42 @@ rules = {} - +local S = minetest.get_translator(minetest.get_current_modname()) local items = { - "By playing on this server you agree to these rules:", + S("By playing on this server you agree to these rules:"), "", - "1. No swearing, dating, or other inappriopriate behaviour.", - "2. No spamming, using all-caps, or any other method of chat abuse.", - "3. Don't be a cheater. No hacked clients.", - "4. Don't excessively spawnkill. Some spawn killing to stop players chasing", - " the flag bearer is OK, but hogging the flag and repeatedly killing", - " the same players definitely isn't.", - "5. Don't be a traitor. Don't:", - " a. Dig blocks in your base to make it less secure or", - " to trap team mates on purpose.", - " b. Help the other team win.", - " c. Change teams.", - "6. Don't leave the game whilst in a fight", - "7. Don't impersonate other community members", - "8. Do not share your password with ANYONE.", - "9. Avoid controversial topics like politics/religion", - "10. Moderator decisions are final.", + S("1. No swearing, dating, or other inappriopriate behaviour."), + S("2. No spamming, using all-caps, or any other method of chat abuse."), + S("3. Don't be a cheater. No hacked clients."), + S("4. Don't excessively spawnkill. Some spawn killing to stop players chasing"), + S(" the flag bearer is OK, but hogging the flag and repeatedly killing"), + S(" the same players definitely isn't."), + S("5. Don't be a traitor. Don't:"), + S(" a. Dig blocks in your base to make it less secure or"), + S(" to trap team mates on purpose."), + S(" b. Help the other team win."), + S(" c. Change teams."), + S("6. Don't leave the game whilst in a fight"), + S("7. Don't impersonate other community members"), + S("8. Do not share your password with ANYONE."), + S("9. Avoid controversial topics like politics/religion"), + S("10. Moderator decisions are final."), "", - "Failure to follow these rules may result in a kick or ban", - " (temp or permanent) depending on severity.", + S("Failure to follow these rules may result in a kick or ban"), + S(" (temp or permanent) depending on severity."), "", - "Developed and hosted by rubenwardy", - "Moderators: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance,", - " Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon", + S("Developed and hosted by rubenwardy"), + S("Moderators: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance,"), + S(" Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon"), "", - "Though the server owner will not actively read private messages or disclose", - "their content outside the mod team, random checks will be done to make sure", - "they are not being abused and they will be reviewed if abuse or inappropriate", - "behaviour is suspected. ", + S("Though the server owner will not actively read private messages or disclose"), + S("their content outside the mod team, random checks will be done to make sure"), + S("they are not being abused and they will be reviewed if abuse or inappropriate"), + S("behaviour is suspected. "), "", - "Use /report to send a message to a moderator.", - "For example, /report bobgreen is destroying our base"} + S("Use /report to send a message to a moderator."), + S("For example, /report bobgreen is destroying our base")} for i = 1, #items do items[i] = minetest.formspec_escape(items[i]) diff --git a/locale/rules.es.tr b/locale/rules.es.tr new file mode 100644 index 0000000..fed5b1c --- /dev/null +++ b/locale/rules.es.tr @@ -0,0 +1,29 @@ +# textdomain: rules +By playing on this server you agree to these rules:=Al jugar en este servidor, usted acepta seguir estas reglas: +1. No swearing, dating, or other inappriopriate behaviour.=1. No insultar, tener citas u otro comportamiento inapropiado. +2. No spamming, using all-caps, or any other method of chat abuse.=2. No hacer spam, usar todo en MAYÚSCULAS, o cualquier otro metodo de abusar el chat. +3. Don't be a cheater. No hacked clients.=3. No seas un tramposo. No uses clientes pirateados. +4. Don't excessively spawnkill. Some spawn killing to stop players chasing=4. No hagas matanza de desove excesivamente. Un poco para parar a los demas de perseguir + the flag bearer is OK, but hogging the flag and repeatedly killing=al portador de la bandera esta bien, pero acaparar la bandera y matar repetidamente + the same players definitely isn't.=a los mismos jugadors definitivamente no lo es. +5. Don't be a traitor. Don't:=5. No seas un traidor. No: + a. Dig blocks in your base to make it less secure or=a. Quitar bloques en tu base para hacerla menos seguro o + to trap team mates on purpose.=atrapar a tus compañeros a proposito. + b. Help the other team win.=b. Ayudar al otro equipo a ganar. + c. Change teams.=c. Cambiar de equipos. +6. Don't leave the game whilst in a fight=6. No salir del juego en medio de una batalla. +7. Don't impersonate other community members=7. No suplantar a otras miembros de la comunidad. +8. Do not share your password with ANYONE.=8. No compartas tu contraseña con NADIE. +9. Avoid controversial topics like politics/religion=9. Evite temas controvertidos como la política/religión. +10. Moderator decisions are final.=10. Las desiciones de los moderadores son lo final. +Failure to follow these rules may result in a kick or ban=El incumplimiento de estas reglas puede resultar en una expulsión o prohibición + (temp or permanent) depending on severity.=(temporal o permanente) dependiendo de la severidad. +Developed and hosted by rubenwardy=Desarrollado y hospedado por rubenwardy +Moderators: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance,=Moderadores: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance, + Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon=Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon +Though the server owner will not actively read private messages or disclose=Aunque el dueño del servidor no va a leer activamente los mensajes privados ni divulgará +their content outside the mod team, random checks will be done to make sure=su contenido fuera del equipo de mods, se realizarán comprobaciones aleatorias para asegurarse +they are not being abused and they will be reviewed if abuse or =que no están siendo abusados y serán revisados si se sospecha abuso o +behaviour is suspected.=comportamiento inapropiado. +Use /report to send a message to a moderator.=Use /report para mandar mensaje a un moderador. +For example, /report bobgreen is destroying our base=Por ejemplo, /report bobgreen esta destruyendo la base diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..30991b9 --- /dev/null +++ b/readme.md @@ -0,0 +1,3 @@ +# Rules + +Thanks to @Panquesito7 for spanish translation From b88402bdf9317c23af4761460752568d737a16bf Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Sat, 20 Feb 2021 13:29:59 -0800 Subject: [PATCH 2/3] Update rules.es.tr --- locale/rules.es.tr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/locale/rules.es.tr b/locale/rules.es.tr index fed5b1c..312f812 100644 --- a/locale/rules.es.tr +++ b/locale/rules.es.tr @@ -19,8 +19,7 @@ By playing on this server you agree to these rules:=Al jugar en este servidor, u Failure to follow these rules may result in a kick or ban=El incumplimiento de estas reglas puede resultar en una expulsión o prohibición (temp or permanent) depending on severity.=(temporal o permanente) dependiendo de la severidad. Developed and hosted by rubenwardy=Desarrollado y hospedado por rubenwardy -Moderators: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance,=Moderadores: Thomas-S, ANAND, IceAgeComing, Waterbug, DragonsVolcanoDance, - Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon=Gael-de-Sailly, Shara, Calinou, Aurika, Lone_Wolf, Xenon +Moderators=Moderadores Though the server owner will not actively read private messages or disclose=Aunque el dueño del servidor no va a leer activamente los mensajes privados ni divulgará their content outside the mod team, random checks will be done to make sure=su contenido fuera del equipo de mods, se realizarán comprobaciones aleatorias para asegurarse they are not being abused and they will be reviewed if abuse or =que no están siendo abusados y serán revisados si se sospecha abuso o From 2d77cfbb4fd0706eba20ad310de78600422ea54c Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Sat, 20 Feb 2021 13:30:49 -0800 Subject: [PATCH 3/3] Update init.lua --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 2dac0e2..b9bdcf4 100644 --- a/init.lua +++ b/init.lua @@ -28,9 +28,9 @@ local items = { S("Failure to follow these rules may result in a kick or ban"), S(" (temp or permanent) depending on severity."), "", - S("Developed and hosted by rubenwardy", - S("Moderators: Thomas-S, IceAgeComing, Waterbug, DragonsVolcanoDance,"), - S(" Shara, Calinou, Aurika, Lone_Wolf, Xenon, Jhalman, Kat"), + S("Developed and hosted by rubenwardy"), + S("Moderators")..": Thomas-S, IceAgeComing, Waterbug, DragonsVolcanoDance,", + " Shara, Calinou, Aurika, Lone_Wolf, Xenon, Jhalman, Kat", "", S("Though the server owner will not actively read private messages or disclose"), S("their content outside the mod team, random checks will be done to make sure"),