[dw-free] English-strip /inbox
[commit: http://hg.dwscoalition.org/dw-free/rev/2e0122d7cbea]
http://bugs.dwscoalition.org/show_bug.cgi?id=379
English-strip inbox widget
Patch by
ursamajor.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=379
English-strip inbox widget
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/en.dat
- cgi-bin/LJ/Widget/InboxFolder.pm
-------------------------------------------------------------------------------- diff -r d6a9d2d4b353 -r 2e0122d7cbea bin/upgrading/en.dat --- a/bin/upgrading/en.dat Mon Apr 06 05:57:23 2009 +0000 +++ b/bin/upgrading/en.dat Mon Apr 06 16:22:01 2009 +0000 @@ -3659,6 +3659,20 @@ widget.friendupdates.title=Friend Update widget.friendupdates.viewall=More +widget.inbox.menu.delete.btn=Delete + +widget.inbox.menu.delete_all.btn=DeleteAll + +widget.inbox.menu.mark_all_read.btn=Mark All Read + +widget.inbox.menu.mark_read.btn=Mark Read + +widget.inbox.menu.mark_unread.btn=Mark Unread + +widget.inbox.menu.next_page.btn=Next Page + +widget.inbox.menu.previous_page.btn=Previous Page + widget.inboxfolder.confirm.delete=Are you sure you want to delete one or more bookmarked items? widget.journaltitles.btn=Save diff -r d6a9d2d4b353 -r 2e0122d7cbea cgi-bin/LJ/Widget/InboxFolder.pm --- a/cgi-bin/LJ/Widget/InboxFolder.pm Mon Apr 06 05:57:23 2009 +0000 +++ b/cgi-bin/LJ/Widget/InboxFolder.pm Mon Apr 06 16:22:01 2009 +0000 @@ -85,12 +85,12 @@ sub render_body { <td class="actions" colspan="2"> <span class="Pages"> Page $page of $last_page - <input type="button" id="Page_Prev_$sfx" value="Previous" $prev_disabled /> - <input type="button" id="Page_Next_$sfx" value="Next" $next_disabled /> + <input type="button" id="Page_Prev_$sfx" value="<?_ml widget.inbox.menu.previous_page.btn _ml?>" $prev_disabled /> + <input type="button" id="Page_Next_$sfx" value="<?_ml widget.inbox.menu.next_page.btn _ml?>" $next_disabled /> </span> - <input type="submit" name="markRead_$sfx" value="Read" $disabled id="${name}_MarkRead_$sfx" /> - <input type="submit" name="markUnread_$sfx" value="Unread" id="${name}_MarkUnread_$sfx" /> - <input type="submit" name="delete_$sfx" value="Delete" id="${name}_Delete_$sfx" /> + <input type="submit" name="markRead_$sfx" value="<?_ml widget.inbox.menu.mark_read.btn _ml?>" $disabled id="${name}_MarkRead_$sfx" /> + <input type="submit" name="markUnread_$sfx" value="<?_ml widget.inbox.menu.mark_unread.btn _ml?>" id="${name}_MarkUnread_$sfx" /> + <input type="submit" name="delete_$sfx" value="<?_ml widget.inbox.menu.delete.btn _ml?>" id="${name}_Delete_$sfx" /> </td> </tr> }; @@ -185,8 +185,8 @@ sub render_body { $messagetable .= qq { <div style="text-align: center; margin-top: 20px;"> - <input type="submit" name="markAllRead" value="Mark All Read" $disabled id="${name}_MarkAllRead" style="margin-right: 5em; width: 12em;" /> - <input type="submit" name="deleteAll" value="Delete All" $disabled id="${name}_DeleteAll" style="width: 12em;" /> + <input type="submit" name="markAllRead" value="<?_ml widget.inbox.menu.mark_all_read.btn _ml?>" $disabled id="${name}_MarkAllRead" style="margin-right: 5em; width: 12em;" /> + <input type="submit" name="deleteAll" value="<?_ml widget.inbox.menu.delete_all.btn _ml?>" $disabled id="${name}_DeleteAll" style="width: 12em;" /> </div> }; --------------------------------------------------------------------------------