mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-02 14:29:07 +01:00
Need to include new locale
This commit is contained in:
parent
278c001389
commit
2c98c40519
13
pom.xml
13
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>Jobs</groupId>
|
<groupId>Jobs</groupId>
|
||||||
<artifactId>jobs</artifactId>
|
<artifactId>jobs</artifactId>
|
||||||
<version>3.8.2</version>
|
<version>3.9.0</version>
|
||||||
<name>Jobs</name>
|
<name>Jobs</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
<properties>
|
<properties>
|
||||||
@ -88,10 +88,10 @@
|
|||||||
<id>vault-repo</id>
|
<id>vault-repo</id>
|
||||||
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>mcmmo-repo</id>
|
<id>mcmmo-repo</id>
|
||||||
<url>http://repo.mcmmo.org/</url>
|
<url>http://repo.mcmmo.org/</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<!-- Builds Plugin -->
|
<!-- Builds Plugin -->
|
||||||
<build>
|
<build>
|
||||||
@ -118,6 +118,9 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.3.1</version>
|
<version>2.3.1</version>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>C:\Users\Arte\Desktop\Server\plugins</outputDirectory>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
@ -40,6 +40,7 @@ public class LanguageManager {
|
|||||||
languages.add("lt");
|
languages.add("lt");
|
||||||
languages.add("ru");
|
languages.add("ru");
|
||||||
languages.add("tr");
|
languages.add("tr");
|
||||||
|
languages.add("zhcn");
|
||||||
|
|
||||||
for (String lang : languages) {
|
for (String lang : languages) {
|
||||||
YmlMaker langFile = new YmlMaker(plugin, "locale" + File.separator + "messages_" + lang + ".yml");
|
YmlMaker langFile = new YmlMaker(plugin, "locale" + File.separator + "messages_" + lang + ".yml");
|
||||||
|
@ -924,7 +924,6 @@ public abstract class JobsDAO {
|
|||||||
* @param jobInfo - the information getting saved
|
* @param jobInfo - the information getting saved
|
||||||
*/
|
*/
|
||||||
public void save(JobsPlayer player) {
|
public void save(JobsPlayer player) {
|
||||||
Debug.D("saving player data " + player.getUserName());
|
|
||||||
JobsConnection conn = getConnection();
|
JobsConnection conn = getConnection();
|
||||||
if (conn == null)
|
if (conn == null)
|
||||||
return;
|
return;
|
||||||
|
@ -122,7 +122,7 @@ public class ActionBar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String convertAmount(double amount) {
|
private static String convertAmount(double amount) {
|
||||||
String format = "%.2f";
|
String format = "%.2f";
|
||||||
if (amount % 1 == 0 || amount > 100 || amount < -100) {
|
if (amount % 1 == 0 || amount > 100 || amount < -100) {
|
||||||
amount = (int) Math.round(amount);
|
amount = (int) Math.round(amount);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: Jobs
|
name: Jobs
|
||||||
description: Jobs Plugin for the BukkitAPI
|
description: Jobs Plugin for the BukkitAPI
|
||||||
main: com.gamingmesh.jobs.Jobs
|
main: com.gamingmesh.jobs.Jobs
|
||||||
version: 3.8.2
|
version: 3.9.0
|
||||||
author: phrstbrn
|
author: phrstbrn
|
||||||
softdepend: [Vault, iConomy, MythicMobs, McMMO]
|
softdepend: [Vault, iConomy, MythicMobs, McMMO]
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user