Commit a5f38e8b authored by Massimiliano's avatar Massimiliano
Browse files

Filtered scheduled_at to be shown only on planned issue

parent 36b7932d
...@@ -246,16 +246,26 @@ public class StateMessagesActivity extends AppCompatActivity { ...@@ -246,16 +246,26 @@ public class StateMessagesActivity extends AppCompatActivity {
String humanStatusValue = humanStatus.getText().toString(); String humanStatusValue = humanStatus.getText().toString();
switch (humanStatusValue) { switch (humanStatusValue) {
case "Fixed": case "Fixed":
case "Scheduled":
humanStatus.setTextColor(Color.GREEN); humanStatus.setTextColor(Color.GREEN);
humanStatus.setText(R.string.Fixed);
scheduled.setVisibility(View.GONE );
break;
case "Scheduled":
humanStatus.setTextColor(Color.YELLOW);
humanStatus.setText(R.string.Scheduled); humanStatus.setText(R.string.Scheduled);
scheduled.setVisibility(View.VISIBLE );
break; break;
case "Investigating": case "Investigating":
humanStatus.setTextColor(Color.RED);
scheduled.setVisibility(View.GONE );
break;
case "Watching": case "Watching":
scheduled.setVisibility(View.GONE );
humanStatus.setTextColor(Color.YELLOW); humanStatus.setTextColor(Color.YELLOW);
humanStatus.setText(R.string.Investigating); humanStatus.setText(R.string.Investigating);
break; break;
case "Identified": case "Identified":
scheduled.setVisibility(View.GONE );
humanStatus.setTextColor(Color.RED); humanStatus.setTextColor(Color.RED);
humanStatus.setText(R.string.Identified); humanStatus.setText(R.string.Identified);
break; break;
......
...@@ -169,5 +169,6 @@ ...@@ -169,5 +169,6 @@
<string name="devsTitle">Entwickler:</string> <string name="devsTitle">Entwickler:</string>
<string name="translatorsTitle">Übersetzer:</string> <string name="translatorsTitle">Übersetzer:</string>
<string name="artworksTitle">Künstlerische Gestaltung:</string> <string name="artworksTitle">Künstlerische Gestaltung:</string>
<string name="Fixed">Behoben</string>
</resources> </resources>
...@@ -178,4 +178,5 @@ ...@@ -178,4 +178,5 @@
<string name="devsTitle">Desalloradorxs:</string> <string name="devsTitle">Desalloradorxs:</string>
<string name="translatorsTitle">Traductorxs:</string> <string name="translatorsTitle">Traductorxs:</string>
<string name="artworksTitle">Arte:</string> <string name="artworksTitle">Arte:</string>
<string name="Fixed">Arreglado</string>
</resources> </resources>
...@@ -215,4 +215,5 @@ ...@@ -215,4 +215,5 @@
<string name="devsTitle">Développeurs:</string> <string name="devsTitle">Développeurs:</string>
<string name="translatorsTitle">Traducteurs:</string> <string name="translatorsTitle">Traducteurs:</string>
<string name="artworksTitle">Illustrations:</string> <string name="artworksTitle">Illustrations:</string>
<string name="Fixed">Résolu</string>
</resources> </resources>
...@@ -166,4 +166,5 @@ ...@@ -166,4 +166,5 @@
<string name="devsTitle">Sviluppatori:</string> <string name="devsTitle">Sviluppatori:</string>
<string name="translatorsTitle">Traduttori:</string> <string name="translatorsTitle">Traduttori:</string>
<string name="artworksTitle">Artwork:</string> <string name="artworksTitle">Artwork:</string>
<string name="Fixed">Risolto</string>
</resources> </resources>
...@@ -179,4 +179,5 @@ ...@@ -179,4 +179,5 @@
<string name="devsTitle">Ontwikkelaars:</string> <string name="devsTitle">Ontwikkelaars:</string>
<string name="translatorsTitle">Vertalers:</string> <string name="translatorsTitle">Vertalers:</string>
<string name="artworksTitle">Artwork:</string> <string name="artworksTitle">Artwork:</string>
<string name="Fixed">Opgelost</string>
</resources> </resources>
...@@ -177,4 +177,5 @@ ...@@ -177,4 +177,5 @@
<string name="devsTitle">Programadores:</string> <string name="devsTitle">Programadores:</string>
<string name="translatorsTitle">Tradutores:</string> <string name="translatorsTitle">Tradutores:</string>
<string name="artworksTitle">Desenho:</string> <string name="artworksTitle">Desenho:</string>
<string name="Fixed">Resolvido</string>
</resources> </resources>
...@@ -178,4 +178,5 @@ ...@@ -178,4 +178,5 @@
<string name="devsTitle">Programeri:</string> <string name="devsTitle">Programeri:</string>
<string name="translatorsTitle">Prevodioci:</string> <string name="translatorsTitle">Prevodioci:</string>
<string name="artworksTitle">Crteži:</string> <string name="artworksTitle">Crteži:</string>
<string name="Fixed">Fixed</string>
</resources> </resources>
...@@ -174,4 +174,5 @@ ...@@ -174,4 +174,5 @@
<string name="devsTitle">Developers:</string> <string name="devsTitle">Developers:</string>
<string name="translatorsTitle">Translators:</string> <string name="translatorsTitle">Translators:</string>
<string name="artworksTitle">Artwork:</string> <string name="artworksTitle">Artwork:</string>
<string name="Fixed">Risolto</string>
</resources> </resources>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<changelog> <changelog>
<release version="2.0.1" versioncode="24" >
<change>Filtered scheduled_at to be shown only on planned issue</change>
</release>
<release version="2.0.0" versioncode="23" > <release version="2.0.0" versioncode="23" >
<change>New theme and icon sets</change> <change>New theme and icon sets</change>
<change>New settings menu</change> <change>New settings menu</change>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment