summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-04-15 10:41:59 +0200
committerParménides GV <parmegv@sdf.org>2015-04-15 10:42:34 +0200
commitc8994b645b607723bdaba4c2aa1ff0d19a9c0c13 (patch)
tree942129a0870fce168fcb788fa5d7ec21b7fae5bc /app/src/main/java/se/leap
parente522e5e325e6ed19b1316fd251f3c212a2344d7c (diff)
Set accept-language in ProviderAPI, language-country
String locale = Locale.getDefault().getLanguage() + Locale.getDefault().getCountry();
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/UserSessionStatus.java14
1 files changed, 0 insertions, 14 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;
- }
}