| 1 |
<?php |
|---|
| 2 |
error_reporting(E_ERROR | E_WARNING | E_PARSE); |
|---|
| 3 |
define('DISABLE_SESSIONS', true); |
|---|
| 4 |
|
|---|
| 5 |
require "functions.php"; |
|---|
| 6 |
header("Content-Type: text/plain; charset=UTF-8"); |
|---|
| 7 |
|
|---|
| 8 |
function T_js_decl($s1) { |
|---|
| 9 |
|
|---|
| 10 |
if (!$s1) return; |
|---|
| 11 |
|
|---|
| 12 |
$T_s1 = __($s1); |
|---|
| 13 |
|
|---|
| 14 |
if ($T_s1 != $s1) { |
|---|
| 15 |
return "T_messages[\"$s1\"] = \"".__($s1)."\";\n"; |
|---|
| 16 |
} else { |
|---|
| 17 |
return ""; |
|---|
| 18 |
} |
|---|
| 19 |
} |
|---|
| 20 |
?> |
|---|
| 21 |
|
|---|
| 22 |
var T_messages = new Object(); |
|---|
| 23 |
|
|---|
| 24 |
function __(msg) { |
|---|
| 25 |
if (T_messages[msg]) { |
|---|
| 26 |
return T_messages[msg]; |
|---|
| 27 |
} else { |
|---|
| 28 |
debug('[gettext] not found: ' + msg); |
|---|
| 29 |
return msg; |
|---|
| 30 |
} |
|---|
| 31 |
} |
|---|
| 32 |
|
|---|
| 33 |
<?php |
|---|
| 34 |
|
|---|
| 35 |
print T_js_decl("display feeds"); |
|---|
| 36 |
print T_js_decl("display tags"); |
|---|
| 37 |
print T_js_decl("Loading, please wait..."); |
|---|
| 38 |
print T_js_decl("All feeds updated."); |
|---|
| 39 |
print T_js_decl("Marking all feeds as read..."); |
|---|
| 40 |
print T_js_decl("Adding feed..."); |
|---|
| 41 |
print T_js_decl("Removing feed..."); |
|---|
| 42 |
print T_js_decl("Saving feed..."); |
|---|
| 43 |
print T_js_decl("Can't add category: no name specified."); |
|---|
| 44 |
print T_js_decl("Adding feed category..."); |
|---|
| 45 |
print T_js_decl("Can't add user: no login specified."); |
|---|
| 46 |
|
|---|
| 47 |
print T_js_decl("Adding user..."); |
|---|
| 48 |
print T_js_decl("Can't create label: missing SQL expression."); |
|---|
| 49 |
print T_js_decl("Can't create label: missing caption."); |
|---|
| 50 |
print T_js_decl("Remove selected labels?"); |
|---|
| 51 |
print T_js_decl("Removing selected labels..."); |
|---|
| 52 |
print T_js_decl("No labels are selected."); |
|---|
| 53 |
print T_js_decl("Remove selected users?"); |
|---|
| 54 |
print T_js_decl("Removing selected users..."); |
|---|
| 55 |
print T_js_decl("No users are selected."); |
|---|
| 56 |
print T_js_decl("Remove selected filters?"); |
|---|
| 57 |
print T_js_decl("Removing selected filters..."); |
|---|
| 58 |
print T_js_decl("No filters are selected."); |
|---|
| 59 |
print T_js_decl("Unsubscribe from selected feeds?"); |
|---|
| 60 |
print T_js_decl("Unsubscribing from selected feeds..."); |
|---|
| 61 |
print T_js_decl("No feeds are selected."); |
|---|
| 62 |
print T_js_decl("Remove selected categories?"); |
|---|
| 63 |
print T_js_decl("Removing selected categories..."); |
|---|
| 64 |
print T_js_decl("No categories are selected."); |
|---|
| 65 |
print T_js_decl("Saving category..."); |
|---|
| 66 |
print T_js_decl("Loading help..."); |
|---|
| 67 |
print T_js_decl("Saving label..."); |
|---|
| 68 |
print T_js_decl("Login field cannot be blank."); |
|---|
| 69 |
print T_js_decl("Saving user..."); |
|---|
| 70 |
print T_js_decl("Saving filter..."); |
|---|
| 71 |
print T_js_decl("No labels are selected."); |
|---|
| 72 |
print T_js_decl("Please select only one label."); |
|---|
| 73 |
print T_js_decl("No users are selected."); |
|---|
| 74 |
print T_js_decl("Please select only one user."); |
|---|
| 75 |
print T_js_decl("No users are selected."); |
|---|
| 76 |
print T_js_decl("Please select only one user."); |
|---|
| 77 |
print T_js_decl("Reset password of selected user?"); |
|---|
| 78 |
print T_js_decl("Resetting password for selected user..."); |
|---|
| 79 |
print T_js_decl("No feeds are selected."); |
|---|
| 80 |
print T_js_decl("Please select only one feed."); |
|---|
| 81 |
print T_js_decl("No filters are selected."); |
|---|
| 82 |
print T_js_decl("Please select only one filter."); |
|---|
| 83 |
print T_js_decl("No feeds are selected."); |
|---|
| 84 |
print T_js_decl("Please select one feed."); |
|---|
| 85 |
print T_js_decl("No categories are selected."); |
|---|
| 86 |
print T_js_decl("Please select only one category."); |
|---|
| 87 |
print T_js_decl("No OPML file to upload."); |
|---|
| 88 |
print T_js_decl("Changing category of selected feeds..."); |
|---|
| 89 |
print T_js_decl("Reset to defaults?"); |
|---|
| 90 |
print T_js_decl("Trying to change password..."); |
|---|
| 91 |
print T_js_decl("Trying to change e-mail..."); |
|---|
| 92 |
print T_js_decl("No articles are selected."); |
|---|
| 93 |
print T_js_decl("Could not update headlines (missing XML object)"); |
|---|
| 94 |
print T_js_decl("Could not display article (missing XML object)"); |
|---|
| 95 |
print T_js_decl("No feed selected."); |
|---|
| 96 |
print T_js_decl("Replace current publishing address with a new one?"); |
|---|
| 97 |
print T_js_decl("Address changed."); |
|---|
| 98 |
print T_js_decl("Could not change address."); |
|---|
| 99 |
print T_js_decl("You can't unsubscribe from the category."); |
|---|
| 100 |
print T_js_decl("Please select some feed first."); |
|---|
| 101 |
print T_js_decl("You can't edit this kind of feed."); |
|---|
| 102 |
print T_js_decl("Can't create label: missing SQL expression."); |
|---|
| 103 |
print T_js_decl("Can't create label: missing caption."); |
|---|
| 104 |
print T_js_decl("Can't add user: no login specified."); |
|---|
| 105 |
print T_js_decl("No labels are selected."); |
|---|
| 106 |
print T_js_decl("No users are selected."); |
|---|
| 107 |
print T_js_decl("No filters are selected."); |
|---|
| 108 |
print T_js_decl("No feeds are selected."); |
|---|
| 109 |
print T_js_decl("No categories are selected."); |
|---|
| 110 |
print T_js_decl("Login field cannot be blank."); |
|---|
| 111 |
print T_js_decl("No feeds are selected."); |
|---|
| 112 |
print T_js_decl("Can't add filter: nothing to match on."); |
|---|
| 113 |
print T_js_decl("Can't subscribe: no feed URL given."); |
|---|
| 114 |
print T_js_decl("Unsubscribe from %s?"); |
|---|
| 115 |
print T_js_decl("Mark all visible articles in %s as read?"); |
|---|
| 116 |
print T_js_decl("Mark all articles in %s as read?"); |
|---|
| 117 |
print T_js_decl("Mark %d selected articles in %s as read?"); |
|---|
| 118 |
print T_js_decl("Please enter label title:"); |
|---|
| 119 |
print T_js_decl("Save current configuration?"); |
|---|
| 120 |
print T_js_decl("Old password cannot be blank."); |
|---|
| 121 |
print T_js_decl("New password cannot be blank."); |
|---|
| 122 |
print T_js_decl("Entered passwords do not match."); |
|---|
| 123 |
print T_js_decl("No articles found to mark"); |
|---|
| 124 |
print T_js_decl("Mark %d article(s) as read?"); |
|---|
| 125 |
print T_js_decl("No article is selected."); |
|---|
| 126 |
print T_js_decl("Star article"); |
|---|
| 127 |
print T_js_decl("Unstar article"); |
|---|
| 128 |
print T_js_decl("Please wait..."); |
|---|
| 129 |
print T_js_decl("Publish article"); |
|---|
| 130 |
print T_js_decl("Unpublish article"); |
|---|
| 131 |
print T_js_decl("You can't clear this type of feed."); |
|---|
| 132 |
print T_js_decl("Erase all non-starred articles in %s?"); |
|---|
| 133 |
print T_js_decl("Mark all articles as read?"); |
|---|
| 134 |
print T_js_decl("Rescore articles in selected feeds?"); |
|---|
| 135 |
print T_js_decl("Rescoring selected feeds..."); |
|---|
| 136 |
print T_js_decl("Rescore articles in all feeds? This operation may take a lot of time."); |
|---|
| 137 |
print T_js_decl("Rescoring feeds..."); |
|---|
| 138 |
print T_js_decl("You can't rescore this kind of feed."); |
|---|
| 139 |
print T_js_decl("Rescore articles in %s?"); |
|---|
| 140 |
print T_js_decl("Rescoring articles..."); |
|---|
| 141 |
|
|---|
| 142 |
|
|---|
| 143 |
|
|---|
| 144 |
|
|---|
| 145 |
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 |
|
|---|
| 149 |
|
|---|
| 150 |
|
|---|
| 151 |
|
|---|
| 152 |
|
|---|
| 153 |
|
|---|
| 154 |
?> |
|---|
| 155 |
|
|---|