Commit fbd23aa8 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

i18n: minor fixes

Add context and comment unused string (to not waste translators' time).
parent 68697d49
File mode changed from 100644 to 100755
...@@ -127,6 +127,8 @@ QUrl GDriveHelper::convertFromGDocs(KGAPI2::Drive::FilePtr &file) ...@@ -127,6 +127,8 @@ QUrl GDriveHelper::convertFromGDocs(KGAPI2::Drive::FilePtr &file)
return file->downloadUrl(); return file->downloadUrl();
} }
// Currently unused, see https://phabricator.kde.org/T3443
/*
KIO::UDSEntry GDriveHelper::trash() KIO::UDSEntry GDriveHelper::trash()
{ {
KIO::UDSEntry trashEntry; KIO::UDSEntry trashEntry;
...@@ -136,5 +138,5 @@ KIO::UDSEntry GDriveHelper::trash() ...@@ -136,5 +138,5 @@ KIO::UDSEntry GDriveHelper::trash()
trashEntry.insert(KIO::UDSEntry::UDS_ICON_NAME, QStringLiteral("user-trash")); trashEntry.insert(KIO::UDSEntry::UDS_ICON_NAME, QStringLiteral("user-trash"));
return trashEntry; return trashEntry;
} }
*/
...@@ -244,7 +244,7 @@ void KIOGDrive::listAccounts() ...@@ -244,7 +244,7 @@ void KIOGDrive::listAccounts()
} }
KIO::UDSEntry newAccountEntry; KIO::UDSEntry newAccountEntry;
newAccountEntry.insert(KIO::UDSEntry::UDS_NAME, QStringLiteral("new-account")); newAccountEntry.insert(KIO::UDSEntry::UDS_NAME, QStringLiteral("new-account"));
newAccountEntry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, i18n("New account")); newAccountEntry.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, i18nc("login in a new google account", "New account"));
newAccountEntry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); newAccountEntry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR);
newAccountEntry.insert(KIO::UDSEntry::UDS_ICON_NAME, QStringLiteral("list-add-user")); newAccountEntry.insert(KIO::UDSEntry::UDS_ICON_NAME, QStringLiteral("list-add-user"));
listEntry(newAccountEntry); listEntry(newAccountEntry);
......
Markdown is supported
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