Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trash #100

Merged
merged 4 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mail = {
inbox = {},
outbox = {},
drafts = {},
trash = {},
contacts = {},
maillists = {},
to = {},
Expand All @@ -32,7 +33,8 @@ mail = {
hud_notifications = {},
sound_notifications = {},
unreadcolorenable = {},
cccolorenable = {}
cccolorenable = {},
trash_move_enable = {}
},

message_drafts = {}
Expand All @@ -58,6 +60,7 @@ dofile(MP .. "/ui/mail.lua")
dofile(MP .. "/ui/inbox.lua")
dofile(MP .. "/ui/outbox.lua")
dofile(MP .. "/ui/drafts.lua")
dofile(MP .. "/ui/trash.lua")
dofile(MP .. "/ui/message.lua")
dofile(MP .. "/ui/events.lua")
dofile(MP .. "/ui/contacts.lua")
Expand Down
47 changes: 26 additions & 21 deletions locale/mail.de.tr
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,19 @@ BCC=BCC
Cancel=Abbrechen
Save draft=Entwurf Speichern
Send=Senden
CC=CC
New=Neu
Delete=Löschen
Edit=Bearbeiten
Name=Name
No drafts=Keine Entwürfe
To=An
Subject=Betreff
Player name=Spielername
That name is already in your contacts=
The contact name cannot be empty.=
Note=Notiz
Back=Zurück
Save=Speichern
Maillist name=Verteilerlistenname
Desc=Beschreibung
Players=Spieler
That name is already in your mailing lists.=
The mailing list name cannot be empty.=
Back=Zurück
Mark Read=Als gelesen makieren
Mark Unread=Als ungelesen makieren
(No description)=(Keine Beschreibung)
No maillist=Keine Verteilerliste
From=Von
You have mail! Type /mail to read=
Read=Lesen
Filter=
Allow multiple selection=
@1 of @2 selected=
(Un)select all=
No mail=Keine Nachrichten
Trash=
Inbox=Posteingang
Outbox=Senden
Drafts=Entwürfe
Expand All @@ -52,11 +34,29 @@ Mail lists=Verteilerlisten
Options=
Close=Schließen
(No subject)=(Kein Betreff)
From=Von
Reply=Antworten
Reply all=Allen antworten
Forward=Weiter
Filter=
Allow multiple selection=
@1 of @2 selected=
(Un)select all=
No mail=Keine Nachrichten
Read=Lesen
(No description)=(Keine Beschreibung)
No maillist=Keine Verteilerliste
Note=Notiz
Edit=Bearbeiten
New=Neu
Delete=Löschen
You have mail! Type /mail to read=
Subject=Betreff
To=An
Add=Hinzufügen
Remove=Entfernen
Name=Name
CC=CC
Notifications=
Chat notifications=
On join notifications=
Expand All @@ -66,10 +66,15 @@ Message list=
Show unread in different color=
Show CC/BCC in different color=
Default sorting fields=
From/To=Von/An
Other=
Move deleted messages to trash=
Reset=
Settings=
About=Über
Save=Speichern
Ascending=
Descending=
Date=Datum
From/To=Von/An
Restore=
Trash is empty=
47 changes: 26 additions & 21 deletions locale/mail.es.tr
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,19 @@ BCC=CCO
Cancel=Cancelar
Save draft=Guardar borrador
Send=Enviar
CC=CC
New=Nuevo
Delete=Borrar
Edit=Editar
Name=Nombre
No drafts=No hay borradores
To=Para
Subject=Asunto
Player name=Nombre del jugador
That name is already in your contacts=Ese nombre ya está en tus contactos
The contact name cannot be empty.=Ese nombre de contacto no puede estar vacío.
Note=Nota
Back=Volver
Save=Guardar
Maillist name=Nombre de la lista de correo
Desc=Desc
Players=Jugadores
That name is already in your mailing lists.=Ese nombre ya está entus listas de correo.
The mailing list name cannot be empty.=Ese nombre de lista de correo no puede estar vacío.
Back=Volver
Mark Read=Marcar como leído
Mark Unread=Marcar como no leído
(No description)=(Sin descripción)
No maillist=Sin lista de correo
From=De
You have mail! Type /mail to read=
Read=Leído
Filter=Filtrar
Allow multiple selection=Permitir selección múltiple
@1 of @2 selected=
(Un)select all=(Des)seleccionar todos
No mail=Sin correo
Trash=
Inbox=Entrada
Outbox=Enviados
Drafts=Borradores
Expand All @@ -52,11 +34,29 @@ Mail lists=Listas de correo
Options=
Close=Cerrar
(No subject)=(Sin asunto)
From=De
Reply=Responder
Reply all=Responder a todos
Forward=Reenviar
Filter=Filtrar
Allow multiple selection=Permitir selección múltiple
@1 of @2 selected=
(Un)select all=(Des)seleccionar todos
No mail=Sin correo
Read=Leído
(No description)=(Sin descripción)
No maillist=Sin lista de correo
Note=Nota
Edit=Editar
New=Nuevo
Delete=Borrar
You have mail! Type /mail to read=
Subject=Asunto
To=Para
Add=Añadir
Remove=Quitar
Name=Nombre
CC=CC
Notifications=
Chat notifications=
On join notifications=
Expand All @@ -66,13 +66,18 @@ Message list=
Show unread in different color=
Show CC/BCC in different color=
Default sorting fields=
From/To=De/Para
Other=
Move deleted messages to trash=
Reset=
Settings=
About=Acerca de
Save=Guardar
Ascending=Ascendente
Descending=Descendiente
Date=Fecha
From/To=De/Para
Restore=
Trash is empty=


##### not used anymore #####
Expand Down
47 changes: 26 additions & 21 deletions locale/mail.fr.tr
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,19 @@ BCC=Cci
Cancel=Annuler
Save draft=Enregistrer le brouillon
Send=Envoyer
CC=Cc
New=Nouveau
Delete=Supprimer
Edit=Modifier
Name=Nom
No drafts=Pas de brouillons
To=À
Subject=Objet
Player name=Nom du joueur
That name is already in your contacts=Ce nom est déjà dans vos contacts
The contact name cannot be empty.=Le nom du contact ne peut pas être vide.
Note=Note
Back=Retour
Save=Sauvegarder
Maillist name=Nom de la liste de diffusion
Desc=Desc
Players=Joueurs
That name is already in your mailing lists.=Ce nom est déjà dans vos listes de diffusion.
The mailing list name cannot be empty.=Le nom de la liste de diffusion ne peut pas être vide.
Back=Retour
Mark Read=Marquer comme lu
Mark Unread=Marquer non lu
(No description)=Sans description
No maillist=Aucune liste de diffusion
From=De
You have mail! Type /mail to read=Vous avez reçu un mail ! Entrez /mail pour le consulter
Read=Lire
Filter=Filtre
Allow multiple selection=Autoriser la sélection multiple
@1 of @2 selected=@1 sur @2 sélectionnés
(Un)select all=Tout (dé)selectionner
No mail=Aucun mail
Trash=Corbeille
Inbox=Boîte de réception
Outbox=Envoyés
Drafts=Brouillons
Expand All @@ -52,11 +34,29 @@ Mail lists=Listes de diffusion
Options=Options
Close=Fermer
(No subject)=(Sans objet)
From=De
Reply=Répondre
Reply all=Répondre à tous
Forward=Transférer
Filter=Filtre
Allow multiple selection=Autoriser la sélection multiple
@1 of @2 selected=@1 sur @2 sélectionnés
(Un)select all=Tout (dé)selectionner
No mail=Aucun mail
Read=Lire
(No description)=Sans description
No maillist=Aucune liste de diffusion
Note=Note
Edit=Modifier
New=Nouveau
Delete=Supprimer
You have mail! Type /mail to read=Vous avez reçu un mail ! Entrez /mail pour le consulter
Subject=Objet
To=À
Add=Ajouter
Remove=Enlever
Name=Nom
CC=Cc
Notifications=Notifications
Chat notifications=Notifications dans le tchat
On join notifications=Notifications à la connexion
Expand All @@ -66,10 +66,15 @@ Message list=Liste de messages
Show unread in different color=Coloriser les non lus
Show CC/BCC in different color=Coloriser les Cc/Cci
Default sorting fields=Champs de tri par défaut
From/To=De/À
Other=Autre
Move deleted messages to trash=Supprimer les messages dans la corbeille
Reset=Réinitialiser
Settings=Paramètres
About=À propos
Save=Sauvegarder
Ascending=Croissant
Descending=Décroissant
Date=Date
From/To=De/À
Restore=Restaurer
Trash is empty=La corbeille est vide
62 changes: 33 additions & 29 deletions locale/mail.hu.tr
Original file line number Diff line number Diff line change
@@ -1,68 +1,62 @@
# textdomain: mail
# author: nyomi
Provided my mt-mods=Feltéve, hogy az én mt-mod-om
Version=Verzió
Licenses=License
Expat (code), WTFPL (textures)=Expat (kód), WTFPL (textúrák)
Communication using this system is NOT guaranteed to be private!=A systemben lévő komunikáció nem garantáltan privát!
Admins are able to view the messages of any player.=Az adminok megtudják nézni minden játékos üzenetjét.
Contributors=Közreműködöttek
Note=Jegyzet
Settings=Beállítások
About=Róla
You have a new message from @1! Subject: @2=Van egy új üzeneted @1-től Cím: @2
To view it, type /mail=Ahhoz hogy megnézd, írd /mail
You could also use the button in your inventory.=A gombot is tudod használni az inventoridban.
BCC=BCC
Cancel=Mégse
Save draft=mentés piszkozatként
Send=Küldés
Subject=Cím
To=Neki
CC=CC
Name=Név
No drafts=Nincsenek piszkozatok
Edit=Szerkesztés
New=Új
Delete=Törlés
Inbox=PostaLáda
Outbox=Elküldött
Drafts=Piszkozatok
Contacts=Contaktok
Mail lists=Levelező lista
Options=Lehetőségek
Close=Bezár
(No subject)=(nincs cím)
Player name=Játékos neve
That name is already in your contacts=A név már a kontaktok között van
The contact name cannot be empty.=A contakt neve nem lehet üres.
Save=Mentés
Maillist name=Levelező lista neve
Desc=Desc
Players=Játékosok
That name is already in your mailing lists.=A név már benne van a levelező listában
The mailing list name cannot be empty.=A levelező lista neve nem lehet üres
Back=Visza
Mark Read=Jelöld olvasottként
Mark Unread=Jelöld olvasatlanul
Trash=
Inbox=PostaLáda
Outbox=Elküldött
Drafts=Piszkozatok
Contacts=Contaktok
Mail lists=Levelező lista
Options=Lehetőségek
Close=Bezár
(No subject)=(nincs cím)
From=Tőle
Read=Olvasott
Reply=Válasz
Reply all=Válaszmindenkinek
Forward=Továbbítás
Filter=Filterek
Allow multiple selection=
@1 of @2 selected=
(Un)select all=(ne válaszd ki) mindegyik választása
No mail=Nincs levél
Reply=Válasz
Reply all=Válaszmindenkinek
Forward=Továbbítás
Date=Dátum
Ascending=Emelkedő
Descending=Sűlyedő
Read=Olvasott
(No description)=(Nincs leírás)
No maillist=Nincs levelező lista
Note=Jegyzet
Edit=Szerkesztés
New=Új
Delete=Törlés
You have mail! Type /mail to read=Van egy leveled! Írd /mail az olvasáshoz
Subject=Cím
To=Neki
Add=Hozzáadás
Remove=Elvétel
Back=Visza
Name=Név
CC=CC
Notifications=Értesítések
Chat notifications=Chates értesítések
On join notifications=Belépési értesírés
Expand All @@ -72,5 +66,15 @@ Message list=Üzenetek listája
Show unread in different color=Mutasd a nem olvasottakat más színnel
Show CC/BCC in different color=Mutasd a CC-t/BCC-t más színnel
Default sorting fields=Alap válogató terület
From/To=Tól(től)/neki
Other=
Move deleted messages to trash=
Reset=Viszaállítás
Settings=Beállítások
About=Róla
Save=Mentés
Ascending=Emelkedő
Descending=Sűlyedő
Date=Dátum
From/To=Tól(től)/neki
Restore=
Trash is empty=
Loading