]> git.wh0rd.org - tt-rss.git/blob - localized_js.php
352a090b2c6059aaf6318afdfdb37331b930c446
[tt-rss.git] / localized_js.php
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 print T_js_decl("");
35 print T_js_decl("Actions...");
36 print T_js_decl("Adding feed...");
37 print T_js_decl("Adding feed category...");
38 print T_js_decl("Adding user...");
39 print T_js_decl("All");
40 print T_js_decl("All articles");
41 print T_js_decl("Archive %d selected articles in %s?");
42 print T_js_decl("Assign score to article:");
43 print T_js_decl("Assign selected articles to label?");
44 print T_js_decl("Can't add category: no name specified.");
45 print T_js_decl("Can't add filter: nothing to match on.");
46 print T_js_decl("Can't create label: missing caption.");
47 print T_js_decl("Can't create user: no login specified.");
48 print T_js_decl("Can't open article: received invalid article link");
49 print T_js_decl("Can't subscribe: no feed URL given.");
50 print T_js_decl("Can't subscribe to the specified URL.");
51 print T_js_decl("Category reordering disabled");
52 print T_js_decl("Category reordering enabled");
53 print T_js_decl("Changing password...");
54 print T_js_decl("Clearing feed...");
55 print T_js_decl("Clearing selected feed...");
56 print T_js_decl("Click to collapse category");
57 print T_js_decl("comments");
58 print T_js_decl("Could not change feed URL.");
59 print T_js_decl("Could not display article (missing XML object)");
60 print T_js_decl("Could not update headlines (missing XML data)");
61 print T_js_decl("Could not update headlines (missing XML object)");
62 print T_js_decl("Data for offline browsing has not been downloaded yet.");
63 print T_js_decl("Delete %d selected articles?");
64 print T_js_decl("Delete %d selected articles in %s?");
65 print T_js_decl("display feeds");
66 print T_js_decl("Entered passwords do not match.");
67 print T_js_decl("Entire feed");
68 print T_js_decl("Erase all non-starred articles in %s?");
69 print T_js_decl("Erase all non-starred articles in selected feed?");
70 print T_js_decl("Error: Invalid feed URL.");
71 print T_js_decl("Error: No feed URL given.");
72 print T_js_decl("Error while trying to load more headlines");
73 print T_js_decl("Failed to load article in new window");
74 print T_js_decl("Failed to open window for the article");
75 print T_js_decl("How many days of articles to keep (0 - use default)?");
76 print T_js_decl("Invert");
77 print T_js_decl("Last sync: Cancelled.");
78 print T_js_decl("Last sync: Error receiving data.");
79 print T_js_decl("Last sync: %s");
80 print T_js_decl("Loading feed list...");
81 print T_js_decl("Loading, please wait...");
82 print T_js_decl("Local data removed.");
83 print T_js_decl("Login field cannot be blank.");
84 print T_js_decl("Mark all articles as read?");
85 print T_js_decl("Mark all articles in %s as read?");
86 print T_js_decl("Mark all visible articles in %s as read?");
87 print T_js_decl("Mark as read:");
88 print T_js_decl("Mark %d article(s) as read?");
89 print T_js_decl("Mark %d selected articles in %s as read?");
90 print T_js_decl("Marking all feeds as read...");
91 print T_js_decl("Move %d archived articles back?");
92 print T_js_decl("New articles available (Click to show)");
93 print T_js_decl("New password cannot be blank.");
94 print T_js_decl("No article is selected.");
95 print T_js_decl("No articles are selected.");
96 print T_js_decl("No articles found to display.");
97 print T_js_decl("No articles found to mark");
98 print T_js_decl("No categories are selected.");
99 print T_js_decl("No feeds are selected.");
100 print T_js_decl("No feed selected.");
101 print T_js_decl("No filters are selected.");
102 print T_js_decl("No labels are selected.");
103 print T_js_decl("None");
104 print T_js_decl("No OPML file to upload.");
105 print T_js_decl("No users are selected.");
106 print T_js_decl("Old password cannot be blank.");
107 print T_js_decl("Please enter a note for this article:");
108 print T_js_decl("Please enter label caption:");
109 print T_js_decl("Please enter login:");
110 print T_js_decl("Please enter new label background color:");
111 print T_js_decl("Please enter new label foreground color:");
112 print T_js_decl("Please select only one feed.");
113 print T_js_decl("Please select only one filter.");
114 print T_js_decl("Please select only one user.");
115 print T_js_decl("Please select some feed first.");
116 print T_js_decl("Please wait...");
117 print T_js_decl("Please wait until operation finishes.");
118 print T_js_decl("Publish article");
119 print T_js_decl("Purging selected feed...");
120 print T_js_decl("Remove filter %s?");
121 print T_js_decl("Remove selected articles from label?");
122 print T_js_decl("Remove selected categories?");
123 print T_js_decl("Remove selected feeds from archive?");
124 print T_js_decl("Remove selected filters?");
125 print T_js_decl("Remove selected labels?");
126 print T_js_decl("Remove selected users?");
127 print T_js_decl("Removing feed...");
128 print T_js_decl("Removing filter...");
129 print T_js_decl("Removing offline data...");
130 print T_js_decl("Removing selected categories...");
131 print T_js_decl("Removing selected filters...");
132 print T_js_decl("Removing selected labels...");
133 print T_js_decl("Removing selected users...");
134 print T_js_decl("Replace current publishing address with a new one?");
135 print T_js_decl("Rescore all articles? This operation may take a lot of time.");
136 print T_js_decl("Rescore articles in %s?");
137 print T_js_decl("Rescore articles in selected feeds?");
138 print T_js_decl("Rescore last 100 articles in selected feeds?");
139 print T_js_decl("Rescoring articles...");
140 print T_js_decl("Reset category order?");
141 print T_js_decl("Reset label colors to default?");
142 print T_js_decl("Reset password of selected user?");
143 print T_js_decl("Resetting password for selected user...");
144 print T_js_decl("Reset to defaults?");
145 print T_js_decl("Save changes to selected feeds?");
146 print T_js_decl("Save current configuration?");
147 print T_js_decl("Saving article tags...");
148 print T_js_decl("Saving feed...");
149 print T_js_decl("Saving feeds...");
150 print T_js_decl("Saving filter...");
151 print T_js_decl("Saving user...");
152 print T_js_decl("Select:");
153 print T_js_decl("Selection");
154 print T_js_decl("Selection toggle:");
155 print T_js_decl("Star article");
156 print T_js_decl("Starred");
157 print T_js_decl("Starred articles");
158 print T_js_decl("Subscribed to %d feed(s).");
159 print T_js_decl("Subscribed to %s");
160 print T_js_decl("Subscribing to feed...");
161 print T_js_decl("Switch Tiny Tiny RSS into offline mode?");
162 print T_js_decl("Synchronizing...");
163 print T_js_decl("Synchronizing articles...");
164 print T_js_decl("Synchronizing articles (%d)...");
165 print T_js_decl("Synchronizing categories...");
166 print T_js_decl("Synchronizing feeds...");
167 print T_js_decl("Synchronizing labels...");
168 print T_js_decl("tag cloud");
169 print T_js_decl("This will remove all offline data stored by Tiny Tiny RSS on this computer. Continue?");
170 print T_js_decl("Tiny Tiny RSS has trouble accessing its server. Would you like to go offline?");
171 print T_js_decl("Tiny Tiny RSS is in offline mode.");
172 print T_js_decl("Tiny Tiny RSS will reload. Go online?");
173 print T_js_decl("Trying to change e-mail...");
174 print T_js_decl("Unpublish article");
175 print T_js_decl("Unread");
176 print T_js_decl("Unstar article");
177 print T_js_decl("Unsubscribe from %s?");
178 print T_js_decl("Unsubscribe from selected feeds?");
179 print T_js_decl("Unsubscribing from selected feeds...");
180 print T_js_decl("You are already subscribed to this feed.");
181 print T_js_decl("You can't clear this type of feed.");
182 print T_js_decl("You can't edit this kind of feed.");
183 print T_js_decl("You can't rescore this kind of feed.");
184 print T_js_decl("You can't unsubscribe from the category.");
185 print T_js_decl("You have to synchronize some articles before going into offline mode.");
186 print T_js_decl("You won't be able to access offline version of Tiny Tiny RSS until you switch it into offline mode again. Go online?");
187 ?>