Small fixes with translation
This commit is contained in:
parent
ecf1de52cb
commit
f9998d6f0f
|
@ -513,8 +513,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
else
|
||||
//noinspection deprecation
|
||||
statusToTranslate = Html.fromHtml(status.getReblog() != null ?status.getReblog().getContent():status.getContent()).toString();
|
||||
|
||||
myTransL.translate(statusToTranslate, myTransL.getLocale(), new Results() {
|
||||
//TODO: removes the replaceAll once fixed with the lib
|
||||
myTransL.translate(statusToTranslate.replaceAll("%","%25"), myTransL.getLocale(), new Results() {
|
||||
@Override
|
||||
public void onSuccess(Translate translate) {
|
||||
if( translate.getTranslatedContent() != null) {
|
||||
|
|
Loading…
Reference in New Issue