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