Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: locales/en/IAdblockPlusSubscription.json

Issue 6021528219025408: Issue #1170 More progress migrating adblockplus.org to our CMS. (Closed)
Patch Set: Created Sept. 1, 2014, 10:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « locales/en/IAdblockPlus.json ('k') | locales/en/_chrome_install_frame.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: locales/en/IAdblockPlusSubscription.json
===================================================================
new file mode 100644
--- /dev/null
+++ b/locales/en/IAdblockPlusSubscription.json
@@ -0,0 +1,137 @@
+{
+ "title": {
+ "message": "IAdblockPlusSubscription"
+ },
+ "property0name": {
+ "message": "url"
+ },
+ "property0type": {
+ "message": "AString"
+ },
+ "property0modifier": {
+ "message": "readonly"
+ },
+ "property0description": {
+ "message": "<p>Subscription identifier. This can be any string for externally managed subscriptions and special groups, for other subscriptions this will be their update URL.</p>"
+ },
+ "property1name": {
+ "message": "special"
+ },
+ "property1type": {
+ "message": "boolean"
+ },
+ "property1modifier": {
+ "message": "readonly"
+ },
+ "property1description": {
+ "message": "<p>Defines whether the subscription is a special group containing user filters. Currently there are four special groups, namely <tt><sub>fl</sub></tt> (normal filters), <tt><sub>wl</sub></tt> (exception rules), <tt><sub>eh</sub></tt> (element hiding rules) and <tt><sub>il</sub></tt> (invalid rules).</p>"
+ },
+ "property2name": {
+ "message": "title"
+ },
+ "property2type": {
+ "message": "AString"
+ },
+ "property2modifier": {
+ "message": "readonly"
+ },
+ "property2description": {
+ "message": "<p>Subscription's title as displayed in the Preferences dialog</p>"
+ },
+ "property3name": {
+ "message": "autoDownload"
+ },
+ "property3type": {
+ "message": "boolean"
+ },
+ "property3modifier": {
+ "message": "readonly"
+ },
+ "property3description": {
+ "message": "<p>Defines whether the subscription will be updated automatically. Note that this attribute is meaningless for externally managed subscriptions and special groups.</p>"
+ },
+ "property4name": {
+ "message": "disabled"
+ },
+ "property4type": {
+ "message": "boolean"
+ },
+ "property4modifier": {
+ "message": "readonly"
+ },
+ "property4description": {
+ "message": "<p>Defines whether the subscription is disabled. If this attribute is set to <tt>true</tt> the filters in the subscription won't be applied.</p>"
+ },
+ "property5name": {
+ "message": "external"
+ },
+ "property5type": {
+ "message": "boolean"
+ },
+ "property5modifier": {
+ "message": "readonly"
+ },
+ "property5description": {
+ "message": "<p>Defines whether the subscription is managed externally. If this attribute is set to <tt>true</tt> the filters in the subscription will only be updated if some extension calls <a href=\"/en/IAdblockPlus#method_updateExternalSubscription\">IAdblockPlus.updateExternalSubscription</a>.</p>"
+ },
+ "property6name": {
+ "message": "lastDownload"
+ },
+ "property6type": {
+ "message": "long"
+ },
+ "property6modifier": {
+ "message": "readonly"
+ },
+ "property6description": {
+ "message": "<p>Timestamp (return value of <tt>new Date().getTime()</tt>) of last attempt to download the subscription. The value 0 means that the subscription was never downloaded.</p>"
+ },
+ "property7name": {
+ "message": "downloadStatus"
+ },
+ "property7type": {
+ "message": "AString"
+ },
+ "property7modifier": {
+ "message": "readonly"
+ },
+ "property7description": {
+ "message": "<p>Result code for the last download attempt. This can have the following values:</p>\n\n\t<ul>\n\t\t<li><tt>ok</tt> -- Success</li>\n\t\t<li><tt>invalid_url</tt> -- Subscription URL is invalid</li>\n\t\t<li><tt>connection_error</tt> -- Subscription could not be downloaded</li>\n\t\t<li><tt>invalid_data</tt> -- Subscription was downloaded but the first line wasn't <tt>[Adblock]</tt></li>\n\t</ul>"
+ },
+ "property8name": {
+ "message": "lastModified"
+ },
+ "property8type": {
+ "message": "AString"
+ },
+ "property8modifier": {
+ "message": "readonly"
+ },
+ "property8description": {
+ "message": "<p>Value of the <tt>Last-Modified</tt> HTTP header received with the last successful download. This isn't used yet and will always be empty.</p>"
+ },
+ "method0name": {
+ "message": "getPatterns"
+ },
+ "method0return_type": {
+ "message": "arrayof wstring"
+ },
+ "method0return_description": {
+ "message": "array with subscription's filter rules"
+ },
+ "method0description": {
+ "message": "<p>Retrieves the list of filter rules for a subscription. Note that this method usually will not return anything useful for special groups.</p>"
+ },
+ "s1": {
+ "message": "This interface represents a group in the Adblock Plus preferences dialog, it is returned by <a>IAdblockPlus</a>. All access is read-only."
+ },
+ "s2": {
+ "message": "<em>Note</em>: You should not keep a reference to this object. If you need the state of the same subscription at a later point in time you should request it again from IAdblockPlus to get correct information."
+ },
+ "general_notes": {
+ "message": "General notes"
+ },
+ "methods_and_properties": {
+ "message": "Methods and properties"
+ }
+}
« no previous file with comments | « locales/en/IAdblockPlus.json ('k') | locales/en/_chrome_install_frame.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld