Skip to content

Commit

Permalink
Translations.
Browse files Browse the repository at this point in the history
- thirst: Fix translation.
- hunger: Fix translation.
- hazards: Add name bucket.
- hazards: Add template and translate fr.
- lib: Modify fr and es, create template.
- lib: Clear template.
  • Loading branch information
Jat15 authored and kaeza committed Dec 11, 2013
1 parent bee5347 commit 05fdf42
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 11 deletions.
11 changes: 11 additions & 0 deletions survival_hazards/locale/fr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Language: Fran�ais
# Author: Jat

###init.lua###
Hazard Suit = Combinaison de protection en milieu hostile

###toxicwaste.lua###
Toxic Waste Flowing = Flot de d�chets toxiques
Toxic Waste Source = Source de d�chets toxiques
Toxic Waste Bucket = Seau de d�chets toxiques
11 changes: 11 additions & 0 deletions survival_hazards/locale/template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Language:
# Author:

###init.lua###
Hazard Suit =

###toxicwaste.lua###
Toxic Waste Flowing =
Toxic Waste Source =
Toxic Waste Bucket =
3 changes: 2 additions & 1 deletion survival_hazards/toxicwaste.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ bucket.register_liquid(
"survival_hazards:toxic_waste_source",
"survival_hazards:toxic_waste_flowing",
"survival_hazards:bucket_toxic_waste",
"survival_hazards_bucket_waste.png"
"survival_hazards_bucket_waste.png",
S("Toxic Waste Bucket")
);

survival.hazards.register_liquid("survival_hazards:toxic_waste", {
Expand Down
1 change: 0 additions & 1 deletion survival_hunger/locale/es.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
# Author: Diego Martínez <[email protected]>

You died from starvation. = Has muerto de hambre.
Hunger Meter = Medidor de Hambre
Hunger = Hambre
You are hungry. = Tienes hambre.
1 change: 0 additions & 1 deletion survival_hunger/locale/fr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
# Author: Jat

You died from starvation. = Vous êtes mort de faim.
Hunger Meter = Compteur de Faim
Hunger = Faim
You are hungry. = Vous avez faim.
1 change: 0 additions & 1 deletion survival_lib/locale/es.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Language: Español
# Author: Diego Martínez <[email protected]>

Test Meter = Medidor de Prueba
Display all player stats = Mostrar todas las estadisticas del jugador
32 changes: 30 additions & 2 deletions survival_lib/locale/fr.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@

# Language: Français
# Language: Fran�ais
# Author: Jat

Test Meter = Compteur de Test
###init.lua###
Display %s = Afficher %s
Display all player stats = Affichez les statistiques des joueurs.

###chatcmds.lua###
<command> <args>... = <commande> <arguments>...
Configuration of survival_lib = Configuration de survival_lib
No subcommand specified. = Pas de sous-commande sp�cifi�e.
Unknown subcommand `%s'. = `%s' sous-commande inconnue.
Missing privileges: %s = Le privil�ges %s manquent

<subcommand> = <sous-commande>
Get help about a subcommand = Avoir de l'aide pour la sous-commande
Available commands: %s = Commande %s disponible

<state> = <�tat>
Enable a state = Activation de l'�tat
Unknown state `%s'. = `%s' cette �tat est inconnue.
State `%s' enabled. = Etat activer: `%s'
No state specified. = Etat non sp�cifi�.

Disable a state = D�sactivation de l'�tat
State `%s' disabled. = `%s' �tat d�sactiv�.

Get the enabled/disabled flag of a state =
State `%s' is %s. = L'�tat `%s' est %s.
Enabled = Activ�
Disabled = D�sactiv�

List available states and enabled/disabled flags = Liste des �tats disponibles et si il sont actif ou d�sactif.
34 changes: 34 additions & 0 deletions survival_lib/locale/template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# Language:
# Author:

###init.lua###
Display %s =
Display all player stats =

###chatcmds.lua###
<command> <args>... =
Configuration of survival_lib =
No subcommand specified. =
Unknown subcommand . =
Missing privileges: %s =

<subcommand> =
Get help about a subcommand =
Available commands: %s =

<state> =
Enable a state =
Unknown state `%s'. =
State `%s' enabled. =
No state specified. =

Disable a state =
State `%s' disabled. =

Get the enabled/disabled flag of a state =
State `%s' is %s. =
Enabled =
Disabled =

List available states and enabled/disabled flags =
4 changes: 2 additions & 2 deletions survival_thirst/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end
local timer = 0;

minetest.register_craftitem("survival_thirst:water_glass", {
description = "Glass of Water";
description = S("Glass of Water");
inventory_image = "survival_thirst_water_glass.png";
groups = { drink=1; survival_no_override=1; };
stack_max = 10;
Expand Down Expand Up @@ -46,7 +46,7 @@ local alt_water_sources = {

minetest.register_craftitem(":vessels:drinking_glass", {
--Or use minetest.registered_items[vessels:drinking_glass] for all parametre.
description = "Drinking Glass (empty)",
description = S("Drinking Glass (empty)"),
drawtype = "plantlike",
tiles = {"vessels_drinking_glass.png"},
inventory_image = "vessels_drinking_glass_inv.png",
Expand Down
2 changes: 1 addition & 1 deletion survival_thirst/locale/es.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
You died from dehydration. = Has muerto de deshidratacion.
You are thirsty. = Tienes sed.
Thirst = Sed
Thirst Meter = Medidor de Sed
Glass of Water = Vaso de Agua
Drinking Glass (empty) = Vaso de Agua (vacío)
4 changes: 2 additions & 2 deletions survival_thirst/locale/fr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
You died from dehydration. = Vous étez mort de déshydratation.
You are thirsty. = Vous avez soif.
Thirst = Soif
Thirst Meter = Compteur de Soif
Glass of Water = Verre d'Eau
Glass of Water = Verre d'eau
Drinking Glass (empty) = Verre d'eau (vide)

0 comments on commit 05fdf42

Please sign in to comment.