File: example.vue

package info (click to toggle)
ruby-gettext-i18n-rails-js 2.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 180 kB
  • sloc: ruby: 927; javascript: 33; makefile: 11
file content (21 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<template>
  <base-table-actions v-if="canInteract"
                      class="spec-banner-actions">

    <div v-if="canCopy"
         @click="handleCopy"
         class="dropdown-item">{{ __("Hello\nBuddy") }}</div>

    <div v-if="canArchive"
         @click="handleArchive"
         class="dropdown-item">{{ archivePlaceholder }}</div>
  </base-table-actions>
</template>


<script>
function pepito() {
  var string = "this" + __('json') + 'should be translated';
  alert(n__('item', 'items', 3));
}
</script>