Skip to content

Commit 531f01d

Browse files
committed
Add (EN) to find part we need to translate more easilly
Signed-off-by: Haeresis <bruno.lesieur@gmail.com>
1 parent 8bac4fa commit 531f01d

File tree

28 files changed

+34
-34
lines changed

28 files changed

+34
-34
lines changed

src/resources/partners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ partners_list:
4242
name: Modus Create
4343
logo: https://res.cloudinary.com/modus-labs/image/upload/v1533109874/modus/logo-vertical-black.svg
4444
description:
45-
"Modus Create is a disruptive consulting firm that helps companies transform for success in the digital future.
45+
"(EN) Modus Create is a disruptive consulting firm that helps companies transform for success in the digital future.
4646
4747
Clients work with Modus to effect transformational change through a unique collaborative engagement model that focuses on strategy, product design/build, user experience, company culture, and process change to accelerate their response to digital disruption.
4848

src/v2/examples/vue-20-accessing-parent-component-instance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Dependency Injection Google Maps Demo</title>
4+
<title>(EN) Dependency Injection Google Maps Demo</title>
55
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAHbknPTCvUSgWwU0jJ68m4h6b7vpyP6hM"></script>
66
<script src="https://unpkg.com/vue"></script>
77
<style>

src/v2/examples/vue-20-accessing-parent-component-instance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-accessing-parent-component-instance",
33
"version": "1.0.0",
4-
"description": "Vue.js example accessing Parent Component Instance using Google Maps.",
4+
"description": "(EN) Vue.js example accessing Parent Component Instance using Google Maps.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-component-blog-post-example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Component Blog Post Example</title>
4+
<title>(EN) Component Blog Post Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
</head>
77
<body>

src/v2/examples/vue-20-component-blog-post-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-component-blog-post-example",
33
"version": "1.0.0",
4-
"description": "Dynamically passing props, like when fetching posts from an API.",
4+
"description": "(EN) Dynamically passing props, like when fetching posts from an API.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-dependency-injection/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Dependency Injection Google Maps Demo</title>
4+
<title>(EN) Dependency Injection Google Maps Demo</title>
55
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAHbknPTCvUSgWwU0jJ68m4h6b7vpyP6hM"></script>
66
<script src="https://unpkg.com/vue"></script>
77
<style>

