Commits

Juha Kuitunen committed 268d7f2

fixed issue #48

Comments (0)

Files changed (1)

src/com/saibotd/bitbeaker/UpdateIssueActivity.java

 			typeSpinner.setAdapter(typeSpinnerArrayAdapter);
 			int type_index = 0;
 			for (String type : typeOptions) {
-				if (type.equalsIgnoreCase(initialType)) {
+				if (Helper.translatedApiStrings.getByValue(type).equalsIgnoreCase(initialType)) {
 					break;
 				}
 				++type_index;
 			prioritySpinner.setAdapter(prioritySpinnerArrayAdapter);
 			int priority_index = 0;
 			for (String priority : priorityOptions) {
-				if (priority.equalsIgnoreCase(initialPriority)) {
+				if (Helper.translatedApiStrings.getByValue(priority).equalsIgnoreCase(initialPriority)) {
 					break;
 				}
 				++priority_index;
 			statusSpinner.setAdapter(statusSpinnerArrayAdapter);
 			int status_index = 0;
 			for (String status : statusOptions) {
-				if (status.equalsIgnoreCase(initialStatus)) {
+				if (Helper.translatedApiStrings.getByValue(status).equalsIgnoreCase(initialStatus)) {
 					break;
 				}
 				++status_index;