Skip to content

Commit

Permalink
Add Translations for English and German, add missing Files from Last …
Browse files Browse the repository at this point in the history
…Commit
  • Loading branch information
ToBiDi0410 committed Nov 2, 2021
1 parent 61ce4b5 commit de89a1b
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 22 deletions.
41 changes: 41 additions & 0 deletions src/main/resources/translations/DE.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
Upload: Hochladen
Paste: Einfügen
Invalid: ungültig
Nothing_Selected_To_Cut_Or_Copy: Du hast nichts zum Ausschneiden oder Kopieren ausgewählt
Upload_File: Datei hochladen
Upload_The_File: die Datei hochzuladen
Uploading_File: Die Datei wird hochgeladen
File_Uploaded_Successfully: Die Datei wurde erfolgreich hochgeladen
Rename_The_File: die Datei umzubennenen
Rename: umbennenen
How_Should_File_Be_Called: Wie soll die Datei heißen?
Renaming_File: Nenne die Datei um
File_Renamed_Successfully: Die Datei wurde erfolgreich umbennant
Copy_The_File: die Datei zu kopieren
Copying_File: Kopiere die Datei
File_Is_Beeing_Copied_To: Die Datei wird kopiert zu
File_Copied_Successfully: Die Datei wurde erfolgreich kopiert
Move_The_File: die Datei zu verschieben
Moving_File: Verschiebe die Datei
File_Is_Beeing_Moved_To: Die Datei wird verschoben zu
File_Moved_Successfully: Die Datei wurde erfolgreich verschoben
Delete_The_File: die Datei zu löschen
Are_you_sure: Bist du sicher?
Really_delete_File: Möchtest du die Datei wirklich löschen?
Cannot_be_undone: Dies kann nicht rückgängig gemacht werden!
Deleting_File: Lösche die Datei
File_Deleted_Successfully: Die Datei wurde erfolgreich gelöscht
Were_not_able_to: Wir waren nicht in der Lage
Please_Do_Manually_Or_Try_Again: Bitte mache es manuell oder versuche es ernuet!
Sucessfully: erfolgreich
File: Datei
Copied: kopiert
Moved: verschoben
Renamed: umbennant
Deleted: gelöscht
Uploaded: hochgeladen
Oh_No: Oh nein
Cancel: abbrechen
Yes_Word: ja
No_Word: nein
To: zu
Location: Position
Loading_Basepage: Lade die Grundseite für dich
Basepage: Grundseite
Expand Down
41 changes: 41 additions & 0 deletions src/main/resources/translations/EN.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
Upload: Upload
Paste: Paste
Invalid: invalid
Nothing_Selected_To_Cut_Or_Copy: You have nothing selected to Cut or Copy
Upload_File: upload File
Upload_The_File: upload the File
Uploading_File: Uploading the File
File_Uploaded_Successfully: The File was uploaded successfully
Rename_The_File: rename the File
Rename: rename
How_Should_File_Be_Called: How should the File be called?
Renaming_File: Renaming the File
File_Renamed_Successfully: The File was renamed successfully
Copy_The_File: copy the File
Copying_File: Copying the File
File_Is_Beeing_Copied_To: The File is beeing copied to
File_Copied_Successfully: The File was copied successfully
Move_The_File: move the File
Moving_File: Moving the File
File_Is_Beeing_Moved_To: The File is beeing moved to
File_Moved_Successfully: The File was moved successfully
Delete_The_File: delete the File
Are_you_sure: Are you sure?
Really_delete_File: Do you really want to delete the File?
Cannot_be_undone: This cannot be undone!
Deleting_File: Deleting the File
File_Deleted_Successfully: The File was deleted successfully
Were_not_able_to: We were not able to
Please_Do_Manually_Or_Try_Again: Please do it manually or try again!
Sucessfully: successfully
File: File
Copied: copied
Moved: moved
Renamed: renamed
Deleted: deleted
Uploaded: uploaded
Oh_No: Oh no
Cancel: cancel
Yes_Word: yes
No_Word: no
To: to
Location: Location
Loading_Basepage: Loading the Base Page for you
Basepage: Basepage
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/www/global/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,11 @@ function objectToArray(obj) {
return array;
}

function getBaseURL() {
var PARTS = window.location.href.split("/");
PARTS.pop();

return PARTS.join("/");
}

var API_URL = "./api";
22 changes: 20 additions & 2 deletions src/main/resources/www/pages/others/files.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<div class="filescontent">
<div class="">
<div class="button is-info" onclick="uploadFile();">
<div class="material-icons-outlined">file_upload</div>
%T%UPLOAD%T%
</div>
<div class="button is-info pasteButton" onclick="pasteEvent(event);">
<div class="material-icons-outlined">paste</div>
%T%PASTE%T% (
<div class="filePasteID">

</div>
) (
<div class="filePasteType">

</div>
)
</div>
</div>
<div class="tile is-ancestor has-text-primary" style="padding-top: 2%;">
<div class="tile is-vertical">
<div class="tile">
Expand Down Expand Up @@ -62,8 +80,8 @@
<div class="button is-success buttonDownload" onclick="downloadFile(event)"><span class="material-icons-outlined">file_download<span></div>
<div class="button is-danger buttonDelete" onclick="deleteFile(event)"><span class="material-icons-outlined">delete</span></div>
<div class="button is-info buttonRename" onclick="renameFile(event)"><span class="material-icons-outlined">edit</span></div>
<!--<div class="button is-warning buttonDownload" onclick="copyFile(event)"><span class="material-icons-outlined">copy</span></div>
<div class="button is-warning buttonDownload" onclick="cutFile(event)"><span class="material-icons-outlined">cut</span></div>!-->
<div class="button is-warning buttonDownload" onclick="copyFile(event)"><span class="material-icons-outlined">copy</span></div>
<div class="button is-warning buttonDownload" onclick="cutFile(event)"><span class="material-icons-outlined">cut</span></div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit de89a1b

Please sign in to comment.