Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

修复因为OmetaT默认大写LanguageCode导致腾讯云API报错 #2

Merged
merged 1 commit into from
Apr 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private String tmtLang(Language language) {
} else if (lang.equalsIgnoreCase("ko")) {
return "kr";
} else {
return language.getLanguageCode();
return language.getLanguageCode().toLowerCase();
}

}
Expand Down Expand Up @@ -115,4 +115,4 @@ protected void onConfirm() {
dialog.panel.temporaryCheckBox.setSelected(isCredentialStoredTemporarily(PROPERTY_API_SECRET_KEY));
dialog.show();
}
}
}