1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00

Need to include new locale

This commit is contained in:
Zrips 2017-05-13 16:37:06 +03:00
parent 278c001389
commit 2c98c40519
5 changed files with 11 additions and 8 deletions

13
pom.xml
View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>Jobs</groupId>
<artifactId>jobs</artifactId>
<version>3.8.2</version>
<version>3.9.0</version>
<name>Jobs</name>
<url>http://maven.apache.org</url>
<properties>
@ -88,10 +88,10 @@
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
</repository>
<repository>
<id>mcmmo-repo</id>
<url>http://repo.mcmmo.org/</url>
</repository>
<repository>
<id>mcmmo-repo</id>
<url>http://repo.mcmmo.org/</url>
</repository>
</repositories>
<!-- Builds Plugin -->
<build>
@ -118,6 +118,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>C:\Users\Arte\Desktop\Server\plugins</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -40,6 +40,7 @@ public class LanguageManager {
languages.add("lt");
languages.add("ru");
languages.add("tr");
languages.add("zhcn");
for (String lang : languages) {
YmlMaker langFile = new YmlMaker(plugin, "locale" + File.separator + "messages_" + lang + ".yml");

View File

@ -924,7 +924,6 @@ public abstract class JobsDAO {
* @param jobInfo - the information getting saved
*/
public void save(JobsPlayer player) {
Debug.D("saving player data " + player.getUserName());
JobsConnection conn = getConnection();
if (conn == null)
return;

View File

@ -122,7 +122,7 @@ public class ActionBar {
}
}
private String convertAmount(double amount) {
private static String convertAmount(double amount) {
String format = "%.2f";
if (amount % 1 == 0 || amount > 100 || amount < -100) {
amount = (int) Math.round(amount);

View File

@ -1,7 +1,7 @@
name: Jobs
description: Jobs Plugin for the BukkitAPI
main: com.gamingmesh.jobs.Jobs
version: 3.8.2
version: 3.9.0
author: phrstbrn
softdepend: [Vault, iConomy, MythicMobs, McMMO]
commands: