Merge remote-tracking branch 'origin/master'
# Conflicts: # core/assets/bundles/bundle_fr.properties
This commit is contained in:
@@ -36,6 +36,8 @@ text.sector.deploy=Se déployer
|
|||||||
text.sector.resume=Reprendre
|
text.sector.resume=Reprendre
|
||||||
text.sector.locked=[scarlet][[Incomplet]
|
text.sector.locked=[scarlet][[Incomplet]
|
||||||
text.sector.unexplored=[accent][[Inexploré]
|
text.sector.unexplored=[accent][[Inexploré]
|
||||||
|
|
||||||
|
text.missions=Missions:[LIGHT_GRAY] {0}
|
||||||
text.mission=Mission:[LIGHT_GRAY] {0}
|
text.mission=Mission:[LIGHT_GRAY] {0}
|
||||||
text.mission.info=Infos sur la Mission
|
text.mission.info=Infos sur la Mission
|
||||||
text.mission.complete=Mission terminée!
|
text.mission.complete=Mission terminée!
|
||||||
@@ -464,6 +466,8 @@ text.mech.itemcapacity=[LIGHT_GRAY]Capacité de stockage: {0}
|
|||||||
text.mech.minespeed=[LIGHT_GRAY]Vitesse de minage: {0}
|
text.mech.minespeed=[LIGHT_GRAY]Vitesse de minage: {0}
|
||||||
text.mech.minepower=[LIGHT_GRAY]Puissance du minage: {0}
|
text.mech.minepower=[LIGHT_GRAY]Puissance du minage: {0}
|
||||||
text.mech.ability=[LIGHT_GRAY]Compétence: {0}
|
text.mech.ability=[LIGHT_GRAY]Compétence: {0}
|
||||||
|
|
||||||
|
block.spawn.name=Générateur d'ennemi
|
||||||
block.core.name=Base
|
block.core.name=Base
|
||||||
block.metalfloor.name=Sol en métal
|
block.metalfloor.name=Sol en métal
|
||||||
block.copper-wall.name=Mur de cuivre
|
block.copper-wall.name=Mur de cuivre
|
||||||
@@ -631,7 +635,6 @@ text.sector.retry=Retry
|
|||||||
text.wave.lasted=You lasted until wave [accent]{0}[].
|
text.wave.lasted=You lasted until wave [accent]{0}[].
|
||||||
text.map.delete=Are you sure you want to delete the map "[orange]{0}[]"?
|
text.map.delete=Are you sure you want to delete the map "[orange]{0}[]"?
|
||||||
text.deconstruction.title=Block Deconstruction Guide
|
text.deconstruction.title=Block Deconstruction Guide
|
||||||
text.missions=Missions:[LIGHT_GRAY] {0}
|
|
||||||
text.server.kicked.serverClose=Server closed.
|
text.server.kicked.serverClose=Server closed.
|
||||||
text.blocks.inputitem=Input Item
|
text.blocks.inputitem=Input Item
|
||||||
text.blocks.inputcapacity=Input capacity
|
text.blocks.inputcapacity=Input capacity
|
||||||
@@ -644,7 +647,6 @@ keybind.press.axis=Press an axis or key...
|
|||||||
keybind.deselect.name=Deselect
|
keybind.deselect.name=Deselect
|
||||||
item.silcion.description=An extremely useful semiconductor, with applications in solar panels and many complex electronics.
|
item.silcion.description=An extremely useful semiconductor, with applications in solar panels and many complex electronics.
|
||||||
item.biomatter.description=A clump of organic mush; used for conversion into oil or as a basic fuel.
|
item.biomatter.description=A clump of organic mush; used for conversion into oil or as a basic fuel.
|
||||||
block.spawn.name=Enemy Spawn
|
|
||||||
block.sorter.name=Sorter
|
block.sorter.name=Sorter
|
||||||
block.smelter.name=Smelter
|
block.smelter.name=Smelter
|
||||||
block.fortress-factory.name=Fortress Mech Factory
|
block.fortress-factory.name=Fortress Mech Factory
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import java.io.File;
|
|||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
|
import java.nio.charset.Charset;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.nio.file.Paths;
|
import java.nio.file.Paths;
|
||||||
@@ -29,7 +30,7 @@ public class BundleLauncher {
|
|||||||
Log.info("Parsing bundle: {0}", child);
|
Log.info("Parsing bundle: {0}", child);
|
||||||
|
|
||||||
OrderedMap<String, String> other = new OrderedMap<>();
|
OrderedMap<String, String> other = new OrderedMap<>();
|
||||||
PropertiesUtils.load(other, Files.newBufferedReader(child));
|
PropertiesUtils.load(other, Files.newBufferedReader(child, Charset.forName("UTF-8")));
|
||||||
removals.clear();
|
removals.clear();
|
||||||
|
|
||||||
for(String key : other.orderedKeys()){
|
for(String key : other.orderedKeys()){
|
||||||
@@ -62,7 +63,7 @@ public class BundleLauncher {
|
|||||||
result.append(e.toString().replace("\\", "\\\\").replace("\n", "\\n"));
|
result.append(e.toString().replace("\\", "\\\\").replace("\n", "\\n"));
|
||||||
result.append("\n");
|
result.append("\n");
|
||||||
}
|
}
|
||||||
Files.write(child, result.toString().getBytes());
|
Files.write(child, result.toString().getBytes("UTF-8"));
|
||||||
|
|
||||||
}catch (IOException e){
|
}catch (IOException e){
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user