Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Side by Side Diff: chrome/common/extensions/docs/i18n.html

Issue 9465005: Updating the doc to reflect the new experimental.keybinding API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 </div> 802 </div>
803 </div> 803 </div>
804 <!-- MIN_VERSION --> 804 <!-- MIN_VERSION -->
805 </div> <!-- /description --> 805 </div> <!-- /description -->
806 </div><div class="apiItem"> 806 </div><div class="apiItem">
807 <a name="method-getMessage"></a> <!-- method-anchor --> 807 <a name="method-getMessage"></a> <!-- method-anchor -->
808 <h4>getMessage</h4> 808 <h4>getMessage</h4>
809 <div class="summary"><span>string</span> 809 <div class="summary"><span>string</span>
810 <!-- Note: intentionally longer 80 columns --> 810 <!-- Note: intentionally longer 80 columns -->
811 <span>chrome.i18n.getMessage</span>(<span class="null"><span>s tring</span> 811 <span>chrome.i18n.getMessage</span>(<span class="null"><span>s tring</span>
812 <var><span>messageName</span></var></span><span class="opt ional"><span>, </span><span>boolean or number or string or array of boolean or n umber or string</span> 812 <var><span>messageName</span></var></span><span class="opt ional"><span>, </span><span>string or array of string</span>
Mike West 2012/02/24 14:24:24 Nit: Worth noting that this is an unintentional dr
813 <var><span>substitutions</span></var></span>)</div> 813 <var><span>substitutions</span></var></span>)</div>
814 <div class="description"> 814 <div class="description">
815 <p>Gets the localized string for the specified message. If the m essage is missing, this method returns an empty string (''). If the format of th e <code>getMessage()</code> call is wrong — for example, <em>messageName</em> is not a string or the <em>substitutions</em> array is empty or has more than 9 el ements — this method returns <code>undefined</code>.</p> 815 <p>Gets the localized string for the specified message. If the m essage is missing, this method returns an empty string (''). If the format of th e <code>getMessage()</code> call is wrong — for example, <em>messageName</em> is not a string or the <em>substitutions</em> array is empty or has more than 9 el ements — this method returns <code>undefined</code>.</p>
816 <!-- PARAMETERS --> 816 <!-- PARAMETERS -->
817 <h4>Parameters</h4> 817 <h4>Parameters</h4>
818 <dl> 818 <dl>
819 <div> 819 <div>
820 <div> 820 <div>
821 <dt> 821 <dt>
822 <var>messageName</var> 822 <var>messageName</var>
(...skipping 20 matching lines...) Expand all
843 <div> 843 <div>
844 <dt> 844 <dt>
845 <var>substitutions</var> 845 <var>substitutions</var>
846 <em> 846 <em>
847 <!-- TYPE --> 847 <!-- TYPE -->
848 <div style="display:inline"> 848 <div style="display:inline">
849 ( 849 (
850 <span class="optional">optional</span> 850 <span class="optional">optional</span>
851 <span id="typeTemplate"> 851 <span id="typeTemplate">
852 <span> 852 <span>
853 <span>boolean or number or string or array of boolean or number or string</span> 853 <span>string or array of string</span>
854 </span> 854 </span>
855 </span> 855 </span>
856 ) 856 )
857 </div> 857 </div>
858 </em> 858 </em>
859 </dt> 859 </dt>
860 <dd>Up to 9 substitution strings, if the message requires any.</dd> 860 <dd>1 - 9 substitution strings, if the message requires any.</dd>
861 <!-- OBJECT PROPERTIES --> 861 <!-- OBJECT PROPERTIES -->
862 <!-- OBJECT METHODS --> 862 <!-- OBJECT METHODS -->
863 <!-- OBJECT EVENT FIELDS --> 863 <!-- OBJECT EVENT FIELDS -->
864 <!-- FUNCTION PARAMETERS --> 864 <!-- FUNCTION PARAMETERS -->
865 </div> 865 </div>
866 </div> 866 </div>
867 </dl> 867 </dl>
868 <!-- RETURNS --> 868 <!-- RETURNS -->
869 <h4>Returns</h4> 869 <h4>Returns</h4>
870 <dl> 870 <dl>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 _uff=0; 932 _uff=0;
933 urchinTracker(); 933 urchinTracker();
934 } 934 }
935 catch(e) {/* urchinTracker not available. */} 935 catch(e) {/* urchinTracker not available. */}
936 </script> 936 </script>
937 <!-- end analytics --> 937 <!-- end analytics -->
938 </div> 938 </div>
939 </div> <!-- /gc-footer --> 939 </div> <!-- /gc-footer -->
940 </div> <!-- /gc-container --> 940 </div> <!-- /gc-container -->
941 </body></html> 941 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698