Skip to content

Commit

Permalink
Add support for Tagalog language (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelbe authored Jan 22, 2019
1 parent d5f8975 commit f19e29f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.github.wovnio</groupId>
<artifactId>wovnjava</artifactId>
<name>wovnjava</name>
<version>0.4.0</version>
<version>0.4.1</version>
<url>https://github.com/WOVNio/wovnjava</url>

<licenses>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/github/wovnio/wovnjava/Lang.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Lang {
map.put("tr", new Lang("Türkçe", "tr", "Turkish"));
map.put("uk", new Lang("Українська", "uk", "Ukrainian"));
map.put("vi", new Lang("Tiếng Việt", "vi", "Vietnamese"));
map.put("tl", new Lang("Tagalog", "tl", "Tagalog"));
LANG = Collections.unmodifiableMap(map);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/wovnio/wovnjava/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import javax.xml.bind.DatatypeConverter;

class Settings {
public static final String VERSION = "0.4.0";
public static final String VERSION = "0.4.1";
static final String UrlPatternRegPath = "/([^/.?]+)";
static final String UrlPatternRegQuery = "(?:(?:\\?.*&)|\\?)wovn=([^&]+)(?:&|$)";
static final String UrlPatternRegSubdomain = "^([^.]+)\\.";
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/github/wovnio/wovnjava/LangTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public void testLangsExist() {
}

public void testLangsSize() {
assertEquals(30, Lang.LANG.size());
assertEquals(31, Lang.LANG.size());
}

public void testKeyExist() {
Expand Down

0 comments on commit f19e29f

Please sign in to comment.