aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-12-29 10:20:57 -0800
committerXhmikosR <[email protected]>2017-12-30 18:01:36 +0200
commit3ab82e58e6adad104f0fec790fe739aac4627485 (patch)
tree6770c0610273fab40d0437ecd06fc499ca26a829 /docs
parentbcc62232d85c23e07e44163b773c4bb5b138dd47 (diff)
downloadbootstrap-3ab82e58e6adad104f0fec790fe739aac4627485.tar.xz
bootstrap-3ab82e58e6adad104f0fec790fe739aac4627485.zip
drop "simply" and tweak a few other bits
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/forms.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index 8dc2d4e1b..7e292fc5a 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -1081,7 +1081,7 @@ We hide the default file `<input>` via `opacity` and instead style the `<label>`
#### Translating or customizing the strings
-The [`:lang()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:lang) is used to allow for easy translation of the "Browse" text into other languages. Simply override or add entries to the `$custom-file-text` SCSS variable with the relevant [language tag](https://en.wikipedia.org/wiki/IETF_language_tag) and localized strings. The English strings can be customized the same way. For example, here's how one might add a Spanish translation (Spanish's language code is `es`):
+The [`:lang()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:lang) is used to allow for translation of the "Browse" text into other languages. Override or add entries to the `$custom-file-text` Sass variable with the relevant [language tag](https://en.wikipedia.org/wiki/IETF_language_tag) and localized strings. The English strings can be customized the same way. For example, here's how one might add a Spanish translation (Spanish's language code is `es`):
{% highlight scss %}
$custom-file-text: (
@@ -1090,4 +1090,4 @@ $custom-file-text: (
);
{% endhighlight %}
-You'll need to set the language of your document (or subtree thereof) correctly in order for the correct text to be shown. This can be done using [the `lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) or the [`Content-Language` HTTP header](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12), among other methods.
+You'll need to set the language of your document (or subtree thereof) correctly in order for the correct text to be shown. This can be done using [the `lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) on the `<html>` element or the [`Content-Language` HTTP header](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12), among other methods.