diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java | 14 | ||||
-rw-r--r-- | app/src/main/res/values-es/arrays.xml | 18 |
2 files changed, 0 insertions, 32 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java b/app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java index a767ec97..28c7ecc7 100644 --- a/app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java +++ b/app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java @@ -106,18 +106,4 @@ public class UserSessionStatus extends Observable { private String capitalize(String to_be_capitalized) { return to_be_capitalized.substring(0,1).toUpperCase() + to_be_capitalized.substring(1); } - - private String conjugateToBe(String subject) { - String conjugation = ""; - String[] personal_pronouns = resources.getStringArray(R.array.personal_pronouns); - String[] verb_to_be = resources.getStringArray(R.array.verb_to_be); - for (int i = 0; i < personal_pronouns.length ; i++) - if(subject.equalsIgnoreCase(personal_pronouns[i])) { - conjugation = verb_to_be[i]; - break; - } - if(conjugation.isEmpty()) conjugation = verb_to_be[User.DEFAULT_CONJUGATION_PERSON]; - - return conjugation; - } } diff --git a/app/src/main/res/values-es/arrays.xml b/app/src/main/res/values-es/arrays.xml index 731330b2..045e125f 100644 --- a/app/src/main/res/values-es/arrays.xml +++ b/app/src/main/res/values-es/arrays.xml @@ -1,21 +1,3 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <!-- Keep the order the same as the TYPE_ constants in VPNProfile --> - <string-array name="verb_to_be"> - <item>soy</item> - <item>estás</item> - <item>está</item> - <item>estamos</item> - <item>estáis</item> - <item>están</item> - </string-array> - - <string-array name="personal_pronouns"> - <item>Yo</item> - <item>Tú</item> - <item>Él</item> - <item>Nosotros</item> - <item>Vosotros</item> - <item>Ellos</item> - </string-array> </resources> |