Skip to content

Commit

Permalink
Also introduced open folder for actual folders/directory items.
Browse files Browse the repository at this point in the history
Updated translation files and blobs
  • Loading branch information
JayBraker committed Jan 21, 2022
1 parent 16b7b01 commit e84a4e5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 20 deletions.
10 changes: 5 additions & 5 deletions lang/sync-my-l2p_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,17 @@
<translation>Für die Datei &quot;%1&quot; steht eine aktualisierte Version zum Download bereit. Soll die lokale Datei überschrieben werden? Hierbei gehen bisherige Änderungen verloren! (Du kannst in den Einstellungen das Standardverhalten ändern.)</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="678"/>
<location filename="../src/browser.cpp" line="682"/>
<source>Ordner öffnen</source>
<translation></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="734"/>
<location filename="../src/browser.cpp" line="738"/>
<source>Opening local file: </source>
<translation>Öffne lokale Datei: </translation>
</message>
<message>
<location filename="../src/browser.cpp" line="801"/>
<location filename="../src/browser.cpp" line="805"/>
<source>Finalized pulling data. Checking local state...</source>
<translation>Externe Daten bezogen. Vergleiche lokale Daten...</translation>
</message>
Expand All @@ -217,12 +217,12 @@
<translation></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="684"/>
<location filename="../src/browser.cpp" line="688"/>
<source>Öffnen</source>
<translation></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="689"/>
<location filename="../src/browser.cpp" line="693"/>
<source>Link kopieren</source>
<translation></translation>
</message>
Expand Down
10 changes: 5 additions & 5 deletions lang/sync-my-l2p_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@
<translation type="obsolete">Für die Datei &quot;%1&quot; steht eine aktualisierte Version zum Download bereit. Soll die lokale Datei überschrieben werden? Hierbei gehen bisherige Änderungen verloren! Du kannst in den Einstellungen das Standardverhalten ändern.</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="734"/>
<location filename="../src/browser.cpp" line="738"/>
<source>Opening local file: </source>
<translation></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="801"/>
<location filename="../src/browser.cpp" line="805"/>
<source>Finalized pulling data. Checking local state...</source>
<translation></translation>
</message>
Expand Down Expand Up @@ -291,17 +291,17 @@
<translation>Open course page</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="678"/>
<location filename="../src/browser.cpp" line="682"/>
<source>Ordner öffnen</source>
<translation>Open folder</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="684"/>
<location filename="../src/browser.cpp" line="688"/>
<source>Öffnen</source>
<translation>Open</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="689"/>
<location filename="../src/browser.cpp" line="693"/>
<source>Link kopieren</source>
<translation>Copy link</translation>
</message>
Expand Down
10 changes: 5 additions & 5 deletions lang/sync-my-l2p_lb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,17 +219,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="678"/>
<location filename="../src/browser.cpp" line="682"/>
<source>Ordner öffnen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="734"/>
<location filename="../src/browser.cpp" line="738"/>
<source>Opening local file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="801"/>
<location filename="../src/browser.cpp" line="805"/>
<source>Finalized pulling data. Checking local state...</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -274,12 +274,12 @@
<translation>Veranstaltungsseit opmaachen</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="684"/>
<location filename="../src/browser.cpp" line="688"/>
<source>Öffnen</source>
<translation>Opmaachen</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="689"/>
<location filename="../src/browser.cpp" line="693"/>
<source>Link kopieren</source>
<translation>Link kopéieren</translation>
</message>
Expand Down
10 changes: 5 additions & 5 deletions lang/sync-my-l2p_sq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="678"/>
<location filename="../src/browser.cpp" line="682"/>
<source>Ordner öffnen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="734"/>
<location filename="../src/browser.cpp" line="738"/>
<source>Opening local file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/browser.cpp" line="801"/>
<location filename="../src/browser.cpp" line="805"/>
<source>Finalized pulling data. Checking local state...</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -280,12 +280,12 @@
<translation>Hap faqen e eventit</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="684"/>
<location filename="../src/browser.cpp" line="688"/>
<source>Öffnen</source>
<translation>Hap</translation>
</message>
<message>
<location filename="../src/browser.cpp" line="689"/>
<location filename="../src/browser.cpp" line="693"/>
<source>Link kopieren</source>
<translation>Kopjo linkun</translation>
</message>
Expand Down
4 changes: 4 additions & 0 deletions src/browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,10 @@ void Browser::on_dataTreeView_customContextMenuRequested(const QPoint &pos)
if (RightClickedItem->type() == courseItem)
{
newCustomContextMenu.addAction(tr("Veranstaltungsseite öffnen"), this, SLOT(openCourse()));
}

if (RightClickedItem->type() == directoryItem || RightClickedItem->type() == courseItem)
{
newCustomContextMenu.addAction(tr("Ordner öffnen"), this, SLOT(openFile()));
}

Expand Down

0 comments on commit e84a4e5

Please sign in to comment.