Skip to content

Commit d164fc3

Browse files
committed
Translate(built-ins/transition-demos)
1 parent a3541a3 commit d164fc3

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

src/guide/built-ins/transition-demos/Basic.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ let show = $ref(true)
44

55
<template>
66
<div class="demo">
7-
<button @click="show = !show">Toggle Fade</button>
7+
<button @click="show = !show">تبديل التلاشي</button>
88
<Transition name="fade">
9-
<p style="margin-top: 20px" v-if="show">hello</p>
9+
<p style="margin-top: 20px" v-if="show">مرحبا</p>
1010
</Transition>
1111
</div>
1212
</template>

src/guide/built-ins/transition-demos/BetweenElements.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ let docState = $ref('saved')
66

77
<template>
88
<div class="demo transition-demo">
9-
<span style="margin-right: 20px">Click to cycle through states:</span>
9+
<span style="margin-right: 20px">انقر للتنقل بين الحالات:</span>
1010
<div class="btn-container">
1111
<Transition name="slide-up" :mode="mode">
1212
<button v-if="docState === 'saved'" @click="docState = 'edited'">
13-
Edit
13+
تعديل
1414
</button>
1515
<button v-else-if="docState === 'edited'" @click="docState = 'editing'">
16-
Save
16+
حفظ
1717
</button>
1818
<button v-else-if="docState === 'editing'" @click="docState = 'saved'">
19-
Cancel
19+
إلغاء
2020
</button>
2121
</Transition>
2222
</div>

src/guide/built-ins/transition-demos/CssAnimation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ let show = $ref(true)
44

55
<template>
66
<div class="demo">
7-
<button @click="show = !show">Toggle</button>
7+
<button @click="show = !show">تبديل</button>
88
<Transition name="bounce">
99
<p v-if="show" style="margin-top: 20px; text-align: center">
10-
Hello here is some bouncy text!
10+
مرحبا هنا بعض النص النطاط!
1111
</p>
1212
</Transition>
1313
</div>

src/guide/built-ins/transition-demos/JsHooks.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function onLeave(el, done) {
4040

4141
<template>
4242
<div class="demo">
43-
<button @click="show = !show">Toggle</button>
43+
<button @click="show = !show">تبديل</button>
4444

4545
<Transition
4646
@before-enter="onBeforeEnter"

src/guide/built-ins/transition-demos/ListBasic.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function randomIndex() {
1919

2020
<template>
2121
<div class="demo">
22-
<button @click="add">Add at random index</button>
23-
<button @click="remove">Remove at random index</button>
22+
<button @click="add">أضف في مؤشر عشوائي</button>
23+
<button @click="remove">فسخ في مؤشر عشوائي</button>
2424
<TransitionGroup name="list" tag="ul" style="margin-top: 20px">
2525
<li v-for="item in items" :key="item">
2626
{{ item }}

src/guide/built-ins/transition-demos/ListMove.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ function shuffle(array) {
3131

3232
<template>
3333
<div class="demo">
34-
<button @click="add">Add</button>
35-
<button @click="remove">Remove</button>
36-
<button @click="shuffle(items)">Shuffle</button>
34+
<button @click="add">أضف</button>
35+
<button @click="remove">فسخ</button>
36+
<button @click="shuffle(items)">خلط</button>
3737
<TransitionGroup name="list2" tag="ul" style="margin-top: 20px">
3838
<li class="list-item" v-for="item in items" :key="item">
3939
{{ item }}

src/guide/built-ins/transition-demos/NestedTransitions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ let show = $ref(true)
44

55
<template>
66
<div class="demo">
7-
<button @click="show = !show" style="margin-bottom: 20px">Toggle</button>
7+
<button @click="show = !show" style="margin-bottom: 20px">تبديل</button>
88
<Transition duration="550" name="nested">
99
<div v-if="show" class="transition-demo-outer">
10-
<div class="transition-demo-inner">Hello</div>
10+
<div class="transition-demo-inner">مرحبا</div>
1111
</div>
1212
</Transition>
1313
</div>

src/guide/built-ins/transition-demos/SlideFade.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ let show = $ref(true)
44

55
<template>
66
<div class="demo">
7-
<button @click="show = !show">Toggle Slide + Fade</button>
7+
<button @click="show = !show">تبديل الإنزلاق + التلاشي</button>
88
<Transition name="slide-fade">
9-
<p style="margin-top: 20px" v-if="show">hello</p>
9+
<p style="margin-top: 20px" v-if="show">مرحبا</p>
1010
</Transition>
1111
</div>
1212
</template>

0 commit comments

Comments
 (0)