mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-04 18:44:00 +01:00
Added code to generate new english.pot file and some tools to ease
transition of existing translations towards the new content.
This commit is contained in:
42
src/net/launchpad/tobal/poparser/POLine.java
Normal file
42
src/net/launchpad/tobal/poparser/POLine.java
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
*
|
||||
* @author Balázs Tóth (tobal17@gmail.com)
|
||||
*
|
||||
* Modified by Kevin POCHAT for ATCS
|
||||
*/
|
||||
package net.launchpad.tobal.poparser;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
public class POLine
|
||||
{
|
||||
private POEntry.StringType type;
|
||||
private Vector<String> strings;
|
||||
|
||||
POLine(POEntry.StringType type, String string)
|
||||
{
|
||||
this.type = type;
|
||||
this.strings = new Vector<String>();
|
||||
this.strings.add(string);
|
||||
}
|
||||
|
||||
public void addString(String string)
|
||||
{
|
||||
strings.add(string);
|
||||
}
|
||||
|
||||
public Vector<String> getStrings()
|
||||
{
|
||||
return strings;
|
||||
}
|
||||
|
||||
public POEntry.StringType getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
public int getVectorSize()
|
||||
{
|
||||
return strings.size();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user