From 1425d09f782c9376a925395ee13dce87a511e683 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Fri, 11 Apr 2014 16:40:13 +0200 Subject: intllib --- streetsmod/init.lua | 28 ++++++++++++---------------- streetsmod/locale/de.txt | 3 +++ streetsmod/locale/template.txt.txt | 3 +++ 3 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 streetsmod/locale/de.txt create mode 100644 streetsmod/locale/template.txt.txt (limited to 'streetsmod') diff --git a/streetsmod/init.lua b/streetsmod/init.lua index 72f7fee..b737da7 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -5,10 +5,19 @@ Forum : http://bit.ly/12cPMeo Depends : default ]] +-- kaeza: intllib + -- Boilerplate to support localized strings if intllib mod is installed. + local S + if (minetest.get_modpath("intllib")) then + dofile(minetest.get_modpath("intllib").."/intllib.lua") + S = intllib.Getter(minetest.get_current_modname()) + else + S = function ( s ) return s end + end -- Create variables and tables - print("Streets: Creating variables and tables...") + print("Streets: " .. S("Creating variables and tables...")) streets = {} - streets.version = "1.4.3" + streets.version = "1.4.4dev" streets.modpath = minetest.get_modpath("streets") streets.extendedBy = {} streets.load = { @@ -19,45 +28,33 @@ -- Check for mods which change this mod's beahaviour print("Streets: Checking installed mods...") if minetest.get_modpath("wool") then - print("'Wool' is installed \n\t => You can craft labels for your asphalt blocks") streets.extendedBy.wool = true else - print("'Wool' not installed \n\t => You can't craft any labels") streets.extendedBy.wool = false end if minetest.get_modpath("technic") then - print("'Technic' is installed \n\t => You can use its concrete also in this mod") streets.extendedBy.technic = true else - print("'Technic' not installed \n\t => StreetsMod will register its own concrete block") streets.extendedBy.technic = false end if minetest.get_modpath("moreblocks") then - print("'Moreblocks' is installed \n\t => There will be stairs and slabs'") streets.extendedBy.moreblocks = true else - print("'Moreblocks' not installed \n\t => There won't be stairs and slabs'") streets.extendedBy.moreblocks = false end if minetest.get_modpath("mesecons") then - print("'Mesecons' is installed \n\t => Trafficlights might be available. Checking for digilines. Streetlamps available") streets.extendedBy.mesecons = true else - print("'Mesecons' not installed \n\t => No trafficlight and streetlamps, sorry.") streets.extendedBy.mesecons = false end if minetest.get_modpath("digilines") then - print("'Digilines' is installed \n\t => Trafficlights might be available") streets.extendedBy.digilines = true else - print("'Digilines' not installed \n\t => No trafficlight, sorry.") streets.extendedBy.digilines = false end if minetest.get_modpath("prefab") then - print("'Prefab concrete' is installed \n\t => Use its concrete block for streets' crafting recipes.") streets.extendedBy.prefab = true else - print("'Prefab concrete' not installed \n\t => Streets will register its own concrete block.") streets.extendedBy.prefab = false end @@ -84,6 +81,5 @@ }) -- Done - print("Streets: Setup completed, have fun with StreetsMod ".. streets.version .."!") - print("Streets: Special thanks to everyone who contributed to this mod (except myself): Immanuel_Kant and philipbenr!") + print("Streets: " .. S("Setup completed, have fun with StreetsMod") .. " " .. streets.version .. "!") streets.load.fin = os.clock() \ No newline at end of file diff --git a/streetsmod/locale/de.txt b/streetsmod/locale/de.txt new file mode 100644 index 0000000..499d8f3 --- /dev/null +++ b/streetsmod/locale/de.txt @@ -0,0 +1,3 @@ +# Translation file GERMAN +Setup completed, have fun with StreetsMod=Laden abgeschlossen, viel Spass mit StreetsMod +Creating variables and tables...=Erstelle Variablen und Tabellen... \ No newline at end of file diff --git a/streetsmod/locale/template.txt.txt b/streetsmod/locale/template.txt.txt new file mode 100644 index 0000000..8a4c1c2 --- /dev/null +++ b/streetsmod/locale/template.txt.txt @@ -0,0 +1,3 @@ +# Translation file for StreetsMod might not be up-to-date. +Setup completed, have fun with StreetsMod= + Creating variables and tables...= \ No newline at end of file -- cgit v1.2.3 From ef0d0e019ea719272f508187238b9e227414679e Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 14:35:23 +0200 Subject: soft depend for intllib --- streetsmod/depends.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'streetsmod') diff --git a/streetsmod/depends.txt b/streetsmod/depends.txt index 331d858..cad5160 100644 --- a/streetsmod/depends.txt +++ b/streetsmod/depends.txt @@ -1 +1,2 @@ -default \ No newline at end of file +default +intllib? \ No newline at end of file -- cgit v1.2.3 From 75bf6f9b622a8e00c095baf43c434445c3716a81 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 14:35:50 +0200 Subject: central directory for all kinds of files for this mod --- streetsmod/nodeboxes/trafficlight.nbe | 17 +++++++++++++++++ streetsmod/textures/streets_arrow_alldirs.png | Bin 0 -> 7932 bytes streetsmod/textures/streets_arrow_left.png | Bin 0 -> 7662 bytes streetsmod/textures/streets_arrow_right.png | Bin 0 -> 7605 bytes streetsmod/textures/streets_arrow_straight.png | Bin 0 -> 7564 bytes streetsmod/textures/streets_arrow_straight_left.png | Bin 0 -> 7770 bytes streetsmod/textures/streets_arrow_straight_right.png | Bin 0 -> 7719 bytes streetsmod/textures/streets_asphalt.png | Bin 0 -> 8955 bytes streetsmod/textures/streets_asphalt_dashed_line.png | Bin 0 -> 7946 bytes streetsmod/textures/streets_asphalt_outer_edge.png | Bin 0 -> 4526 bytes streetsmod/textures/streets_asphalt_side.png | Bin 0 -> 3821 bytes streetsmod/textures/streets_asphalt_side_r.png | Bin 0 -> 3812 bytes streetsmod/textures/streets_asphalt_solid_line.png | Bin 0 -> 8003 bytes streetsmod/textures/streets_concrete.png | Bin 0 -> 7482 bytes streetsmod/textures/streets_delineator.png | Bin 0 -> 5674 bytes streetsmod/textures/streets_delineator_top.png | Bin 0 -> 184 bytes streetsmod/textures/streets_fence_bottom.png | Bin 0 -> 644 bytes streetsmod/textures/streets_fence_fromtop.png | Bin 0 -> 215 bytes streetsmod/textures/streets_fence_inv.png | Bin 0 -> 845 bytes streetsmod/textures/streets_fence_top.png | Bin 0 -> 441 bytes streetsmod/textures/streets_lampcontroller_bottom.png | Bin 0 -> 532 bytes streetsmod/textures/streets_lampcontroller_sides.png | Bin 0 -> 651 bytes streetsmod/textures/streets_lampcontroller_top.png | Bin 0 -> 583 bytes streetsmod/textures/streets_lamps_basi_inv.png | Bin 0 -> 4210 bytes streetsmod/textures/streets_lamps_basic_bottom.png | Bin 0 -> 3121 bytes streetsmod/textures/streets_lamps_basic_middle.png | Bin 0 -> 6634 bytes streetsmod/textures/streets_lamps_basic_top.png | Bin 0 -> 5112 bytes streetsmod/textures/streets_lamps_basic_top_top.png | Bin 0 -> 6359 bytes streetsmod/textures/streets_manhole.png | Bin 0 -> 10833 bytes streetsmod/textures/streets_manhole_advanced.png | Bin 0 -> 9205 bytes streetsmod/textures/streets_parking.png | Bin 0 -> 6911 bytes streetsmod/textures/streets_pole.png | Bin 0 -> 2317 bytes streetsmod/textures/streets_pole_inv.png | Bin 0 -> 767 bytes streetsmod/textures/streets_rw_arrow_alldirs.png | Bin 0 -> 9866 bytes streetsmod/textures/streets_rw_arrow_left.png | Bin 0 -> 8954 bytes streetsmod/textures/streets_rw_arrow_right.png | Bin 0 -> 8951 bytes streetsmod/textures/streets_rw_arrow_straight.png | Bin 0 -> 8796 bytes streetsmod/textures/streets_rw_arrow_straight_left.png | Bin 0 -> 9403 bytes .../textures/streets_rw_arrow_straight_right.png | Bin 0 -> 9306 bytes streetsmod/textures/streets_rw_asphalt_side.png | Bin 0 -> 4190 bytes streetsmod/textures/streets_rw_cross.png | Bin 0 -> 2586 bytes streetsmod/textures/streets_rw_dashed_line.png | Bin 0 -> 7944 bytes .../textures/streets_rw_dashed_line_crossing.png | Bin 0 -> 3841 bytes streetsmod/textures/streets_rw_dashed_line_curve.png | Bin 0 -> 3333 bytes .../textures/streets_rw_dashed_line_tjunction.png | Bin 0 -> 4099 bytes streetsmod/textures/streets_rw_outer_edge.png | Bin 0 -> 5169 bytes streetsmod/textures/streets_rw_parking.png | Bin 0 -> 8571 bytes streetsmod/textures/streets_rw_solid_line.png | Bin 0 -> 8058 bytes streetsmod/textures/streets_rw_solid_line_crossing.png | Bin 0 -> 4005 bytes streetsmod/textures/streets_rw_solid_line_curve.png | Bin 0 -> 3657 bytes .../textures/streets_rw_solid_line_tjunction.png | Bin 0 -> 3702 bytes streetsmod/textures/streets_rw_transparent.png | Bin 0 -> 3836 bytes streetsmod/textures/streets_sign_back.png | Bin 0 -> 1808 bytes streetsmod/textures/streets_sign_construction.png | Bin 0 -> 4007 bytes streetsmod/textures/streets_sign_lava.png | Bin 0 -> 4453 bytes streetsmod/textures/streets_sign_water.png | Bin 0 -> 3730 bytes streetsmod/textures/streets_signworkshop_bottom.png | Bin 0 -> 1942 bytes streetsmod/textures/streets_signworkshop_front.png | Bin 0 -> 2138 bytes streetsmod/textures/streets_signworkshop_side.png | Bin 0 -> 1888 bytes streetsmod/textures/streets_signworkshop_top.png | Bin 0 -> 2026 bytes streetsmod/textures/streets_sos_bottom.png | Bin 0 -> 1961 bytes streetsmod/textures/streets_sos_front.png | Bin 0 -> 6989 bytes streetsmod/textures/streets_sos_side.png | Bin 0 -> 2529 bytes streetsmod/textures/streets_sos_top.png | Bin 0 -> 6980 bytes streetsmod/textures/streets_support.png | Bin 0 -> 6380 bytes streetsmod/textures/streets_tl_bg.png | Bin 0 -> 3513 bytes streetsmod/textures/streets_tl_green.png | Bin 0 -> 3290 bytes streetsmod/textures/streets_tl_off.png | Bin 0 -> 3267 bytes streetsmod/textures/streets_tl_red.png | Bin 0 -> 3295 bytes streetsmod/textures/streets_tl_redyellow.png | Bin 0 -> 3318 bytes streetsmod/textures/streets_tl_warn.png | Bin 0 -> 3699 bytes streetsmod/textures/streets_tl_yellow.png | Bin 0 -> 3295 bytes streetsmod/textures/streets_trafficlight_inv.png | Bin 0 -> 2772 bytes 73 files changed, 17 insertions(+) create mode 100644 streetsmod/nodeboxes/trafficlight.nbe create mode 100644 streetsmod/textures/streets_arrow_alldirs.png create mode 100644 streetsmod/textures/streets_arrow_left.png create mode 100644 streetsmod/textures/streets_arrow_right.png create mode 100644 streetsmod/textures/streets_arrow_straight.png create mode 100644 streetsmod/textures/streets_arrow_straight_left.png create mode 100644 streetsmod/textures/streets_arrow_straight_right.png create mode 100644 streetsmod/textures/streets_asphalt.png create mode 100644 streetsmod/textures/streets_asphalt_dashed_line.png create mode 100644 streetsmod/textures/streets_asphalt_outer_edge.png create mode 100644 streetsmod/textures/streets_asphalt_side.png create mode 100644 streetsmod/textures/streets_asphalt_side_r.png create mode 100644 streetsmod/textures/streets_asphalt_solid_line.png create mode 100644 streetsmod/textures/streets_concrete.png create mode 100644 streetsmod/textures/streets_delineator.png create mode 100644 streetsmod/textures/streets_delineator_top.png create mode 100644 streetsmod/textures/streets_fence_bottom.png create mode 100644 streetsmod/textures/streets_fence_fromtop.png create mode 100644 streetsmod/textures/streets_fence_inv.png create mode 100644 streetsmod/textures/streets_fence_top.png create mode 100644 streetsmod/textures/streets_lampcontroller_bottom.png create mode 100644 streetsmod/textures/streets_lampcontroller_sides.png create mode 100644 streetsmod/textures/streets_lampcontroller_top.png create mode 100644 streetsmod/textures/streets_lamps_basi_inv.png create mode 100644 streetsmod/textures/streets_lamps_basic_bottom.png create mode 100644 streetsmod/textures/streets_lamps_basic_middle.png create mode 100644 streetsmod/textures/streets_lamps_basic_top.png create mode 100644 streetsmod/textures/streets_lamps_basic_top_top.png create mode 100644 streetsmod/textures/streets_manhole.png create mode 100644 streetsmod/textures/streets_manhole_advanced.png create mode 100644 streetsmod/textures/streets_parking.png create mode 100644 streetsmod/textures/streets_pole.png create mode 100644 streetsmod/textures/streets_pole_inv.png create mode 100644 streetsmod/textures/streets_rw_arrow_alldirs.png create mode 100644 streetsmod/textures/streets_rw_arrow_left.png create mode 100644 streetsmod/textures/streets_rw_arrow_right.png create mode 100644 streetsmod/textures/streets_rw_arrow_straight.png create mode 100644 streetsmod/textures/streets_rw_arrow_straight_left.png create mode 100644 streetsmod/textures/streets_rw_arrow_straight_right.png create mode 100644 streetsmod/textures/streets_rw_asphalt_side.png create mode 100644 streetsmod/textures/streets_rw_cross.png create mode 100644 streetsmod/textures/streets_rw_dashed_line.png create mode 100644 streetsmod/textures/streets_rw_dashed_line_crossing.png create mode 100644 streetsmod/textures/streets_rw_dashed_line_curve.png create mode 100644 streetsmod/textures/streets_rw_dashed_line_tjunction.png create mode 100644 streetsmod/textures/streets_rw_outer_edge.png create mode 100644 streetsmod/textures/streets_rw_parking.png create mode 100644 streetsmod/textures/streets_rw_solid_line.png create mode 100644 streetsmod/textures/streets_rw_solid_line_crossing.png create mode 100644 streetsmod/textures/streets_rw_solid_line_curve.png create mode 100644 streetsmod/textures/streets_rw_solid_line_tjunction.png create mode 100644 streetsmod/textures/streets_rw_transparent.png create mode 100644 streetsmod/textures/streets_sign_back.png create mode 100644 streetsmod/textures/streets_sign_construction.png create mode 100644 streetsmod/textures/streets_sign_lava.png create mode 100644 streetsmod/textures/streets_sign_water.png create mode 100644 streetsmod/textures/streets_signworkshop_bottom.png create mode 100644 streetsmod/textures/streets_signworkshop_front.png create mode 100644 streetsmod/textures/streets_signworkshop_side.png create mode 100644 streetsmod/textures/streets_signworkshop_top.png create mode 100644 streetsmod/textures/streets_sos_bottom.png create mode 100644 streetsmod/textures/streets_sos_front.png create mode 100644 streetsmod/textures/streets_sos_side.png create mode 100644 streetsmod/textures/streets_sos_top.png create mode 100644 streetsmod/textures/streets_support.png create mode 100644 streetsmod/textures/streets_tl_bg.png create mode 100644 streetsmod/textures/streets_tl_green.png create mode 100644 streetsmod/textures/streets_tl_off.png create mode 100644 streetsmod/textures/streets_tl_red.png create mode 100644 streetsmod/textures/streets_tl_redyellow.png create mode 100644 streetsmod/textures/streets_tl_warn.png create mode 100644 streetsmod/textures/streets_tl_yellow.png create mode 100644 streetsmod/textures/streets_trafficlight_inv.png (limited to 'streetsmod') diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe new file mode 100644 index 0000000..aa30fc6 --- /dev/null +++ b/streetsmod/nodeboxes/trafficlight.nbe @@ -0,0 +1,17 @@ +MINETEST NODEBOX EDITOR +PARSER 1 +NAME test + +NODE node1 +POSITION 0 0 0 +NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75 +NODEBOX nodebox2 -0.0625 0.375 0.32 0.0625 0.429368 0.51 +NODEBOX nodebox3 -0.0625 0.0625 0.32 0.0625 0.125 0.51 +NODEBOX nodebox4 -0.0625 -0.25 0.32 0.0625 -0.1875 0.51 +NODEBOX nodebox5 0.0512648 0.32 0.32 0.113765 0.38 0.5 +NODEBOX nodebox6 -0.131446 0.32 0.32 -0.0689464 0.38 0.5 +NODEBOX nodebox7 0.0571587 0.001 0.32 0.119659 0.06 0.53 +NODEBOX nodebox8 -0.131446 0.001 0.32 -0.0689464 0.06 0.53 +NODEBOX nodebox9 0.0571587 -0.31 0.32 0.119659 -0.25 0.539972 +NODEBOX nodebox10 -0.125553 -0.31 0.32 -0.0630526 -0.25 0.60652 +END NODE \ No newline at end of file diff --git a/streetsmod/textures/streets_arrow_alldirs.png b/streetsmod/textures/streets_arrow_alldirs.png new file mode 100644 index 0000000..c31eeaa Binary files /dev/null and b/streetsmod/textures/streets_arrow_alldirs.png differ diff --git a/streetsmod/textures/streets_arrow_left.png b/streetsmod/textures/streets_arrow_left.png new file mode 100644 index 0000000..d33a5eb Binary files /dev/null and b/streetsmod/textures/streets_arrow_left.png differ diff --git a/streetsmod/textures/streets_arrow_right.png b/streetsmod/textures/streets_arrow_right.png new file mode 100644 index 0000000..ae6450d Binary files /dev/null and b/streetsmod/textures/streets_arrow_right.png differ diff --git a/streetsmod/textures/streets_arrow_straight.png b/streetsmod/textures/streets_arrow_straight.png new file mode 100644 index 0000000..d4899b9 Binary files /dev/null and b/streetsmod/textures/streets_arrow_straight.png differ diff --git a/streetsmod/textures/streets_arrow_straight_left.png b/streetsmod/textures/streets_arrow_straight_left.png new file mode 100644 index 0000000..2f5ddce Binary files /dev/null and b/streetsmod/textures/streets_arrow_straight_left.png differ diff --git a/streetsmod/textures/streets_arrow_straight_right.png b/streetsmod/textures/streets_arrow_straight_right.png new file mode 100644 index 0000000..661d4bf Binary files /dev/null and b/streetsmod/textures/streets_arrow_straight_right.png differ diff --git a/streetsmod/textures/streets_asphalt.png b/streetsmod/textures/streets_asphalt.png new file mode 100644 index 0000000..9210759 Binary files /dev/null and b/streetsmod/textures/streets_asphalt.png differ diff --git a/streetsmod/textures/streets_asphalt_dashed_line.png b/streetsmod/textures/streets_asphalt_dashed_line.png new file mode 100644 index 0000000..5a13fac Binary files /dev/null and b/streetsmod/textures/streets_asphalt_dashed_line.png differ diff --git a/streetsmod/textures/streets_asphalt_outer_edge.png b/streetsmod/textures/streets_asphalt_outer_edge.png new file mode 100644 index 0000000..53c1489 Binary files /dev/null and b/streetsmod/textures/streets_asphalt_outer_edge.png differ diff --git a/streetsmod/textures/streets_asphalt_side.png b/streetsmod/textures/streets_asphalt_side.png new file mode 100644 index 0000000..9edce81 Binary files /dev/null and b/streetsmod/textures/streets_asphalt_side.png differ diff --git a/streetsmod/textures/streets_asphalt_side_r.png b/streetsmod/textures/streets_asphalt_side_r.png new file mode 100644 index 0000000..a067fda Binary files /dev/null and b/streetsmod/textures/streets_asphalt_side_r.png differ diff --git a/streetsmod/textures/streets_asphalt_solid_line.png b/streetsmod/textures/streets_asphalt_solid_line.png new file mode 100644 index 0000000..0353aed Binary files /dev/null and b/streetsmod/textures/streets_asphalt_solid_line.png differ diff --git a/streetsmod/textures/streets_concrete.png b/streetsmod/textures/streets_concrete.png new file mode 100644 index 0000000..89c7e78 Binary files /dev/null and b/streetsmod/textures/streets_concrete.png differ diff --git a/streetsmod/textures/streets_delineator.png b/streetsmod/textures/streets_delineator.png new file mode 100644 index 0000000..ae69f2e Binary files /dev/null and b/streetsmod/textures/streets_delineator.png differ diff --git a/streetsmod/textures/streets_delineator_top.png b/streetsmod/textures/streets_delineator_top.png new file mode 100644 index 0000000..3551ffe Binary files /dev/null and b/streetsmod/textures/streets_delineator_top.png differ diff --git a/streetsmod/textures/streets_fence_bottom.png b/streetsmod/textures/streets_fence_bottom.png new file mode 100644 index 0000000..67e572f Binary files /dev/null and b/streetsmod/textures/streets_fence_bottom.png differ diff --git a/streetsmod/textures/streets_fence_fromtop.png b/streetsmod/textures/streets_fence_fromtop.png new file mode 100644 index 0000000..f4c0e23 Binary files /dev/null and b/streetsmod/textures/streets_fence_fromtop.png differ diff --git a/streetsmod/textures/streets_fence_inv.png b/streetsmod/textures/streets_fence_inv.png new file mode 100644 index 0000000..0446f12 Binary files /dev/null and b/streetsmod/textures/streets_fence_inv.png differ diff --git a/streetsmod/textures/streets_fence_top.png b/streetsmod/textures/streets_fence_top.png new file mode 100644 index 0000000..43a3613 Binary files /dev/null and b/streetsmod/textures/streets_fence_top.png differ diff --git a/streetsmod/textures/streets_lampcontroller_bottom.png b/streetsmod/textures/streets_lampcontroller_bottom.png new file mode 100644 index 0000000..cdd5b40 Binary files /dev/null and b/streetsmod/textures/streets_lampcontroller_bottom.png differ diff --git a/streetsmod/textures/streets_lampcontroller_sides.png b/streetsmod/textures/streets_lampcontroller_sides.png new file mode 100644 index 0000000..39e9960 Binary files /dev/null and b/streetsmod/textures/streets_lampcontroller_sides.png differ diff --git a/streetsmod/textures/streets_lampcontroller_top.png b/streetsmod/textures/streets_lampcontroller_top.png new file mode 100644 index 0000000..cee87b3 Binary files /dev/null and b/streetsmod/textures/streets_lampcontroller_top.png differ diff --git a/streetsmod/textures/streets_lamps_basi_inv.png b/streetsmod/textures/streets_lamps_basi_inv.png new file mode 100644 index 0000000..5c31236 Binary files /dev/null and b/streetsmod/textures/streets_lamps_basi_inv.png differ diff --git a/streetsmod/textures/streets_lamps_basic_bottom.png b/streetsmod/textures/streets_lamps_basic_bottom.png new file mode 100644 index 0000000..07d123f Binary files /dev/null and b/streetsmod/textures/streets_lamps_basic_bottom.png differ diff --git a/streetsmod/textures/streets_lamps_basic_middle.png b/streetsmod/textures/streets_lamps_basic_middle.png new file mode 100644 index 0000000..1370765 Binary files /dev/null and b/streetsmod/textures/streets_lamps_basic_middle.png differ diff --git a/streetsmod/textures/streets_lamps_basic_top.png b/streetsmod/textures/streets_lamps_basic_top.png new file mode 100644 index 0000000..355f50d Binary files /dev/null and b/streetsmod/textures/streets_lamps_basic_top.png differ diff --git a/streetsmod/textures/streets_lamps_basic_top_top.png b/streetsmod/textures/streets_lamps_basic_top_top.png new file mode 100644 index 0000000..4d6bf22 Binary files /dev/null and b/streetsmod/textures/streets_lamps_basic_top_top.png differ diff --git a/streetsmod/textures/streets_manhole.png b/streetsmod/textures/streets_manhole.png new file mode 100644 index 0000000..13dd9ce Binary files /dev/null and b/streetsmod/textures/streets_manhole.png differ diff --git a/streetsmod/textures/streets_manhole_advanced.png b/streetsmod/textures/streets_manhole_advanced.png new file mode 100644 index 0000000..a8f876d Binary files /dev/null and b/streetsmod/textures/streets_manhole_advanced.png differ diff --git a/streetsmod/textures/streets_parking.png b/streetsmod/textures/streets_parking.png new file mode 100644 index 0000000..a091ef5 Binary files /dev/null and b/streetsmod/textures/streets_parking.png differ diff --git a/streetsmod/textures/streets_pole.png b/streetsmod/textures/streets_pole.png new file mode 100644 index 0000000..3fbed28 Binary files /dev/null and b/streetsmod/textures/streets_pole.png differ diff --git a/streetsmod/textures/streets_pole_inv.png b/streetsmod/textures/streets_pole_inv.png new file mode 100644 index 0000000..fce2292 Binary files /dev/null and b/streetsmod/textures/streets_pole_inv.png differ diff --git a/streetsmod/textures/streets_rw_arrow_alldirs.png b/streetsmod/textures/streets_rw_arrow_alldirs.png new file mode 100644 index 0000000..532280e Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_alldirs.png differ diff --git a/streetsmod/textures/streets_rw_arrow_left.png b/streetsmod/textures/streets_rw_arrow_left.png new file mode 100644 index 0000000..6a51a51 Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_left.png differ diff --git a/streetsmod/textures/streets_rw_arrow_right.png b/streetsmod/textures/streets_rw_arrow_right.png new file mode 100644 index 0000000..05f503f Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_right.png differ diff --git a/streetsmod/textures/streets_rw_arrow_straight.png b/streetsmod/textures/streets_rw_arrow_straight.png new file mode 100644 index 0000000..0c9e613 Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_straight.png differ diff --git a/streetsmod/textures/streets_rw_arrow_straight_left.png b/streetsmod/textures/streets_rw_arrow_straight_left.png new file mode 100644 index 0000000..0429c81 Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_straight_left.png differ diff --git a/streetsmod/textures/streets_rw_arrow_straight_right.png b/streetsmod/textures/streets_rw_arrow_straight_right.png new file mode 100644 index 0000000..02367d7 Binary files /dev/null and b/streetsmod/textures/streets_rw_arrow_straight_right.png differ diff --git a/streetsmod/textures/streets_rw_asphalt_side.png b/streetsmod/textures/streets_rw_asphalt_side.png new file mode 100644 index 0000000..83c8a6e Binary files /dev/null and b/streetsmod/textures/streets_rw_asphalt_side.png differ diff --git a/streetsmod/textures/streets_rw_cross.png b/streetsmod/textures/streets_rw_cross.png new file mode 100644 index 0000000..a1f34b0 Binary files /dev/null and b/streetsmod/textures/streets_rw_cross.png differ diff --git a/streetsmod/textures/streets_rw_dashed_line.png b/streetsmod/textures/streets_rw_dashed_line.png new file mode 100644 index 0000000..4eb211e Binary files /dev/null and b/streetsmod/textures/streets_rw_dashed_line.png differ diff --git a/streetsmod/textures/streets_rw_dashed_line_crossing.png b/streetsmod/textures/streets_rw_dashed_line_crossing.png new file mode 100644 index 0000000..bebe4c5 Binary files /dev/null and b/streetsmod/textures/streets_rw_dashed_line_crossing.png differ diff --git a/streetsmod/textures/streets_rw_dashed_line_curve.png b/streetsmod/textures/streets_rw_dashed_line_curve.png new file mode 100644 index 0000000..4a59805 Binary files /dev/null and b/streetsmod/textures/streets_rw_dashed_line_curve.png differ diff --git a/streetsmod/textures/streets_rw_dashed_line_tjunction.png b/streetsmod/textures/streets_rw_dashed_line_tjunction.png new file mode 100644 index 0000000..144480b Binary files /dev/null and b/streetsmod/textures/streets_rw_dashed_line_tjunction.png differ diff --git a/streetsmod/textures/streets_rw_outer_edge.png b/streetsmod/textures/streets_rw_outer_edge.png new file mode 100644 index 0000000..54f16ea Binary files /dev/null and b/streetsmod/textures/streets_rw_outer_edge.png differ diff --git a/streetsmod/textures/streets_rw_parking.png b/streetsmod/textures/streets_rw_parking.png new file mode 100644 index 0000000..aea7fb5 Binary files /dev/null and b/streetsmod/textures/streets_rw_parking.png differ diff --git a/streetsmod/textures/streets_rw_solid_line.png b/streetsmod/textures/streets_rw_solid_line.png new file mode 100644 index 0000000..3396d63 Binary files /dev/null and b/streetsmod/textures/streets_rw_solid_line.png differ diff --git a/streetsmod/textures/streets_rw_solid_line_crossing.png b/streetsmod/textures/streets_rw_solid_line_crossing.png new file mode 100644 index 0000000..4f911ed Binary files /dev/null and b/streetsmod/textures/streets_rw_solid_line_crossing.png differ diff --git a/streetsmod/textures/streets_rw_solid_line_curve.png b/streetsmod/textures/streets_rw_solid_line_curve.png new file mode 100644 index 0000000..596983c Binary files /dev/null and b/streetsmod/textures/streets_rw_solid_line_curve.png differ diff --git a/streetsmod/textures/streets_rw_solid_line_tjunction.png b/streetsmod/textures/streets_rw_solid_line_tjunction.png new file mode 100644 index 0000000..e6d11e7 Binary files /dev/null and b/streetsmod/textures/streets_rw_solid_line_tjunction.png differ diff --git a/streetsmod/textures/streets_rw_transparent.png b/streetsmod/textures/streets_rw_transparent.png new file mode 100644 index 0000000..9f466f4 Binary files /dev/null and b/streetsmod/textures/streets_rw_transparent.png differ diff --git a/streetsmod/textures/streets_sign_back.png b/streetsmod/textures/streets_sign_back.png new file mode 100644 index 0000000..77d4210 Binary files /dev/null and b/streetsmod/textures/streets_sign_back.png differ diff --git a/streetsmod/textures/streets_sign_construction.png b/streetsmod/textures/streets_sign_construction.png new file mode 100644 index 0000000..f2c2455 Binary files /dev/null and b/streetsmod/textures/streets_sign_construction.png differ diff --git a/streetsmod/textures/streets_sign_lava.png b/streetsmod/textures/streets_sign_lava.png new file mode 100644 index 0000000..e80f8e2 Binary files /dev/null and b/streetsmod/textures/streets_sign_lava.png differ diff --git a/streetsmod/textures/streets_sign_water.png b/streetsmod/textures/streets_sign_water.png new file mode 100644 index 0000000..b941817 Binary files /dev/null and b/streetsmod/textures/streets_sign_water.png differ diff --git a/streetsmod/textures/streets_signworkshop_bottom.png b/streetsmod/textures/streets_signworkshop_bottom.png new file mode 100644 index 0000000..022bb2c Binary files /dev/null and b/streetsmod/textures/streets_signworkshop_bottom.png differ diff --git a/streetsmod/textures/streets_signworkshop_front.png b/streetsmod/textures/streets_signworkshop_front.png new file mode 100644 index 0000000..83317b1 Binary files /dev/null and b/streetsmod/textures/streets_signworkshop_front.png differ diff --git a/streetsmod/textures/streets_signworkshop_side.png b/streetsmod/textures/streets_signworkshop_side.png new file mode 100644 index 0000000..509a3e3 Binary files /dev/null and b/streetsmod/textures/streets_signworkshop_side.png differ diff --git a/streetsmod/textures/streets_signworkshop_top.png b/streetsmod/textures/streets_signworkshop_top.png new file mode 100644 index 0000000..07f4f06 Binary files /dev/null and b/streetsmod/textures/streets_signworkshop_top.png differ diff --git a/streetsmod/textures/streets_sos_bottom.png b/streetsmod/textures/streets_sos_bottom.png new file mode 100644 index 0000000..0437ef1 Binary files /dev/null and b/streetsmod/textures/streets_sos_bottom.png differ diff --git a/streetsmod/textures/streets_sos_front.png b/streetsmod/textures/streets_sos_front.png new file mode 100644 index 0000000..ea524dd Binary files /dev/null and b/streetsmod/textures/streets_sos_front.png differ diff --git a/streetsmod/textures/streets_sos_side.png b/streetsmod/textures/streets_sos_side.png new file mode 100644 index 0000000..af83757 Binary files /dev/null and b/streetsmod/textures/streets_sos_side.png differ diff --git a/streetsmod/textures/streets_sos_top.png b/streetsmod/textures/streets_sos_top.png new file mode 100644 index 0000000..4683430 Binary files /dev/null and b/streetsmod/textures/streets_sos_top.png differ diff --git a/streetsmod/textures/streets_support.png b/streetsmod/textures/streets_support.png new file mode 100644 index 0000000..610a38a Binary files /dev/null and b/streetsmod/textures/streets_support.png differ diff --git a/streetsmod/textures/streets_tl_bg.png b/streetsmod/textures/streets_tl_bg.png new file mode 100644 index 0000000..f0bba98 Binary files /dev/null and b/streetsmod/textures/streets_tl_bg.png differ diff --git a/streetsmod/textures/streets_tl_green.png b/streetsmod/textures/streets_tl_green.png new file mode 100644 index 0000000..014b118 Binary files /dev/null and b/streetsmod/textures/streets_tl_green.png differ diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png new file mode 100644 index 0000000..16621e7 Binary files /dev/null and b/streetsmod/textures/streets_tl_off.png differ diff --git a/streetsmod/textures/streets_tl_red.png b/streetsmod/textures/streets_tl_red.png new file mode 100644 index 0000000..2481a86 Binary files /dev/null and b/streetsmod/textures/streets_tl_red.png differ diff --git a/streetsmod/textures/streets_tl_redyellow.png b/streetsmod/textures/streets_tl_redyellow.png new file mode 100644 index 0000000..0a85622 Binary files /dev/null and b/streetsmod/textures/streets_tl_redyellow.png differ diff --git a/streetsmod/textures/streets_tl_warn.png b/streetsmod/textures/streets_tl_warn.png new file mode 100644 index 0000000..8b4da58 Binary files /dev/null and b/streetsmod/textures/streets_tl_warn.png differ diff --git a/streetsmod/textures/streets_tl_yellow.png b/streetsmod/textures/streets_tl_yellow.png new file mode 100644 index 0000000..3666cae Binary files /dev/null and b/streetsmod/textures/streets_tl_yellow.png differ diff --git a/streetsmod/textures/streets_trafficlight_inv.png b/streetsmod/textures/streets_trafficlight_inv.png new file mode 100644 index 0000000..fb76b72 Binary files /dev/null and b/streetsmod/textures/streets_trafficlight_inv.png differ -- cgit v1.2.3 From 15713246f247113af85cb8f782a2c4e371443f3d Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 15:01:04 +0200 Subject: prepare translations --- streetsmod/init.lua | 2 +- streetsmod/locale/de.txt | 48 ++++++++++++++++++++++++++++++++++++-- streetsmod/locale/template.txt.txt | 46 +++++++++++++++++++++++++++++++++++- 3 files changed, 92 insertions(+), 4 deletions(-) (limited to 'streetsmod') diff --git a/streetsmod/init.lua b/streetsmod/init.lua index b737da7..d625e5b 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -64,7 +64,7 @@ return math.floor(num * mult + 0.5) / mult end minetest.register_chatcommand("streets",{ - description = "Check version of you installed StreetsMod and find information", + description = "Check version of your installed StreetsMod and find information", func = function(name,param) minetest.show_formspec(name, "streets:streetsform", table.concat({ "size[10,6]", diff --git a/streetsmod/locale/de.txt b/streetsmod/locale/de.txt index 499d8f3..21fd9c4 100644 --- a/streetsmod/locale/de.txt +++ b/streetsmod/locale/de.txt @@ -1,3 +1,47 @@ # Translation file GERMAN -Setup completed, have fun with StreetsMod=Laden abgeschlossen, viel Spass mit StreetsMod -Creating variables and tables...=Erstelle Variablen und Tabellen... \ No newline at end of file +Setup completed, have fun with StreetsMod=Setup abgeschlossen, viel Spaß mit StreetsMod +Creating variables and tables...=Erstelle Variablen und Tabellen... +Checking installed mods...=Ueberpruefe installierte Mods +Check version of your installed StreetsMod and find information=Ueberpruefe die installierte StreetsMod Version und weitere Infos +Asphalt=Asphalt +Asphalt stair=Asphalt Treppe +Asphalt slab=Asphalt Platte +Construction fence=Bauzaun +Delineator=Leitpfosten +Emergency Phone=Notrufsaeule +Asphalt with sideline=Asphalt mit Seitenlinie +Asphalt with solid line=Asphalt with durchgezogener Linie +Asphalt with dashed line=Asphalt mit unterbrochener Linie +Asphalt with sideline (edge)=Asphalt mit Seitenlinie (Ecke) +Asphalt with parking label=Asphalt mit Parkplatzsymbol +Asphalt with arrow=Asphalt mit Richtungspfeil +Simple manhole=Einfacher Gulli +Advanced manhole=Gulli +Pole=Stange +Empty sign=Leeres Schild +Warning sign (lava)=Gefahrenschild Lava +Warning sign (water)=Gefahrenschild Wasser +Warning sign (Construction area)=Gefahrenschild Baustelle +Warning: Careful of lava=Achtung: Lava +Warning: Water nearby=Achtung: Wasser +Warning: Construction area, possible deep excavations=Achtung Baustelle, eventuell tiefe Graeben +Sign workshop - Create signs for your roads=Schilderworkshop - Baue Schilder fuer deine Strassen +Available signs=Verfuegbare Schilder +Needed stuff=Benoetigt +Put it here=Rohstoffe +Selected=Ausgewaehlt +Output=Ausgabe +Sign workshop=Schilderworkshop +Sign workshop idle=Schilderworkshop bereit +Sign workshop working=Schilderworkshop arbeitet +Solid line (yellow)=Durchgezogene Linie (gelb) +Dashed line (yellow)=Unterbrochene Linie (gelb) +Cross (yellow)=Kreuz (gelb) +Outer edge (yellow)=Ecklinie (gelb) +Parking (yellow)=Parkplatzsymbol (gelb) +Arrow (yellow)=Pfeil (gelb) +Steel support=Stahlrahmen +Street lamp=Strassenlampe +Concrete wall=Betonwand +Concrete=Beton +Trafficlight=Ampel \ No newline at end of file diff --git a/streetsmod/locale/template.txt.txt b/streetsmod/locale/template.txt.txt index 8a4c1c2..d03801c 100644 --- a/streetsmod/locale/template.txt.txt +++ b/streetsmod/locale/template.txt.txt @@ -1,3 +1,47 @@ # Translation file for StreetsMod might not be up-to-date. Setup completed, have fun with StreetsMod= - Creating variables and tables...= \ No newline at end of file +Creating variables and tables...= +Checking installed mods...= +Check version of your installed StreetsMod and find information= +Asphalt= +Asphalt stair= +Asphalt slab= +Construction fence= +Delineator= +Emergency Phone= +Asphalt with sideline= +Asphalt with solid line= +Asphalt with dashed line= +Asphalt with sideline (edge)= +Asphalt with parking label= +Asphalt with arrow= +Simple manhole= +Advanced manhole= +Pole= +Empty sign= +Warning sign (lava)= +Warning sign (water)= +Warning sign (Construction area)= +Warning: Careful of lava= +Warning: Water nearby= +Warning: Construction area, possible deep excavations= +Sign workshop - Create signs for your roads= +Available signs= +Needed stuff= +Put it here= +Selected= +Output= +Sign workshop= +Sign workshop idle= +Sign workshop working= +Solid line (yellow)= +Dashed line (yellow)= +Cross (yellow)= +Outer edge (yellow)= +Parking (yellow)= +Arrow (yellow)= +Steel support= +Street lamp= +Concrete wall= +Concrete= +Trafficlight= \ No newline at end of file -- cgit v1.2.3 From df403a88ebe620d1deab0acbf90f54b0e9bd0394 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 15:13:59 +0200 Subject: regexp all descriptions to use S() --- streetsmod/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streetsmod') diff --git a/streetsmod/init.lua b/streetsmod/init.lua index d625e5b..006dc25 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -64,7 +64,7 @@ return math.floor(num * mult + 0.5) / mult end minetest.register_chatcommand("streets",{ - description = "Check version of your installed StreetsMod and find information", + description = S("Check version of your installed StreetsMod and find information"), func = function(name,param) minetest.show_formspec(name, "streets:streetsform", table.concat({ "size[10,6]", -- cgit v1.2.3 From 40c7431e51e6bd22e3b02b4820cced48a06372ae Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 22:21:41 +0200 Subject: add smartfs library by @rubenwardy for later use --- streetsmod/libs/smartfs | 1 + 1 file changed, 1 insertion(+) create mode 160000 streetsmod/libs/smartfs (limited to 'streetsmod') diff --git a/streetsmod/libs/smartfs b/streetsmod/libs/smartfs new file mode 160000 index 0000000..c700a12 --- /dev/null +++ b/streetsmod/libs/smartfs @@ -0,0 +1 @@ +Subproject commit c700a1234606a8b5341611748d70b6578cabc367 -- cgit v1.2.3 From 2177d864cc6dda6f3a641ca3aabe08b6457b570a Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Mon, 14 Apr 2014 17:39:09 +0200 Subject: hotfix for #11 --- streetsmod/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streetsmod') diff --git a/streetsmod/init.lua b/streetsmod/init.lua index 006dc25..ac67614 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -7,7 +7,7 @@ ]] -- kaeza: intllib -- Boilerplate to support localized strings if intllib mod is installed. - local S + -- local S if (minetest.get_modpath("intllib")) then dofile(minetest.get_modpath("intllib").."/intllib.lua") S = intllib.Getter(minetest.get_current_modname()) -- cgit v1.2.3