Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Fix translations texts
Browse files Browse the repository at this point in the history
Signed-off-by: micrusa <micrusa@hotmail.es>
  • Loading branch information
micrusa committed Apr 15, 2020
1 parent 2e7bcf4 commit 7bb1295
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/src/main/java/me/micrusa/amaztimer/widget.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class widget extends AbstractPlugin {
private int v;
//Define items
private Button plus, plus2, plus3, minus, minus2, minus3, start, cancel;
private TextView sets, rest, work, time, hr, rSets, status, settingstext;
private TextView sets, rest, work, time, hr, rSets, status, settingstext, setsText, workText, restText;
private ConstraintLayout L1, L2;
//Define timers and timer booleans
private CountDownTimer workTimer;
Expand Down Expand Up @@ -255,6 +255,9 @@ private void init(){
rSets = this.mView.findViewById(R.id.remSets);
status = this.mView.findViewById(R.id.status);
settingstext = this.mView.findViewById(R.id.textView);
setsText = this.mView.findViewById(R.id.textView4);
workText = this.mView.findViewById(R.id.textView5);
restText = this.mView.findViewById(R.id.textView6);
//Layouts
L1 = this.mView.findViewById(R.id.startScreen);
L2 = this.mView.findViewById(R.id.timerScreen);
Expand All @@ -264,9 +267,9 @@ private void setTexts(){
this.init();
start.setText(res.getString(R.string.start));
cancel.setText(res.getString(R.string.cancel));
sets.setText(res.getString(R.string.sets));
rest.setText(res.getString(R.string.rest));
work.setText(res.getString(R.string.work));
setsText.setText(res.getString(R.string.sets));
workText.setText(res.getString(R.string.work));
restText.setText(res.getString(R.string.rest));
settingstext.setText(res.getString(R.string.startsettings));
}

Expand Down

0 comments on commit 7bb1295

Please sign in to comment.