From dd970ebde4659015cacb03f3cec08ba3662f76b7 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Sat, 20 Mar 2021 18:32:06 -0700 Subject: remove fx_minversion_inline macro calls (#258) --- .../index.html" | 30 +++++++++++----------- files/vi/web/api/node/index.html | 4 +-- files/vi/web/api/window/index.html | 6 ++--- 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'files/vi') diff --git "a/files/vi/orphaned/b\341\272\243n_k\303\252_khai_c\303\240i_\304\221\341\272\267t/index.html" "b/files/vi/orphaned/b\341\272\243n_k\303\252_khai_c\303\240i_\304\221\341\272\267t/index.html" index 0986204103..b62d784e9b 100644 --- "a/files/vi/orphaned/b\341\272\243n_k\303\252_khai_c\303\240i_\304\221\341\272\267t/index.html" +++ "b/files/vi/orphaned/b\341\272\243n_k\303\252_khai_c\303\240i_\304\221\341\272\267t/index.html" @@ -25,7 +25,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt

Định danh (id) của phần mở rộng, nó là một:

The latter format is significantly easier to generate and manipulate. Firefox 1.5 has checking to ensure that your id falls into one format or the other and will refuse to install addons that have malformed ids.

Examples

@@ -67,8 +67,8 @@ original_slug: Bản_Kê_Khai_Cài_Đặt

Examples

<em:type>2</em:type>
-

{{ Fx_minversion_inline(1.5) }} This property was added for Firefox 1.5, and is only required for addon types other than Extensions and Themes.

-

{{ Fx_minversion_inline(3) }} Firefox 2 and previous supported a value of 16 to represent plug-ins. In Firefox 3 this has been removed.

+

This property was added for Firefox 1.5, and is only required for addon types other than Extensions and Themes.

+

Firefox 2 and previous supported a value of 16 to represent plug-ins. In Firefox 3 this has been removed.

targetApplication

An object specifying an application targeted by this addon. This means that the addon will work with the application identified by the id property (<em:id>) specified (for a comprehensive list of application IDs and valid min/maxVersions for them see Valid application versions for add-on developers), from the minimum version (<em:minVersion>) up to and including the maximum version (<em:maxVersion>). These version strings are formatted in the same fashion as the version property and will be compared to the application version; this allows the extension author to specify which versions of Firefox an extension has been tested with.

@@ -83,7 +83,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt </Description> </em:targetApplication> -

{{ Fx_minversion_inline(3) }} Gecko 1.9 based applications allow you to use the special targetApplication id toolkit@mozilla.org to say that the add-on is compatible with any toolkit app with a toolkit version matching the minVersion and maxVersion.

+

Gecko 1.9 based applications allow you to use the special targetApplication id toolkit@mozilla.org to say that the add-on is compatible with any toolkit app with a toolkit version matching the minVersion and maxVersion.

name

The name of the add-on; intended for display in the UI.

Examples

@@ -91,7 +91,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt

Optional Property Reference

You may need to supply these properties, depending on the capabilities of your add-on.

localized

-

{{ Fx_minversion_inline(3) }} Allows you to localize the add-on's name, description, contributors and other metadata. The localized description must specify at least one em:locale which indicates which locales to use this information for.

+

Allows you to localize the add-on's name, description, contributors and other metadata. The localized description must specify at least one em:locale which indicates which locales to use this information for.

Examples

This declares a set of add-on metadata to be displayed when the application is running in the de-DE locale.

<em:localized>
@@ -127,13 +127,13 @@ original_slug: Bản_Kê_Khai_Cài_Đặt
 
<em:creator>CoolExtension Team</em:creator>
 

developer

-

{{ Fx_minversion_inline(2) }} The name(s) of co-developers. You may specify more than one of this value to specify multiple developers.

+

The name(s) of co-developers. You may specify more than one of this value to specify multiple developers.

Examples

<em:developer>Jane Doe</em:developer>
 <em:developer>Koos van der Merwe</em:developer>
 

translator

-

{{ Fx_minversion_inline(2) }} The name(s) of translators. You may specify more than one of this value to specify multiple translators.

+

The name(s) of translators. You may specify more than one of this value to specify multiple translators.

Examples

<em:translator>Janez Novak</em:translator>
 <em:translator>Kari Nordmann</em:translator>
@@ -156,7 +156,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt
 

A link to a custom Update Manifest file that specifies available updates to the addon. The format is described below. If enabled, the addon manager periodically checks with this Manifest file to determine if newer versions are available.

Note: It is strongly recommended that the updateURL be an HTTPS (secure) link. Non-secure update URLs can be hijacked by a malicious update.rdf file, enabling malware to infiltrate the user's computer. Alternatively, you could host your extension on AMO and leave out the updateURL completely. This provides secure updates automatically.
-

{{ Fx_minversion_inline(3) }} For security reasons, Gecko 1.9 applications require that if you specify an updateURL, it must be an https URL, or you must include an updateKey.

+

For security reasons, Gecko 1.9 applications require that if you specify an updateURL, it must be an https URL, or you must include an updateKey.

Your server must send this file as text/rdf, text/xml or application/xml+rdf or the update checker may not work.

The addon manager will substitute the following values into this URL in case you wish to generate the response RDF dynamically, such as using PHP or CGI:

@@ -179,7 +179,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt - + @@ -191,19 +191,19 @@ original_slug: Bản_Kê_Khai_Cài_Đặt - + - + - + - +
%ITEM_STATUS%{{ Fx_minversion_inline(2) }} Comma separated list of the add-ons operating status in the application. Contains at the least either userEnabled or userDisabled plus any number of incompatible, blockslisted or needsDependencies.Comma separated list of the add-ons operating status in the application. Contains at the least either userEnabled or userDisabled plus any number of incompatible, blockslisted or needsDependencies.
%APP_ID%
%CURRENT_APP_VERSION%{{ Fx_minversion_inline(3.5) }} The version of the current applicationThe version of the current application
%APP_OS%{{ Fx_minversion_inline(1.5) }} The value of OS_TARGET from the Firefox build system, identifying the operating system being used.The value of OS_TARGET from the Firefox build system, identifying the operating system being used.
%APP_ABI%{{ Fx_minversion_inline(1.5) }} The value of the TARGET_XPCOM_ABI value from the Firefox build system, identifying the compiler/architecture combination used to compile the current application.The value of the TARGET_XPCOM_ABI value from the Firefox build system, identifying the compiler/architecture combination used to compile the current application.
%APP_LOCALE%{{ Fx_minversion_inline(3) }} The current application's locale.The current application's locale.
@@ -238,7 +238,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt Note: For the above example to work you will also have to add a skin package line to your chrome.manifest file. See Chrome Registration#skin. Alternatively you can place your icon in the directory specified in your content package line.

{{ gecko_minversion_note("1.9.2", "Starting in Gecko 1.9.2 (Firefox 3.6), you can also simply include your icon, named icon.png, in the base directory of the add-on. This allows your add-on's icon to be displayed even when the add-on is disabled, or if the manifest is missing an iconURL entry.") }}

targetPlatform

-

{{ Fx_minversion_inline(1.5) }} A string specifying a platform that the addon supports. It contains either the value of OS_TARGET alone or combined with TARGET_XPCOM_ABI, separated by an underscore (_).

+

A string specifying a platform that the addon supports. It contains either the value of OS_TARGET alone or combined with TARGET_XPCOM_ABI, separated by an underscore (_).

You can specify multiple targetPlatform properties per manifest. If any value matches the application's build parameters, it will be installed; if not, the user will get an appropriate error message.

Examples

<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
@@ -257,7 +257,7 @@ original_slug: Bản_Kê_Khai_Cài_Đặt
 
 

This property was added for Firefox/Thunderbird 1.5. Previous versions of these applications will ignore the restrictions and install the addon regardless of the platform.

requires

-

{{ Fx_minversion_inline(2) }} This tag has a similar syntax to the <em:targetApplication> tag. If the add-on specified by the <em:id> tag is not installed or has an incompatible version, the extension manager will disable your extension and show the message "Requires additional items". You can add as many <em:requires> tags as you like. Your extension will be disabled if any of the specified requirements fail.

+

This tag has a similar syntax to the <em:targetApplication> tag. If the add-on specified by the <em:id> tag is not installed or has an incompatible version, the extension manager will disable your extension and show the message "Requires additional items". You can add as many <em:requires> tags as you like. Your extension will be disabled if any of the specified requirements fail.

Example

<em:requires>
    <Description>
diff --git a/files/vi/web/api/node/index.html b/files/vi/web/api/node/index.html
index 0d23b9445d..cf1f7cbe1f 100644
--- a/files/vi/web/api/node/index.html
+++ b/files/vi/web/api/node/index.html
@@ -26,7 +26,7 @@ translation_of: Web/API/Node
 
{{domxref("Node.baseURI")}} {{readonlyInline}}
Returns a {{domxref("DOMString")}} representing the base URL. The concept of base URL changes from one language to another; in HTML, it corresponds to the protocol, the domain name and the directory structure, that is all until the last '/'.
-
{{domxref("Node.baseURIObject")}} {{Non-standard_inline()}} {{ Fx_minversion_inline("3") }}
+
{{domxref("Node.baseURIObject")}} {{Non-standard_inline()}}
(Not available to web content.) The read-only {{ Interface("nsIURI") }} object representing the base URI for the element.
{{domxref("Node.childNodes")}} {{readonlyInline}}
Returns a live {{domxref("NodeList")}} containing all the children of this node. {{domxref("NodeList")}} being live means that if the children of the Node change, the {{domxref("NodeList")}} object is automatically updated.
@@ -44,7 +44,7 @@ translation_of: Web/API/Node
Returns a {{domxref("Node")}} representing the next node in the tree, or null if there isn't such node.
{{domxref("Node.nodeName")}} {{readonlyInline}}
Returns a {{domxref("DOMString")}} containing the name of the Node. The structure of the name will differ with the name type. E.g. An {{domxref("HTMLElement")}} will contain the name of the corresponding tag, like 'audio' for an {{domxref("HTMLAudioElement")}}, a {{domxref("Text")}} node will have the '#text' string, or a {{domxref("Document")}} node will have the '#document' string.
-
{{domxref("Node.nodePrincipal")}} {{Non-standard_inline()}}{{ Fx_minversion_inline("3") }}
+
{{domxref("Node.nodePrincipal")}} {{Non-standard_inline()}}
A {{ Interface("nsIPrincipal") }} representing the node principal.
{{domxref("Node.nodeType")}}{{readonlyInline}}
Returns an unsigned short representing the type of the node. Possible values are: diff --git a/files/vi/web/api/window/index.html b/files/vi/web/api/window/index.html index 1419252c54..cc02cd80a2 100644 --- a/files/vi/web/api/window/index.html +++ b/files/vi/web/api/window/index.html @@ -79,7 +79,7 @@ translation_of: Web/API/Window
Gets/sets the status bar text for the given window.
{{domxref("Window.devicePixelRatio")}} {{non-standard_inline}} {{ReadOnlyInline}}
Returns the ratio between physical pixels and device independent pixels in the current display.
-
{{domxref("Window.dialogArguments")}} {{Fx_minversion_inline(3)}} {{ReadOnlyInline}}
+
{{domxref("Window.dialogArguments")}} {{ReadOnlyInline}}
Gets the arguments passed to the window (if it's a dialog box) at the time {{domxref("window.showModalDialog()")}} was called. This is an {{Interface("nsIArray")}}.
{{domxref("Window.directories")}} {{obsolete_inline}}
Synonym of {{domxref("window.personalbar")}}
@@ -162,7 +162,7 @@ translation_of: Web/API/Window
Returns the personalbar object, whose visibility can be toggled in the window.
{{domxref("Window.pkcs11")}} {{obsolete_inline(29)}}
Formerly provided access to install and remove PKCS11 modules.
-
{{domxref("Window.returnValue")}} {{Fx_minversion_inline(3)}}
+
{{domxref("Window.returnValue")}}
The return value to be returned to the function that called {{domxref("window.showModalDialog()")}} to display the window as a modal dialog.
{{domxref("Window.screen")}} {{readOnlyInline}}
Returns a reference to the screen object associated with the window.
@@ -280,7 +280,7 @@ translation_of: Web/API/Window
Opens a new window.
{{domxref("Window.openDialog()")}} {{Non-standard_inline}} {{obsolete_inline}}
Opens a new dialog window.
-
{{domxref("Window.postMessage()")}} {{Fx_minversion_inline(3)}}
+
{{domxref("Window.postMessage()")}}
Provides a secure means for one window to send a string of data to another window, which need not be within the same domain as the first.
{{domxref("Window.print()")}}
Opens the Print Dialog to print the current document.
-- cgit v1.2.3-54-g00ecf