From 9d46e9ecf67458a799a101f2eb17e4c907a3e24c Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Sat, 28 Jun 2014 01:22:44 +0300 Subject: [PATCH] Translated tr files --- jce_en.ts | 51 +++++++++++++++++++++++---------------------- jce_he.ts | 51 +++++++++++++++++++++++---------------------- main/main.cpp | 4 ++++ main/mainscreen.cpp | 2 ++ 4 files changed, 58 insertions(+), 50 deletions(-) diff --git a/jce_en.ts b/jce_en.ts index 6c5c07c..884c21c 100644 --- a/jce_en.ts +++ b/jce_en.ts @@ -6,118 +6,119 @@ JCE Avg Calculator - + JCE Manager Login - + Login Keep login - + Keep login + <color=#000000>Username - + Usernameasdfasdg Password - + Password Courses - + Grade Table <html><head/><body><p><span style=" font-weight:600;">Get your grades</span></p></body></html> - + Get Your Grades Add - + Add <html><head/><body><p><span style=" font-weight:600;">Clear table</span></p></body></html> - + Clear Table Clear - + Clear Average: - + Average: Settings - + Sattings Semester - + Senester Year - + Year From - + From To - + To Only influence Courses - + Only influence Courses &About - + &About Credits - + Credits Exit - + Exit How-To - + How-To - + Error - + Error - + Not Connected - + Not Connected diff --git a/jce_he.ts b/jce_he.ts index eea906b..1128c5a 100644 --- a/jce_he.ts +++ b/jce_he.ts @@ -6,118 +6,119 @@ JCE Avg Calculator - + JCE Manager Login - + התחבר Keep login - + שמור פרטים + <color=#000000>Username - + שם משתמש Password - + סיסמה Courses - + גיליון ציונים <html><head/><body><p><span style=" font-weight:600;">Get your grades</span></p></body></html> - + קבל את הציונים שלך Add - + הוספה <html><head/><body><p><span style=" font-weight:600;">Clear table</span></p></body></html> - + נקה טבלה Clear - + נקה Average: - + ממוצע: Settings - + הגדרות Semester - + סמסטר Year - + שנה From - + מסמסטר To - + לסמסטר Only influence Courses - + רק קורסים בעלי השפעה &About - + &אודות Credits - + אודות Exit - + יציאה How-To - + עזרה - + Error - + שגיאה - + Not Connected - + לא התחבר diff --git a/main/main.cpp b/main/main.cpp index db7f78f..acb3a23 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1,9 +1,13 @@ #include "mainscreen.h" #include +#include int main(int argc, char *argv[]) { + QTranslator translator; + translator.load("jce_he"); QApplication a(argc, argv); + a.installTranslator(&translator); MainScreen w; w.show(); diff --git a/main/mainscreen.cpp b/main/mainscreen.cpp index a43c4cf..206c1f1 100644 --- a/main/mainscreen.cpp +++ b/main/mainscreen.cpp @@ -8,6 +8,8 @@ MainScreen::MainScreen(QWidget *parent) :QMainWindow(parent), ui(new Ui::MainScr this->setFixedSize(this->size()); //main not resizeable + ui->usrnmLabel->setText(tr("Username")); + //Login Tab ui->pswdLineEdit->setEchoMode((QLineEdit::Password));