|
19 | 19 | Finland |
20 | 20 | </div> |
21 | 21 | <a href="mailto:robotframework-foundation@googlegroups.com"> |
22 | | - Contact |
| 22 | + {{ $t('footer.contact') }} |
23 | 23 | </a> |
24 | 24 | </div> |
25 | 25 | <div |
26 | 26 | class="col-sm-6 col-md-3" |
27 | 27 | :class="$store.state.isMobile ? 'type-right' : ''"> |
28 | 28 | <h3 class="mb-small"> |
29 | | - Community |
| 29 | + {{ $t('footer.community') }} |
30 | 30 | </h3> |
31 | 31 | <div> |
32 | 32 | <a href="https://github.com/robotframework/robotframework"> |
|
57 | 57 | <div v-if="$store.state.isMobile" class="col-sm-12 mb-large" /> |
58 | 58 | <div class="col-sm-6 col-md-3"> |
59 | 59 | <h3 class="mb-small"> |
60 | | - Instructions |
| 60 | + {{ $t('footer.instructions.title') }} |
61 | 61 | </h3> |
62 | | - <div> |
63 | | - <a href="https://github.com/robotframework/robotframework/blob/master/INSTALL.rst"> |
64 | | - Installation |
65 | | - </a> |
66 | | - </div> |
67 | | - <div> |
68 | | - <a href="https://github.com/robotframework/QuickStartGuide/blob/master/QuickStart.rst"> |
69 | | - Quick start |
70 | | - </a> |
71 | | - </div> |
72 | | - <div> |
73 | | - <a href="https://robotframework.org/robotframework/#user-guide"> |
74 | | - User guide |
75 | | - </a> |
76 | | - </div> |
77 | | - <div> |
78 | | - <a href="https://github.com/robotframework/WebDemo"> |
79 | | - Web demo |
80 | | - </a> |
81 | | - </div> |
82 | | - <div> |
83 | | - <a href="https://robocon.io/"> |
84 | | - Robocon talks |
| 62 | + <div |
| 63 | + v-for="item in $tm('footer.instructions.items')" |
| 64 | + :key="item.title"> |
| 65 | + <a :href="item.href" target="_blank"> |
| 66 | + {{ item.title }} |
85 | 67 | </a> |
86 | 68 | </div> |
87 | 69 | </div> |
88 | 70 | <div class="col-sm-6 col-md-3 flex flex-col between"> |
89 | | - <div /> |
90 | | - <!-- <div class="relative"> |
| 71 | + <div class="relative"> |
91 | 72 | <button |
92 | 73 | class="flex middle border-thin p-2xsmall pl-xsmall pr-xsmall" |
93 | 74 | :class="langDropdownOpen ? 'border-theme' : 'border-white'" |
|
98 | 79 | <div |
99 | 80 | class="relative ml-2xsmall" |
100 | 81 | :class="langDropdownOpen ? 'color-theme' : 'color-white'"> |
101 | | - Language |
| 82 | + {{ langNames.find(({ lang }) => lang === $i18n.locale).name }} |
102 | 83 | </div> |
103 | 84 | </button> |
104 | 85 | <transition name="fade-down"> |
|
118 | 99 | </div> |
119 | 100 | </div> |
120 | 101 | </transition> |
121 | | - </div> --> |
| 102 | + </div> |
122 | 103 | <div :class="$store.state.isMobile ? 'type-right' : ''"> |
123 | 104 | <div> |
124 | 105 | <router-link :to="{ name: 'PrivacyPolicy' }"> |
125 | | - Privacy Policy |
| 106 | + {{ $t('footer.privacyPolicy') }} |
126 | 107 | </router-link> |
127 | 108 | </div> |
128 | 109 | <div> |
129 | 110 | <router-link :to="{ name: 'CoC' }"> |
130 | | - Code of Conduct |
| 111 | + {{ $t('footer.coc') }} |
131 | 112 | </router-link> |
132 | 113 | </div> |
133 | 114 | </div> |
|
138 | 119 | </template> |
139 | 120 |
|
140 | 121 | <script> |
141 | | -// import GlobeIcon from './icons/GlobeIcon.vue' |
| 122 | +import GlobeIcon from './icons/GlobeIcon.vue' |
142 | 123 |
|
143 | 124 | export default { |
144 | 125 | name: 'PageFooter', |
145 | 126 | components: { |
146 | | - // GlobeIcon |
| 127 | + GlobeIcon |
147 | 128 | }, |
148 | 129 | data: () => ({ |
149 | 130 | langDropdownOpen: false |
|
0 commit comments