Skip to content

Commit

Permalink
updated texts (#307)
Browse files Browse the repository at this point in the history
* updated texts

* change file extension for export
  • Loading branch information
aniri committed Nov 29, 2020
1 parent 4e2e434 commit 942ace4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/answers/answers/answers.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class AnswersComponent implements OnInit {
this.isLoading = true;
return this.answersService.downloadAnswers(filter).subscribe(res => {
this.isLoading = false;
FileSaver.saveAs(res, 'answsers.xlsx');
FileSaver.saveAs(res, 'data.csv');
}, error => {
this.isLoading = false;
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h4>Welcome to VoteMonitor</h4>
<h6>{{ 'LOGIN' | translate }}:</h6>
<hr/>
<div class="form-group">
<label for="user">{{'PHONE_NUMBER' | translate}}</label>
<label for="user">{{'USERNAME' | translate}}</label>
<input [(ngModel)]="user" type="text" name="user" class="form-control" id="user" required>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion src/app/store/statistics/statistics.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export let statisticsConfig = [{
key: 'sesizari-judete',
method: 'countiesIrregularities',
header: 'Topul judetelor',
subHeader: 'cu cele mai sesizari'
subHeader: 'cu cele mai multe sesizari'
}, {
key: 'sesizari-sectii',
method: 'pollingStationIrregularities',
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"LOGIN": "Login",
"USERNAME": "Username",
"PHONE_NUMBER": "Phone Number",
"ARRIVAL_TIME": "Arrival Time",
"DEPARTURE_TIME": "Departure Time",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/ro.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"LOGIN": "Autentificare",
"USERNAME": "Utilizator",
"PHONE_NUMBER": "Numar de telefon",
"ARRIVAL_TIME": "Ora sosirii",
"DEPARTURE_TIME": "Ora plecarii",
Expand Down

1 comment on commit 942ace4

@vercel
Copy link

@vercel vercel bot commented on 942ace4 Nov 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.