Skip to content

Commit

Permalink
Added: Spanish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aztorius committed Aug 18, 2016
1 parent e23c08c commit 0e208fb
Show file tree
Hide file tree
Showing 15 changed files with 1,307 additions and 1,420 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Available for **Windows** and **Linux**
## Features

- All servers supported (EUW, EUNE, NA, JP, KR, OCE, BR, LAN, LAS, RU, TR, PBE)
- Available in different languages (English, French, Spanish, Deutch, Portuguese)
- Show servers status
- List all featured games
- Launch spectator mode for featured games (Windows only)
Expand All @@ -23,14 +24,18 @@ Available for **Windows** and **Linux**

## Build

Qt5 is required.
Qt >= 5.6 is required.
C++14 is required.

- ``` git submodule init && git submodule update ```
- Go to qhttp folder and run ``` ./update-dependencies.sh ```
- Open LegendsReplay.pro and build src project with QtCreator
- ```qmake LegendsReplay.pro```

### [Technical infos about the spectator API](https://gist.github.com/Aztorius/e428be6515b19fd24823754b72038e1b)

### Please report issues and send pull requests to improve this software
## Report issues

All issues must be in English.
**An issue can report a translation problem, a software bug or a feature request.**

LegendsReplay isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.
2 changes: 1 addition & 1 deletion src/advancedrecorderdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<string>Download end of game stats</string>
</property>
<property name="checked">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
</item>
Expand Down
1 change: 1 addition & 0 deletions src/legendsreplay.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,6 @@
<file>translation/legendsreplay_english.qm</file>
<file>translation/legendsreplay_french.qm</file>
<file>translation/legendsreplay_portuguese.qm</file>
<file>translation/legendsreplay_spanish.qm</file>
</qresource>
</RCC>
6 changes: 3 additions & 3 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MainWindow::MainWindow(QWidget *parent) :
setWindowTitle(tr("LegendsReplay ") + GLOBAL_VERSION);
setWindowIcon(QIcon(":/icons/logo.png"));

log(QString(tr("LegendsReplay ") + GLOBAL_VERSION + tr(" Started")));
log(QString(tr("LegendsReplay ") + GLOBAL_VERSION));

// Adding the official local servers
QFile localserversfile(":/data/LegendsReplayServers.txt");
Expand Down Expand Up @@ -1095,7 +1095,7 @@ void MainWindow::slot_refresh_recordedGames()

ui->tableWidget_recordedgames->setItem(ui->tableWidget_recordedgames->rowCount()-1, 0, new QTableWidgetItem(game.getPlatformId()));
ui->tableWidget_recordedgames->setItem(ui->tableWidget_recordedgames->rowCount()-1, 1, new QTableWidgetItem(game.getGameId()));
ui->tableWidget_recordedgames->setItem(ui->tableWidget_recordedgames->rowCount()-1, 2, new QTableWidgetItem(datetime.date().toString()));
ui->tableWidget_recordedgames->setItem(ui->tableWidget_recordedgames->rowCount()-1, 2, new QTableWidgetItem(datetime.date().toString(Qt::DefaultLocaleShortDate)));
ui->tableWidget_recordedgames->setItem(ui->tableWidget_recordedgames->rowCount()-1, 3, new QTableWidgetItem(fileinfo.fileName()));

recordedgames_filename.append(fileinfo.fileName());
Expand Down Expand Up @@ -2194,7 +2194,7 @@ void MainWindow::slot_reportAnIssue()

void MainWindow::slot_aboutLegendsReplay()
{
QMessageBox::information(this, tr("About"), tr("Legends Replay is an open source software (GNU GPL v3).\nThis software use Qt and qHttp.") + "\n\nLegendsReplay isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.");
QMessageBox::information(this, tr("About"), "Legends Replay is an open source software (GNU GPL v3).\nThis software use Qt and qHttp.\n\nLegendsReplay isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.");
}

void MainWindow::refreshRecordingGamesWidget()
Expand Down
8 changes: 8 additions & 0 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>90</number>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
Expand Down Expand Up @@ -1234,6 +1237,11 @@
<string notr="true">French</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">Spanish</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">Portuguese</string>
Expand Down
Binary file modified src/translation/legendsreplay_deutch.qm
Binary file not shown.
Loading

0 comments on commit 0e208fb

Please sign in to comment.