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