refactor(AkkomaTranslation.java): add the AkkomaTranslation model back

This commit is contained in:
LucasGGamerM
2025-04-16 12:51:59 -03:00
parent 043cfb9171
commit e541a99751

View File

@@ -0,0 +1,14 @@
package org.joinmastodon.android.model;
public class AkkomaTranslation extends BaseModel{
public String text;
public String detectedLanguage;
public Translation toTranslation() {
Translation translation=new Translation();
translation.content=text;
translation.detectedSourceLanguage=detectedLanguage;
translation.provider="Akkoma";
return translation;
}
}