diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fileinfo')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp | 101 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/MainUI.h | 5 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_el.ts | 184 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_ja.ts | 104 |
4 files changed, 200 insertions, 194 deletions
diff --git a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp index 2656b855..dfa1ec36 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp @@ -14,7 +14,7 @@ #include <LuminaUtils.h> #include <LuminaOS.h> -LFileInfo INFO = LFileInfo(""); +//LFileInfo INFO = LFileInfo(""); MainUI::MainUI() : QDialog(), ui(new Ui::MainUI){ ui->setupUi(this); //load the designer form @@ -22,10 +22,12 @@ MainUI::MainUI() : QDialog(), ui(new Ui::MainUI){ terminate_thread = false; UpdateIcons(); //Set all the icons in the dialog SetupConnections(); + INFO = 0; } MainUI::~MainUI(){ terminate_thread = true; + if(INFO!=0){ delete INFO; } } //============= @@ -35,54 +37,54 @@ void MainUI::LoadFile(QString path, QString type){ //Do the first file information tab qDebug() << "Load File:" << path << type; - INFO = LFileInfo(path); - if(INFO.exists()){ canwrite = INFO.isWritable(); } - else if(!INFO.filePath().isEmpty()){ + INFO = new LFileInfo(path); + if(INFO->exists()){ canwrite = INFO->isWritable(); } + else if(!INFO->filePath().isEmpty()){ //See if the containing directory can be written - QFileInfo chk(INFO.absolutePath()); + QFileInfo chk(INFO->absolutePath()); canwrite = (chk.isDir() && chk.isWritable()); }else{ canwrite = true; //no associated file yet } - if(!INFO.exists() && !type.isEmpty()){ + if(!INFO->exists() && !type.isEmpty()){ //Set the proper type flag on the shortcut - if(type=="APP"){ INFO.XDG()->type = XDGDesktop::APP; } - else if(type=="LINK"){ INFO.XDG()->type = XDGDesktop::LINK; } + if(type=="APP"){ INFO->XDG()->type = XDGDesktop::APP; } + else if(type=="LINK"){ INFO->XDG()->type = XDGDesktop::LINK; } } //First load the general file information - if(!INFO.filePath().isEmpty()){ - ui->label_file_name->setText( INFO.fileName() ); - ui->label_file_mimetype->setText( INFO.mimetype() ); - if(!INFO.isDir()){ ui->label_file_size->setText( LUtils::BytesToDisplaySize( INFO.size() ) ); } + if(!INFO->filePath().isEmpty()){ + ui->label_file_name->setText( INFO->fileName() ); + ui->label_file_mimetype->setText( INFO->mimetype() ); + if(!INFO->isDir()){ ui->label_file_size->setText( LUtils::BytesToDisplaySize( INFO->size() ) ); } else { ui->label_file_size->setText(tr("---Calculating---")); - QtConcurrent::run(this, &MainUI::GetDirSize, INFO.absoluteFilePath()); + QtConcurrent::run(this, &MainUI::GetDirSize, INFO->absoluteFilePath()); } - ui->label_file_owner->setText(INFO.owner()); - ui->label_file_group->setText(INFO.group()); - ui->label_file_created->setText( INFO.created().toString(Qt::SystemLocaleLongDate) ); - ui->label_file_modified->setText( INFO.lastModified().toString(Qt::SystemLocaleLongDate) ); + ui->label_file_owner->setText(INFO->owner()); + ui->label_file_group->setText(INFO->group()); + ui->label_file_created->setText( INFO->created().toString(Qt::SystemLocaleLongDate) ); + ui->label_file_modified->setText( INFO->lastModified().toString(Qt::SystemLocaleLongDate) ); //Get the file permissions QString perms; - if(INFO.isReadable() && INFO.isWritable()){ perms = tr("Read/Write"); } - else if(INFO.isReadable()){ perms = tr("Read Only"); } - else if(INFO.isWritable()){ perms = tr("Write Only"); } + if(INFO->isReadable() && INFO->isWritable()){ perms = tr("Read/Write"); } + else if(INFO->isReadable()){ perms = tr("Read Only"); } + else if(INFO->isWritable()){ perms = tr("Write Only"); } else{ perms = tr("No Access"); } ui->label_file_perms->setText(perms); //Now the special "type" for the file QString ftype; - if(INFO.suffix().toLower()=="desktop"){ ftype = tr("XDG Shortcut"); } - else if(INFO.isDir()){ ftype = tr("Directory"); } - else if(INFO.isExecutable()){ ftype = tr("Binary"); } - else{ ftype = INFO.suffix().toUpper(); } - if(INFO.isHidden()){ ftype = QString(tr("Hidden %1")).arg(type); } + if(INFO->suffix().toLower()=="desktop"){ ftype = tr("XDG Shortcut"); } + else if(INFO->isDir()){ ftype = tr("Directory"); } + else if(INFO->isExecutable()){ ftype = tr("Binary"); } + else{ ftype = INFO->suffix().toUpper(); } + if(INFO->isHidden()){ ftype = QString(tr("Hidden %1")).arg(type); } ui->label_file_type->setText(ftype); //Now load the icon for the file - if(INFO.isImage()){ - ui->label_file_icon->setPixmap( QPixmap(INFO.absoluteFilePath()).scaledToHeight(64) ); + if(INFO->isImage()){ + ui->label_file_icon->setPixmap( QPixmap(INFO->absoluteFilePath()).scaledToHeight(64) ); }else{ - ui->label_file_icon->setPixmap( LXDG::findIcon( INFO.iconfile(), "unknown").pixmap(QSize(64,64)) ); + ui->label_file_icon->setPixmap( LXDG::findIcon( INFO->iconfile(), "unknown").pixmap(QSize(64,64)) ); } //Now verify the tab is available in the widget if(ui->tabWidget->indexOf(ui->tab_file)<0){ @@ -94,15 +96,15 @@ void MainUI::LoadFile(QString path, QString type){ } } //Now load the special XDG desktop info - qDebug() << INFO.isDesktopFile() << type; - if(INFO.isDesktopFile() || !type.isEmpty()){ + qDebug() << INFO->isDesktopFile() << type; + if(INFO->isDesktopFile() || !type.isEmpty()){ - if(INFO.XDG()->type == XDGDesktop::APP){ - ui->line_xdg_command->setText(INFO.XDG()->exec); - ui->line_xdg_wdir->setText(INFO.XDG()->path); - ui->check_xdg_useTerminal->setChecked( INFO.XDG()->useTerminal ); - ui->check_xdg_startupNotify->setChecked( INFO.XDG()->startupNotify ); - }else if(INFO.XDG()->type==XDGDesktop::LINK){ + if(INFO->XDG()->type == XDGDesktop::APP){ + ui->line_xdg_command->setText(INFO->XDG()->exec); + ui->line_xdg_wdir->setText(INFO->XDG()->path); + ui->check_xdg_useTerminal->setChecked( INFO->XDG()->useTerminal ); + ui->check_xdg_startupNotify->setChecked( INFO->XDG()->startupNotify ); + }else if(INFO->XDG()->type==XDGDesktop::LINK){ //Hide the options that are unavailable for links //Command line (exec) ui->line_xdg_command->setVisible(false); @@ -114,13 +116,13 @@ void MainUI::LoadFile(QString path, QString type){ ui->check_xdg_startupNotify->setVisible(false); //Now load the variables for this type of shortcut ui->lblWorkingDir->setText(tr("URL:")); - ui->line_xdg_wdir->setText( INFO.XDG()->url ); + ui->line_xdg_wdir->setText( INFO->XDG()->url ); ui->tool_xdg_getDir->setVisible(false); //the dir selection button } - ui->line_xdg_name->setText(INFO.XDG()->name); - ui->line_xdg_comment->setText(INFO.XDG()->comment); - ui->push_xdg_getIcon->setWhatsThis( INFO.XDG()->icon ); + ui->line_xdg_name->setText(INFO->XDG()->name); + ui->line_xdg_comment->setText(INFO->XDG()->comment); + ui->push_xdg_getIcon->setWhatsThis( INFO->XDG()->icon ); ReloadAppIcon(); ui->push_save->setVisible(true); ui->push_save->setEnabled(false); @@ -209,6 +211,7 @@ void MainUI::GetDirSize(const QString dirname) const { void MainUI::SetupConnections(){ connect(ui->line_xdg_command, SIGNAL(editingFinished()), this, SLOT(xdgvaluechanged()) ); connect(ui->line_xdg_comment, SIGNAL(editingFinished()), this, SLOT(xdgvaluechanged()) ); + connect(ui->tool_xdg_getCommand, SIGNAL(clicked()), this, SLOT(getXdgCommand()) ); connect(ui->line_xdg_name, SIGNAL(editingFinished()), this, SLOT(xdgvaluechanged()) ); connect(ui->line_xdg_wdir, SIGNAL(editingFinished()), this, SLOT(xdgvaluechanged()) ); connect(ui->check_xdg_useTerminal, SIGNAL(clicked()), this, SLOT(xdgvaluechanged()) ); @@ -229,8 +232,8 @@ void MainUI::on_push_close_clicked(){ void MainUI::on_push_save_clicked(){ //Save all the xdg values into the structure - if( (!INFO.isDesktopFile() && !INFO.filePath().isEmpty()) || !canwrite){ return; } - if(INFO.filePath().isEmpty()){ + if( (!INFO->isDesktopFile() && !INFO->filePath().isEmpty()) || !canwrite){ return; } + if(INFO->filePath().isEmpty()){ //Need to prompt for where to save the file and what to call it QString appdir = QString(getenv("XDG_DATA_HOME"))+"/applications/"; if(!QFile::exists(appdir)){ QDir dir; dir.mkpath(appdir); } @@ -238,10 +241,10 @@ void MainUI::on_push_save_clicked(){ if(filePath.isEmpty()){ return; } if(!filePath.endsWith(".desktop")){ filePath.append(".desktop"); } //Update the file paths in the data structure - INFO.setFile(filePath); - INFO.XDG()->filePath = filePath; + INFO->setFile(filePath); + INFO->XDG()->filePath = filePath; } - XDGDesktop *XDG = INFO.XDG(); + XDGDesktop *XDG = INFO->XDG(); //Now change the structure XDG->name = ui->line_xdg_name->text(); XDG->genericName = ui->line_xdg_name->text().toLower(); @@ -266,11 +269,11 @@ void MainUI::on_push_save_clicked(){ ui->push_save->setEnabled( !saved ); if(saved){ //Re-load the file info - LoadFile(INFO.absoluteFilePath()); + LoadFile(INFO->absoluteFilePath()); } } -void MainUI::on_tool_xdg_getCommand_clicked(QString prev){ +void MainUI::getXdgCommand(QString prev){ //Find a binary to run QString dir = prev; //start with the previous attempt (if there was one) if(dir.isEmpty()){ ui->line_xdg_command->text(); }//then try current selection @@ -279,7 +282,7 @@ void MainUI::on_tool_xdg_getCommand_clicked(QString prev){ if(file.isEmpty()){ return; } //cancelled if(!LUtils::isValidBinary(file)){ QMessageBox::warning(this, tr("Error"), tr("Invalid selection: Not a valid executable")); - on_tool_xdg_getCommand_clicked(file); + getXdgCommand(file); return; } ui->line_xdg_command->setText(file); @@ -312,7 +315,7 @@ void MainUI::on_push_xdg_getIcon_clicked(){ //XDG Value Changed void MainUI::xdgvaluechanged(){ - if(INFO.isDesktopFile() || INFO.filePath().isEmpty()){ + if(INFO!=0 && (INFO->isDesktopFile() || INFO->filePath().isEmpty() ) ){ ui->push_save->setVisible(true); //Compare the current UI values to the file values ui->push_save->setEnabled(canwrite); //assume changed at this point diff --git a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h index e17ab439..cbe23d9e 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h +++ b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h @@ -34,6 +34,8 @@ public slots: private: Ui::MainUI *ui; + LFileInfo *INFO; + bool canwrite; bool terminate_thread; //flag for terminating the GetDirSize task void ReloadAppIcon(); @@ -49,7 +51,8 @@ private slots: //UI Buttons void on_push_close_clicked(); void on_push_save_clicked(); - void on_tool_xdg_getCommand_clicked(QString prev = ""); + void getXdgCommand(QString prev = ""); + //void on_tool_xdg_getCommand_clicked(QString prev = ""); void on_tool_xdg_getDir_clicked(); void on_push_xdg_getIcon_clicked(); diff --git a/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_el.ts b/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_el.ts index ef503357..4c92ea65 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_el.ts +++ b/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_el.ts @@ -1,227 +1,227 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE TS> <TS version="2.1" language="el_GR"> <context> <name>MainUI</name> <message> - <location filename="../MainUI.ui" line="14"/> - <location filename="../MainUI.ui" line="24"/> - <location filename="../MainUI.cpp" line="89"/> + <location filename="../MainUI.ui" line="14"></location> + <location filename="../MainUI.ui" line="24"></location> + <location filename="../MainUI.cpp" line="89"></location> <source>File Information</source> - <translation type="unfinished"></translation> + <translation>Πληροφορίες Αρχείου</translation> </message> <message> - <location filename="../MainUI.ui" line="56"/> + <location filename="../MainUI.ui" line="56"></location> <source>Owner:</source> - <translation type="unfinished"></translation> + <translation>Ιδιοκτήτης:</translation> </message> <message> - <location filename="../MainUI.ui" line="73"/> + <location filename="../MainUI.ui" line="73"></location> <source>Group:</source> - <translation type="unfinished"></translation> + <translation>Ομάδα:</translation> </message> <message> - <location filename="../MainUI.ui" line="90"/> + <location filename="../MainUI.ui" line="90"></location> <source>Permissions:</source> - <translation type="unfinished"></translation> + <translation>Δικαιώματα:</translation> </message> <message> - <location filename="../MainUI.ui" line="104"/> + <location filename="../MainUI.ui" line="104"></location> <source>Created:</source> - <translation type="unfinished"></translation> + <translation>Δημιουργήθηκε:</translation> </message> <message> - <location filename="../MainUI.ui" line="111"/> + <location filename="../MainUI.ui" line="111"></location> <source>Note: The time a file was created might be more recent than the time modified if the file permissions were changed recently.</source> - <translation type="unfinished"></translation> + <translation>Σημείωση: Ο χρόνος όπου ένα αρχείο δημιουργήθηκε μπορεί να είναι πιο πρόσφατος από τη στιγμή που τροποποιήθηκε, εφόσον οι άδειες αρχείων άλλαξαν πρόσφατα.</translation> </message> <message> - <location filename="../MainUI.ui" line="124"/> + <location filename="../MainUI.ui" line="124"></location> <source>Last Modified:</source> - <translation type="unfinished"></translation> + <translation>Τελευταία Τροποποίηση:</translation> </message> <message> - <location filename="../MainUI.ui" line="131"/> + <location filename="../MainUI.ui" line="131"></location> <source>Type:</source> - <translation type="unfinished"></translation> + <translation>Τύπος:</translation> </message> <message> - <location filename="../MainUI.ui" line="138"/> + <location filename="../MainUI.ui" line="138"></location> <source>MimeType:</source> - <translation type="unfinished"></translation> + <translation type="unfinished">ΤύποςMime:</translation> </message> <message> - <location filename="../MainUI.ui" line="185"/> + <location filename="../MainUI.ui" line="185"></location> <source>File Size:</source> - <translation type="unfinished"></translation> + <translation>Μέγεθος Αρχείου:</translation> </message> <message> - <location filename="../MainUI.ui" line="216"/> - <location filename="../MainUI.cpp" line="130"/> + <location filename="../MainUI.ui" line="216"></location> + <location filename="../MainUI.cpp" line="130"></location> <source>Edit Shortcut</source> - <translation type="unfinished"></translation> + <translation>Επεξεργασία Συντόμευσης</translation> </message> <message> - <location filename="../MainUI.ui" line="239"/> + <location filename="../MainUI.ui" line="239"></location> <source>Working Dir:</source> - <translation type="unfinished"></translation> + <translation>Τρέχων κατάλογος εργασίας:</translation> </message> <message> - <location filename="../MainUI.ui" line="246"/> + <location filename="../MainUI.ui" line="246"></location> <source>Use startup notification</source> - <translation type="unfinished"></translation> + <translation>Χρησιμοποιήστε ειδοποίηση εκκίνησης</translation> </message> <message> - <location filename="../MainUI.ui" line="260"/> + <location filename="../MainUI.ui" line="260"></location> <source>Icon:</source> - <translation type="unfinished"></translation> + <translation>Εικονίδιο:</translation> </message> <message> - <location filename="../MainUI.ui" line="267"/> + <location filename="../MainUI.ui" line="267"></location> <source>Command:</source> - <translation type="unfinished"></translation> + <translation>Eντολή:</translation> </message> <message> - <location filename="../MainUI.ui" line="274"/> + <location filename="../MainUI.ui" line="274"></location> <source>Comment:</source> - <translation type="unfinished"></translation> + <translation>Σχόλιο:</translation> </message> <message> - <location filename="../MainUI.ui" line="284"/> + <location filename="../MainUI.ui" line="284"></location> <source>Run in terminal</source> - <translation type="unfinished"></translation> + <translation>Τρέξτε το στην γραμμή εντολών</translation> </message> <message> - <location filename="../MainUI.ui" line="291"/> + <location filename="../MainUI.ui" line="291"></location> <source>Name:</source> - <translation type="unfinished"></translation> + <translation>Όνομα:</translation> </message> <message> - <location filename="../MainUI.ui" line="298"/> + <location filename="../MainUI.ui" line="298"></location> <source>Options</source> - <translation type="unfinished"></translation> + <translation>Επιλογές</translation> </message> <message> - <location filename="../MainUI.ui" line="336"/> + <location filename="../MainUI.ui" line="336"></location> <source>No Icon</source> - <translation type="unfinished"></translation> + <translation>Χωρίς Εικονίδιο</translation> </message> <message> - <location filename="../MainUI.ui" line="392"/> + <location filename="../MainUI.ui" line="392"></location> <source>Save</source> - <translation type="unfinished"></translation> + <translation>Αποθήκευση</translation> </message> <message> - <location filename="../MainUI.ui" line="405"/> + <location filename="../MainUI.ui" line="405"></location> <source>Close</source> - <translation type="unfinished"></translation> + <translation>Κλείσιμο</translation> </message> <message> - <location filename="../MainUI.cpp" line="59"/> + <location filename="../MainUI.cpp" line="59"></location> <source>---Calculating---</source> - <translation type="unfinished"></translation> + <translation>---Υπολογισμός---</translation> </message> <message> - <location filename="../MainUI.cpp" line="68"/> + <location filename="../MainUI.cpp" line="68"></location> <source>Read/Write</source> - <translation type="unfinished"></translation> + <translation>Ανάγνωση/Εγγραφή</translation> </message> <message> - <location filename="../MainUI.cpp" line="69"/> + <location filename="../MainUI.cpp" line="69"></location> <source>Read Only</source> - <translation type="unfinished"></translation> + <translation>Μόνο Ανάγνωση</translation> </message> <message> - <location filename="../MainUI.cpp" line="70"/> + <location filename="../MainUI.cpp" line="70"></location> <source>Write Only</source> - <translation type="unfinished"></translation> + <translation>Μόνο Εγγραφή</translation> </message> <message> - <location filename="../MainUI.cpp" line="71"/> + <location filename="../MainUI.cpp" line="71"></location> <source>No Access</source> - <translation type="unfinished"></translation> + <translation>Χωρίς Πρόσβαση</translation> </message> <message> - <location filename="../MainUI.cpp" line="75"/> + <location filename="../MainUI.cpp" line="75"></location> <source>XDG Shortcut</source> - <translation type="unfinished"></translation> + <translation>XDG Συντόμευση</translation> </message> <message> - <location filename="../MainUI.cpp" line="76"/> + <location filename="../MainUI.cpp" line="76"></location> <source>Directory</source> - <translation type="unfinished"></translation> + <translation>Κατάλογος</translation> </message> <message> - <location filename="../MainUI.cpp" line="77"/> + <location filename="../MainUI.cpp" line="77"></location> <source>Binary</source> - <translation type="unfinished"></translation> + <translation>Εκτελέσιμο</translation> </message> <message> - <location filename="../MainUI.cpp" line="79"/> + <location filename="../MainUI.cpp" line="79"></location> <source>Hidden %1</source> - <translation type="unfinished"></translation> + <translation>Κρυφό %1</translation> </message> <message> - <location filename="../MainUI.cpp" line="116"/> + <location filename="../MainUI.cpp" line="116"></location> <source>URL:</source> - <translation type="unfinished"></translation> + <translation>URL:</translation> </message> <message> - <location filename="../MainUI.cpp" line="237"/> + <location filename="../MainUI.cpp" line="237"></location> <source>Save Application File</source> - <translation type="unfinished"></translation> + <translation>Αποθήκευση Αρχείου Εφαρμογής</translation> </message> <message> - <location filename="../MainUI.cpp" line="237"/> + <location filename="../MainUI.cpp" line="237"></location> <source>Application Registrations (*.desktop)</source> - <translation type="unfinished"></translation> + <translation>Εγγραφές Εφαρμογής (* .desktop)</translation> </message> <message> - <location filename="../MainUI.cpp" line="278"/> + <location filename="../MainUI.cpp" line="278"></location> <source>Select a binary</source> - <translation type="unfinished"></translation> + <translation>Επιλέξτε ένα εκτελέσιμο</translation> </message> <message> - <location filename="../MainUI.cpp" line="281"/> + <location filename="../MainUI.cpp" line="281"></location> <source>Error</source> - <translation type="unfinished"></translation> + <translation>Σφάλμα</translation> </message> <message> - <location filename="../MainUI.cpp" line="281"/> + <location filename="../MainUI.cpp" line="281"></location> <source>Invalid selection: Not a valid executable</source> - <translation type="unfinished"></translation> + <translation>Μη έγκυρη επιλογή: Μη έγκυρο εκτελέσιμο</translation> </message> <message> - <location filename="../MainUI.cpp" line="293"/> + <location filename="../MainUI.cpp" line="293"></location> <source>Select a directory</source> - <translation type="unfinished"></translation> + <translation>Επιλέξτε έναν κατάλογο</translation> </message> <message> - <location filename="../MainUI.cpp" line="306"/> + <location filename="../MainUI.cpp" line="306"></location> <source>Select an icon</source> - <translation type="unfinished"></translation> + <translation>Επιλέξτε ένα εικονίδιο</translation> </message> <message> - <location filename="../MainUI.cpp" line="306"/> + <location filename="../MainUI.cpp" line="306"></location> <source>Images (%1);; All Files (*)</source> - <translation type="unfinished"></translation> + <translation>Εικόνες (% 1) ;; ΌλαΤαΑρχεία (*)</translation> </message> <message> - <location filename="../MainUI.cpp" line="329"/> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="329"></location> + <location filename="../MainUI.cpp" line="331"></location> <source> Folders: </source> - <translation type="unfinished"></translation> + <translation> Φάκελοι: </translation> </message> <message> - <location filename="../MainUI.cpp" line="329"/> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="329"></location> + <location filename="../MainUI.cpp" line="331"></location> <source>Files: </source> - <translation type="unfinished"></translation> + <translation>Αρχεία: </translation> </message> <message> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="331"></location> <source> Calculating...</source> - <translation type="unfinished"></translation> + <translation> Υπολογισμός...</translation> </message> </context> </TS> diff --git a/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_ja.ts b/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_ja.ts index 0ca81ab9..ecdd9a4c 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_ja.ts +++ b/src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_ja.ts @@ -1,227 +1,227 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE TS> <TS version="2.1" language="ja"> <context> <name>MainUI</name> <message> - <location filename="../MainUI.ui" line="14"/> - <location filename="../MainUI.ui" line="24"/> - <location filename="../MainUI.cpp" line="89"/> + <location filename="../MainUI.ui" line="14"></location> + <location filename="../MainUI.ui" line="24"></location> + <location filename="../MainUI.cpp" line="89"></location> <source>File Information</source> <translation>ファイルの情報</translation> </message> <message> - <location filename="../MainUI.ui" line="56"/> + <location filename="../MainUI.ui" line="56"></location> <source>Owner:</source> <translation>所有者:</translation> </message> <message> - <location filename="../MainUI.ui" line="73"/> + <location filename="../MainUI.ui" line="73"></location> <source>Group:</source> <translation>グループ:</translation> </message> <message> - <location filename="../MainUI.ui" line="90"/> + <location filename="../MainUI.ui" line="90"></location> <source>Permissions:</source> <translation>パーミッション:</translation> </message> <message> - <location filename="../MainUI.ui" line="104"/> + <location filename="../MainUI.ui" line="104"></location> <source>Created:</source> <translation>作成日時:</translation> </message> <message> - <location filename="../MainUI.ui" line="111"/> + <location filename="../MainUI.ui" line="111"></location> <source>Note: The time a file was created might be more recent than the time modified if the file permissions were changed recently.</source> <translation>注意: パーミッション設定のため、ファイル作成日時が更新時刻より新しいことがあります。</translation> </message> <message> - <location filename="../MainUI.ui" line="124"/> + <location filename="../MainUI.ui" line="124"></location> <source>Last Modified:</source> <translation>最終更新日時:</translation> </message> <message> - <location filename="../MainUI.ui" line="131"/> + <location filename="../MainUI.ui" line="131"></location> <source>Type:</source> <translation>種類:</translation> </message> <message> - <location filename="../MainUI.ui" line="138"/> + <location filename="../MainUI.ui" line="138"></location> <source>MimeType:</source> <translation>MIME タイプ:</translation> </message> <message> - <location filename="../MainUI.ui" line="185"/> + <location filename="../MainUI.ui" line="185"></location> <source>File Size:</source> <translation>ファイルのサイズ:</translation> </message> <message> - <location filename="../MainUI.ui" line="216"/> - <location filename="../MainUI.cpp" line="130"/> + <location filename="../MainUI.ui" line="216"></location> + <location filename="../MainUI.cpp" line="130"></location> <source>Edit Shortcut</source> <translation>ショートカットを編集</translation> </message> <message> - <location filename="../MainUI.ui" line="239"/> + <location filename="../MainUI.ui" line="239"></location> <source>Working Dir:</source> <translation>作業ディレクトリー:</translation> </message> <message> - <location filename="../MainUI.ui" line="246"/> + <location filename="../MainUI.ui" line="246"></location> <source>Use startup notification</source> <translation>起動通知を行う</translation> </message> <message> - <location filename="../MainUI.ui" line="260"/> + <location filename="../MainUI.ui" line="260"></location> <source>Icon:</source> <translation>アイコン:</translation> </message> <message> - <location filename="../MainUI.ui" line="267"/> + <location filename="../MainUI.ui" line="267"></location> <source>Command:</source> <translation>コマンド:</translation> </message> <message> - <location filename="../MainUI.ui" line="274"/> + <location filename="../MainUI.ui" line="274"></location> <source>Comment:</source> <translation>コメント:</translation> </message> <message> - <location filename="../MainUI.ui" line="284"/> + <location filename="../MainUI.ui" line="284"></location> <source>Run in terminal</source> <translation>ターミナルで実行する</translation> </message> <message> - <location filename="../MainUI.ui" line="291"/> + <location filename="../MainUI.ui" line="291"></location> <source>Name:</source> <translation>名前:</translation> </message> <message> - <location filename="../MainUI.ui" line="298"/> + <location filename="../MainUI.ui" line="298"></location> <source>Options</source> <translation>オプション</translation> </message> <message> - <location filename="../MainUI.ui" line="336"/> + <location filename="../MainUI.ui" line="336"></location> <source>No Icon</source> <translation>アイコン無し</translation> </message> <message> - <location filename="../MainUI.ui" line="392"/> + <location filename="../MainUI.ui" line="392"></location> <source>Save</source> <translation>保存</translation> </message> <message> - <location filename="../MainUI.ui" line="405"/> + <location filename="../MainUI.ui" line="405"></location> <source>Close</source> <translation>閉じる</translation> </message> <message> - <location filename="../MainUI.cpp" line="59"/> + <location filename="../MainUI.cpp" line="59"></location> <source>---Calculating---</source> <translation>---計算しています---</translation> </message> <message> - <location filename="../MainUI.cpp" line="68"/> + <location filename="../MainUI.cpp" line="68"></location> <source>Read/Write</source> <translation>読み込み/書き込み</translation> </message> <message> - <location filename="../MainUI.cpp" line="69"/> + <location filename="../MainUI.cpp" line="69"></location> <source>Read Only</source> <translation>読み込み専用</translation> </message> <message> - <location filename="../MainUI.cpp" line="70"/> + <location filename="../MainUI.cpp" line="70"></location> <source>Write Only</source> <translation>書き込み専用</translation> </message> <message> - <location filename="../MainUI.cpp" line="71"/> + <location filename="../MainUI.cpp" line="71"></location> <source>No Access</source> <translation>アクセス権無し</translation> </message> <message> - <location filename="../MainUI.cpp" line="75"/> + <location filename="../MainUI.cpp" line="75"></location> <source>XDG Shortcut</source> <translation>XDG ショートカット</translation> </message> <message> - <location filename="../MainUI.cpp" line="76"/> + <location filename="../MainUI.cpp" line="76"></location> <source>Directory</source> <translation>ディレクトリー</translation> </message> <message> - <location filename="../MainUI.cpp" line="77"/> + <location filename="../MainUI.cpp" line="77"></location> <source>Binary</source> <translation>バイナリー</translation> </message> <message> - <location filename="../MainUI.cpp" line="79"/> + <location filename="../MainUI.cpp" line="79"></location> <source>Hidden %1</source> - <translatorcomment>%1 には "Directory", "File", "Link" などが入ると思われる。</translatorcomment> + <translatorcomment>%1 には "Directory", "File", "Link" などが入ると思われる。</translatorcomment> <translation>隠し %1</translation> </message> <message> - <location filename="../MainUI.cpp" line="116"/> + <location filename="../MainUI.cpp" line="116"></location> <source>URL:</source> <translation>URL:</translation> </message> <message> - <location filename="../MainUI.cpp" line="237"/> + <location filename="../MainUI.cpp" line="237"></location> <source>Save Application File</source> - <translation type="unfinished"></translation> + <translation>アプリケーションファイルを保存</translation> </message> <message> - <location filename="../MainUI.cpp" line="237"/> + <location filename="../MainUI.cpp" line="237"></location> <source>Application Registrations (*.desktop)</source> - <translation type="unfinished"></translation> + <translation>アプリケーション登録 (*.desktop)</translation> </message> <message> - <location filename="../MainUI.cpp" line="278"/> + <location filename="../MainUI.cpp" line="278"></location> <source>Select a binary</source> <translatorcomment>ファイル選択ダイアログのタイトル</translatorcomment> <translation>バイナリーを選択する</translation> </message> <message> - <location filename="../MainUI.cpp" line="281"/> + <location filename="../MainUI.cpp" line="281"></location> <source>Error</source> <translation>エラー</translation> </message> <message> - <location filename="../MainUI.cpp" line="281"/> + <location filename="../MainUI.cpp" line="281"></location> <source>Invalid selection: Not a valid executable</source> <translation>無効な選択: 有効な実行ファイルではありません</translation> </message> <message> - <location filename="../MainUI.cpp" line="293"/> + <location filename="../MainUI.cpp" line="293"></location> <source>Select a directory</source> <translation>ディレクトリーを選択</translation> </message> <message> - <location filename="../MainUI.cpp" line="306"/> + <location filename="../MainUI.cpp" line="306"></location> <source>Select an icon</source> <translation>アイコンを選択:</translation> </message> <message> - <location filename="../MainUI.cpp" line="306"/> + <location filename="../MainUI.cpp" line="306"></location> <source>Images (%1);; All Files (*)</source> <translation>画像ファイル (%1);; 全ファイル (*)</translation> </message> <message> - <location filename="../MainUI.cpp" line="329"/> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="329"></location> + <location filename="../MainUI.cpp" line="331"></location> <source> Folders: </source> <translation> フォルダー: </translation> </message> <message> - <location filename="../MainUI.cpp" line="329"/> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="329"></location> + <location filename="../MainUI.cpp" line="331"></location> <source>Files: </source> <translation>ファイル: </translation> </message> <message> - <location filename="../MainUI.cpp" line="331"/> + <location filename="../MainUI.cpp" line="331"></location> <source> Calculating...</source> <translation> 計算中...</translation> </message> |