Skip to content

Commit 780c47b

Browse files
committed
(PUP-9053) Enable localization
1 parent 8e5c940 commit 780c47b

File tree

2 files changed

+115
-0
lines changed

2 files changed

+115
-0
lines changed

locales/config.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This is the project-specific configuration file for setting up
2+
# fast_gettext for your project.
3+
gettext:
4+
# This is used for the name of the .pot and .po files; they will be
5+
# called <project_name>.pot?
6+
project_name: puppetlabs-mount_core
7+
# This is used in comments in the .pot and .po files to indicate what
8+
# project the files belong to and should bea little more desctiptive than
9+
# <project_name>
10+
package_name: puppetlabs-mount_core
11+
# The locale that the default messages in the .pot file are in
12+
default_locale: en
13+
# The email used for sending bug reports.
14+
bugs_address: [email protected]
15+
# The holder of the copyright.
16+
copyright_holder: Puppet, Inc.
17+
# This determines which comments in code should be eligible for translation.
18+
# Any comments that start with this string will be externalized. (Leave
19+
# empty to include all.)
20+
comments_tag: TRANSLATOR
21+
# Patterns for +Dir.glob+ used to find all files that might contain
22+
# translatable content, relative to the project root directory
23+
source_files:
24+
- './lib/**/*.rb'

locales/puppetlabs-mount_core.pot

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2018 Puppet, Inc.
3+
# This file is distributed under the same license as the puppetlabs-mount_core package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: puppetlabs-mount_core 1.0.1-1-g8e5c940\n"
10+
"\n"
11+
"Report-Msgid-Bugs-To: [email protected]\n"
12+
"POT-Creation-Date: 2018-08-20 11:47-0700\n"
13+
"PO-Revision-Date: 2018-08-20 11:47-0700\n"
14+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15+
"Language-Team: LANGUAGE <[email protected]>\n"
16+
"Language: \n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
21+
22+
#. TRANSLATORS refers to remounting a file system
23+
#: ../lib/puppet/provider/mount.rb:28
24+
msgid "Remounting"
25+
msgstr ""
26+
27+
#. TRANSLATORS "prefetch" is a program name and should not be translated
28+
#: ../lib/puppet/provider/mount/parsed.rb:131
29+
msgid "Prefetch: Mount[%{name}]: Field 'device' is missing"
30+
msgstr ""
31+
32+
#. TRANSLATORS "prefetch" is a program name and should not be translated
33+
#: ../lib/puppet/provider/mount/parsed.rb:136
34+
msgid "Prefetch: Mount[%{name}]: Field 'fstype' is missing"
35+
msgstr ""
36+
37+
#: ../lib/puppet/provider/mount/parsed.rb:148
38+
msgid "Mount[%{name}]: Field 'device' must be in the format of <absolute path> or <host>:<absolute path>"
39+
msgstr ""
40+
41+
#: ../lib/puppet/provider/mount/parsed.rb:156 ../lib/puppet/provider/mount/parsed.rb:163
42+
msgid "Mount[%{name}]: Field 'device' is required"
43+
msgstr ""
44+
45+
#: ../lib/puppet/provider/mount/parsed.rb:194
46+
msgid "Mount[%{name}]: Field 'options' is required"
47+
msgstr ""
48+
49+
#: ../lib/puppet/provider/mount/parsed.rb:198
50+
msgid "Mount[%{name}]: Field 'fstype' is required"
51+
msgstr ""
52+
53+
#: ../lib/puppet/provider/mount/parsed.rb:276
54+
msgid "Could not understand line %{line} from mount output"
55+
msgstr ""
56+
57+
#: ../lib/puppet/type/mount.rb:67
58+
msgid "Unexpected change from %{current} to unmounted"
59+
msgstr ""
60+
61+
#: ../lib/puppet/type/mount.rb:114
62+
msgid "Parent has property %{name} but it doesn't appear in the current values"
63+
msgstr ""
64+
65+
#: ../lib/puppet/type/mount.rb:133
66+
msgid "device must not contain whitespace: %{value}"
67+
msgstr ""
68+
69+
#: ../lib/puppet/type/mount.rb:159
70+
msgid "blockdevice must not contain whitespace: %{value}"
71+
msgstr ""
72+
73+
#: ../lib/puppet/type/mount.rb:168
74+
msgid "fstype must not contain whitespace: %{value}"
75+
msgstr ""
76+
77+
#: ../lib/puppet/type/mount.rb:169
78+
msgid "fstype must not be an empty string"
79+
msgstr ""
80+
81+
#: ../lib/puppet/type/mount.rb:183
82+
msgid "options must not contain whitespace: %{value}"
83+
msgstr ""
84+
85+
#: ../lib/puppet/type/mount.rb:184
86+
msgid "options must not be an empty string"
87+
msgstr ""
88+
89+
#: ../lib/puppet/type/mount.rb:250
90+
msgid "name must not contain whitespace: %{value}"
91+
msgstr ""

0 commit comments

Comments
 (0)