diff options
author | simo <simo> | 2005-06-10 21:30:49 +0200 |
---|---|---|
committer | simo <simo> | 2005-06-10 21:30:49 +0200 |
commit | 7044610e32b37c079e03cab8bf9cfa8a8f381ec9 (patch) | |
tree | 666a7c8c77a274b0c9cb0ba6b7fd20a535d418cf /web/html/pkgedit.php | |
parent | f1889a9e3d968f194e4b6955915f0e0c3c43622c (diff) | |
download | aur-7044610e32b37c079e03cab8bf9cfa8a8f381ec9.tar.gz aur-7044610e32b37c079e03cab8bf9cfa8a8f381ec9.tar.xz |
New Translation Structure
Diffstat (limited to 'web/html/pkgedit.php')
-rw-r--r-- | web/html/pkgedit.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php index 3a6dc99e..06ed80f8 100644 --- a/web/html/pkgedit.php +++ b/web/html/pkgedit.php @@ -93,11 +93,14 @@ if ($_REQUEST["add_Comment"]) { $q.= "WHERE Packages.ID = ".intval($_REQUEST["ID"]); $result = db_query($q, $dbh); $row = mysql_fetch_assoc($result); - $body = __("A comment has been added to %s, you may view it at:\nhttp://aur.archlinux.org/packages.php?do_Details=1&ID=%s\n\nYou received this e-mail because you chose to recieve notifications of new comments on this package, if you no longer wish to recieve notifications about this package, please go the the above package page and click the appropriate control.",array($row['Name'],$_REQUEST["ID"])); + #TODO: native language emails for users, based on their prefs + # Simply making these strings translatable won't work, users would be + # getting emails in the language that the user who posted the comment was in + $body = "A comment has been added to ".$row['Name'].", you may view it at:\nhttp://aur.archlinux.org/packages.php?do_Details=1&ID=".$_REQUEST["ID"]."\n\n\n---\nYou received this e-mail because you chose to recieve notifications of new comments on this package, if you no longer wish to recieve notifications about this package, please go the the above package page and click the UnNotify."; $body = wordwrap($body, 70); $bcc = implode(', ', $bcc); $headers = "Bcc: $bcc\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR\n"; - @mail(' ', __("AUR Comment Notification for %s",array($row['Name'])), $body, $headers); + @mail(' ', "AUR Comment Notification for ".$row['Name'], $body, $headers); } } else { |