mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Language frequencies
This commit is contained in:
@@ -115,7 +115,7 @@ public class DeepL {
|
||||
|
||||
languages.add(new Language(name, target, formality,
|
||||
resid == 0 ? null : resid,
|
||||
favorites && frequency > 0));
|
||||
favorites && frequency > 0, frequency));
|
||||
frequencies.put(target, frequency);
|
||||
}
|
||||
|
||||
@@ -312,13 +312,15 @@ public class DeepL {
|
||||
public boolean formality;
|
||||
public Integer icon;
|
||||
public boolean favorite;
|
||||
public int frequency;
|
||||
|
||||
private Language(String name, String target, boolean formality, Integer icon, boolean favorit) {
|
||||
private Language(String name, String target, boolean formality, Integer icon, boolean favorite, int frequency) {
|
||||
this.name = name;
|
||||
this.target = target;
|
||||
this.formality = formality;
|
||||
this.icon = icon;
|
||||
this.favorite = favorit;
|
||||
this.favorite = favorite;
|
||||
this.frequency = frequency;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user