src/v2/examples/vue-20-dependency-injection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-dependency-injection",
33
"version": "1.0.0",
4-
"description": "Vue.js Dependency Injection example using Google Maps.",
4+
"description": "(EN) Vue.js Dependency Injection example using Google Maps.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-dynamic-components-with-binding/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Dynamic Components Example</title>
4+
<title>(EN) Dynamic Components Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
<style>
77
.tab-button {

src/v2/examples/vue-20-dynamic-components-with-binding/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-dynamic-components-with-binding",
33
"version": "1.0.0",
4-
"description": "Showing binding to a component's options object.",
4+
"description": "(EN) Showing binding to a component's options object.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-dynamic-components/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Dynamic Components Example</title>
4+
<title>(EN) Dynamic Components Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
<style>
77
.tab-button {

src/v2/examples/vue-20-dynamic-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-dynamic-components",
33
"version": "1.0.0",
4-
"description": "Used to dynamically switch between components, like in a tabbed interface.",
4+
"description": "(EN) Used to dynamically switch between components, like in a tabbed interface.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-dynamic-state-transitions/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Dynamic State Transitions</title>
4+
<title>(EN) Dynamic State Transitions</title>
55
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.5/TweenLite.min.js"></script>
66
<script src="https://unpkg.com/vue"></script>
77
<style>

src/v2/examples/vue-20-dynamic-state-transitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-dynamic-state-transitions",
33
"version": "1.0.0",
4-
"description": "Data backing state transitions can be updated in real time, like in this example.",
4+
"description": "(EN) Data backing state transitions can be updated in real time, like in this example.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-hello-world/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>My first Vue app</title>
4+
<title>(EN) My first Vue app</title>
55
<script src="https://unpkg.com/vue"></script>
66
</head>
77
<body>

src/v2/examples/vue-20-hello-world/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-hello-world",
33
"version": "1.0.0",
4-
"description": "The easiest way to try out Vue.js, edit this Hello World example",
4+
"description": "(EN) The easiest way to try out Vue.js, edit this Hello World example",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-keep-alive-with-dynamic-components/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Vue Component Blog Post Example</title>
4+
<title>(EN) Vue Component Blog Post Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
<link rel="stylesheet" type="text/css" href="/style.css" />
77
</head>

src/v2/examples/vue-20-keep-alive-with-dynamic-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-keep-alive-with-dynamic-components",
33
"version": "1.0.0",
4-
"description": "The Posts tab maintains its state (the selected post) even when it's not rendered.",
4+
"description": "(EN) The Posts tab maintains its state (the selected post) even when it's not rendered.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-list-move-transitions/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>List Move Transitions Sudoku Example</title>
4+
<title>(EN) List Move Transitions Sudoku Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.14.1/lodash.min.js"></script>
77
<link rel="stylesheet" type="text/css" href="/style.css" />

src/v2/examples/vue-20-list-move-transitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-list-move-transitions",
33
"version": "1.0.0",
4-
"description": "Example showing list entering/leaving transitions in Sudoku.",
4+
"description": "(EN) Example showing list entering/leaving transitions in Sudoku.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-priority-d-rules-correct-example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Priority D Rules Correct Example</title>
4+
<title>(EN) Priority D Rules Correct Example</title>
55
<script src="https://unpkg.com/vue"></script>
66
<style>
77
.v-enter-active,

src/v2/examples/vue-20-priority-d-rules-correct-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-priority-d-rules-correct-example",
33
"version": "1.0.0",
4-
"description": "A unique key on each conditional element so the transition is applied.",
4+
"description": "(EN) A unique key on each conditional element so the transition is applied.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-priority-d-rules-unintended-consequences/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Priority D Rules Unintended Consequences</title>
4+
<title>(EN) Priority D Rules Unintended Consequences</title>
55
<script src="https://unpkg.com/vue"></script>
66
<style>
77
.v-enter-active,

src/v2/examples/vue-20-priority-d-rules-unintended-consequences/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-priority-d-rules-unintended-consequences",
33
"version": "1.0.0",
4-
"description": "Lacking a unique key on each conditional element, the transition is never applied.",
4+
"description": "(EN) Lacking a unique key on each conditional element, the transition is never applied.",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-programmatic-event-listeners/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Programmatic Event Listeners using Pikaday</title>
4+
<title>(EN) Programmatic Event Listeners using Pikaday</title>
55
<script src="https://unpkg.com/pikaday@1.7.0"></script>
66
<script src="https://unpkg.com/vue"></script>
77
</head>

src/v2/examples/vue-20-programmatic-event-listeners/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-20-programmatic-event-listeners",
33
"version": "1.0.0",
4-
"description": "Vue.js Programmatic Event Listeners example using Pikaday",
4+
"description": "(EN) Vue.js Programmatic Event Listeners example using Pikaday",
55
"main": "index.html",
66
"scripts": {
77
"start": "serve"

src/v2/examples/vue-20-single-file-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"devDependencies": {},
1414
"browserslist": ["> 1%", "last 2 versions", "not ie <= 8"],
1515
"keywords": [],
16-
"description": "Hello.vue single-file components example using a .vue extension."
16+
"description": "(EN) Hello.vue single-file components example using a .vue extension."
1717
}

src/v2/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gz_size: "30.90"
1010

1111
Vue **ne** supporte **pas** IE8 et les versions antérieures, car il utilise des fonctionnalités ECMAScript 5 qui ne peuvent pas être émulées sur IE8. Cela dit, Vue supporte tous les [navigateurs compatibles ECMAScript 5](https://caniuse.com/#feat=es5).
1212

13-
### Semantic Versioning (EN)
13+
### (EN) Semantic Versioning
1414

1515
Vue follows [Semantic Versioning](https://semver.org/) in all its official projects for documented features and behavior. For undocumented behavior or exposed internals, changes are described in [release notes](https://github.com/vuejs/vue/releases).
1616

src/v2/guide/security.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ type: guide
44
order: 504
55
---
66

7-
## Reporting Vulnerabilities
7+
## (EN) Reporting Vulnerabilities
88

99
When a vulnerability is reported, it immediately becomes our top concern, with a full-time contributor dropping everything to work on it. To report a vulnerability, please email [vuejs.org@gmail.com](mailto:vuejs.org@gmail.com).
1010

1111
While the discovery of new vulnerabilities is rare, we also recommend always using the latest versions of Vue and its official companion libraries to ensure your application remains as secure as possible.
1212

13-
## Rule No.1: Never Use Non-trusted Templates
13+
## (EN) Rule No.1: Never Use Non-trusted Templates
1414

1515
The most fundamental security rule when using Vue is **never use non-trusted content as your component template**. Doing so is equivalent to allowing arbitrary JavaScript execution in your application - and worse, could lead to server breaches if the code is executed during server-side rendering. An example of such usage:
1616

@@ -23,7 +23,7 @@ new Vue({
2323

2424
Vue templates are compiled into JavaScript, and expressions inside templates will be executed as part of the rendering process. Although the expressions are evaluated against a specific rendering context, due to the complexity of potential global execution environments, it is impractical for a framework like Vue to completely shield you from potential malicious code execution without incurring unrealistic performance overhead. The most straightforward way to avoid this category of problems altogether is to make sure the contents of your Vue templates are always trusted and entirely controlled by you.
2525

26-
## What Vue Does to Protect You
26+
## (EN) What Vue Does to Protect You
2727

2828
### HTML content
2929

@@ -71,7 +71,7 @@ then it would be escaped to the following HTML:
7171

7272
thus preventing the close of the `title` attribute to inject new, arbitrary HTML. This escaping is done using native browser APIs, like `setAttribute`, so a vulnerability can only exist if the browser itself is vulnerable.
7373

74-
## Potential Dangers
74+
## (EN) Potential Dangers
7575

7676
In any web application, allowing unsanitized, user-provided content to be executed as HTML, CSS, or JavaScript is potentially dangerous, so should be avoided wherever possible. There are times when some risk be acceptable though.
7777

@@ -165,7 +165,7 @@ Sometimes we receive vulnerability reports on how it's possible to do cross-site
165165

166166
2. The developer is mounting Vue to an entire HTML page which happens to contain server-rendered and user-provided content. This is fundamentally the same problem as \#1, but sometimes devs may do it without realizing. This can lead to possible vulnerabilities where the attacker provides HTML which is safe as plain HTML but unsafe as a Vue template. The best practice is to never mount Vue on nodes that may contain server-rendered and user-provided content.
167167

168-
## Best Practices
168+
## (EN) Best Practices
169169

170170
The general rule is that if you allow unsanitized, user-provided content to be executed (as either HTML, JavaScript, or even CSS), you might be opening yourself up to attacks. This advice actually holds true whether using Vue, another framework, or even no framework.
171171

@@ -176,10 +176,10 @@ Beyond the recommendations made above for [Potential Dangers](#Potential-Dangers
176176

177177
Then use what you learn to also review the source code of your dependencies for potentially dangerous patterns, if any of them include 3rd-party components or otherwise influence what's rendered to the DOM.
178178

179-
## Backend Coordination
179+
## (EN) Backend Coordination
180180

181181
HTTP security vulnerabilities, such as cross-site request forgery (CSRF/XSRF) and cross-site script inclusion (XSSI), are primarily addressed on the backend, so aren't a concern of Vue's. However, it's still a good idea to communicate with your backend team to learn how to best interact with their API, e.g. by submitting CSRF tokens with form submissions.
182182

183-
## Server-Side Rendering (SSR)
183+
## (EN) Server-Side Rendering (SSR)
184184

185185
There are some additional security concerns when using SSR, so make sure to follow the best practices outlined throughout [our SSR documentation](https://ssr.vuejs.org/) to avoid vulnerabilities.

0 commit comments

Comments
 (0)