diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-21 13:33:21 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-21 13:33:21 +0100 |
commit | 0b588dff194f5dbf55ee49e88e0ca396b1bed858 (patch) | |
tree | d41c4cfb64f505658a9b3edb0f9877c6a63102dd /lib/JWebmail | |
parent | 6fe35cbd50d318bed8d12c5d9fc2602f8936f883 (diff) |
Bundle of small changes
Diffstat (limited to 'lib/JWebmail')
-rw-r--r-- | lib/JWebmail/I18N/de.pm | 2 | ||||
-rw-r--r-- | lib/JWebmail/Model/ReadMails/Role.pm | 20 |
2 files changed, 9 insertions, 13 deletions
diff --git a/lib/JWebmail/I18N/de.pm b/lib/JWebmail/I18N/de.pm index 725244b..c1d7bcb 100644 --- a/lib/JWebmail/I18N/de.pm +++ b/lib/JWebmail/I18N/de.pm @@ -82,7 +82,7 @@ our %Lexicon = ( ## Controller 'No active session.' => 'Keine aktive Sitzung.', - 'Login failed!' => 'Einloggen fehlgeschlagen!', + 'Login failed!' => 'Anmelden fehlgeschlagen!', 'no_folder' => 'Dieses Verzeichnis gibt es nicht.', 'error_send' => 'Die Nachricht konnte nicht gesendet werden.', 'succ_send' => 'Die Nachricht wurde verschikt.', diff --git a/lib/JWebmail/Model/ReadMails/Role.pm b/lib/JWebmail/Model/ReadMails/Role.pm index ae113de..f094190 100644 --- a/lib/JWebmail/Model/ReadMails/Role.pm +++ b/lib/JWebmail/Model/ReadMails/Role.pm @@ -32,20 +32,16 @@ sub Auth { } my @methods = ( - # name:type parmeter of type - # *key key => value - # key=value default argument of value - # ^ throws exception - # ^type throws exception of type + # Conduct the README for specification # Read operations - 'count', # auth:Auth, folder -> ^ size:int count:int new:int - 'folders', # auth:Auth -> ^ :arrayref - 'verify_user', # auth:Auth -> :truthy + 'count', + 'folders', + 'verify_user', # Write operations - 'move', # auth:Auth, mid, folder -> ^ 1 - 'read_headers_for', # auth:Auth, *folder='', *start=0, *end=24, *sort='date' -> ^ :hashref - 'search', # auth:Auth, pattern, folder -> ^ :hashref - 'show', # auth:Auth, mid -> ^ :hashref + 'move', + 'read_headers_for', + 'search', + 'show', 'raw', ); |