Showing with 125 additions and 3 deletions.
  1. +8 −1 CHANGELOG.md
  2. +24 −0 locales/config.yaml
  3. +91 −0 locales/puppetlabs-mount_core.pot
  4. +2 −2 metadata.json
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [1.0.2] - 2018-08-20
### Added
- (PUP-9053) Enable localization
### Changed
- (PUP-9052) Bump puppet req to at least puppet 6

## [1.0.1] - 2018-07-26
### Summary
Use require_relative to load provider helper code.
Expand All @@ -12,5 +18,6 @@ Use require_relative to load provider helper code.
### Summary
This is the initial release of the extracted mount module.

[1.0.2]: https://github.com/puppetlabs/puppetlabs-mount_core/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/puppetlabs/puppetlabs-mount_core/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/puppetlabs/puppetlabs-mount_core/releases/tag/1.0.0
[1.0.1]: https://github.com/puppetlabs/puppetlabs-mount_core/releases/tag/1.0.1
24 changes: 24 additions & 0 deletions locales/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This is the project-specific configuration file for setting up
# fast_gettext for your project.
gettext:
# This is used for the name of the .pot and .po files; they will be
# called <project_name>.pot?
project_name: puppetlabs-mount_core
# This is used in comments in the .pot and .po files to indicate what
# project the files belong to and should bea little more desctiptive than
# <project_name>
package_name: puppetlabs-mount_core
# The locale that the default messages in the .pot file are in
default_locale: en
# The email used for sending bug reports.
bugs_address: docs@puppet.com
# The holder of the copyright.
copyright_holder: Puppet, Inc.
# This determines which comments in code should be eligible for translation.
# Any comments that start with this string will be externalized. (Leave
# empty to include all.)
comments_tag: TRANSLATOR
# Patterns for +Dir.glob+ used to find all files that might contain
# translatable content, relative to the project root directory
source_files:
- './lib/**/*.rb'
91 changes: 91 additions & 0 deletions locales/puppetlabs-mount_core.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2018 Puppet, Inc.
# This file is distributed under the same license as the puppetlabs-mount_core package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: puppetlabs-mount_core 1.0.1-1-g8e5c940\n"
"\n"
"Report-Msgid-Bugs-To: docs@puppet.com\n"
"POT-Creation-Date: 2018-08-20 11:47-0700\n"
"PO-Revision-Date: 2018-08-20 11:47-0700\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#. TRANSLATORS refers to remounting a file system
#: ../lib/puppet/provider/mount.rb:28
msgid "Remounting"
msgstr ""

#. TRANSLATORS "prefetch" is a program name and should not be translated
#: ../lib/puppet/provider/mount/parsed.rb:131
msgid "Prefetch: Mount[%{name}]: Field 'device' is missing"
msgstr ""

#. TRANSLATORS "prefetch" is a program name and should not be translated
#: ../lib/puppet/provider/mount/parsed.rb:136
msgid "Prefetch: Mount[%{name}]: Field 'fstype' is missing"
msgstr ""

#: ../lib/puppet/provider/mount/parsed.rb:148
msgid "Mount[%{name}]: Field 'device' must be in the format of <absolute path> or <host>:<absolute path>"
msgstr ""

#: ../lib/puppet/provider/mount/parsed.rb:156 ../lib/puppet/provider/mount/parsed.rb:163
msgid "Mount[%{name}]: Field 'device' is required"
msgstr ""

#: ../lib/puppet/provider/mount/parsed.rb:194
msgid "Mount[%{name}]: Field 'options' is required"
msgstr ""

#: ../lib/puppet/provider/mount/parsed.rb:198
msgid "Mount[%{name}]: Field 'fstype' is required"
msgstr ""

#: ../lib/puppet/provider/mount/parsed.rb:276
msgid "Could not understand line %{line} from mount output"
msgstr ""

#: ../lib/puppet/type/mount.rb:67
msgid "Unexpected change from %{current} to unmounted"
msgstr ""

#: ../lib/puppet/type/mount.rb:114
msgid "Parent has property %{name} but it doesn't appear in the current values"
msgstr ""

#: ../lib/puppet/type/mount.rb:133
msgid "device must not contain whitespace: %{value}"
msgstr ""

#: ../lib/puppet/type/mount.rb:159
msgid "blockdevice must not contain whitespace: %{value}"
msgstr ""

#: ../lib/puppet/type/mount.rb:168
msgid "fstype must not contain whitespace: %{value}"
msgstr ""

#: ../lib/puppet/type/mount.rb:169
msgid "fstype must not be an empty string"
msgstr ""

#: ../lib/puppet/type/mount.rb:183
msgid "options must not contain whitespace: %{value}"
msgstr ""

#: ../lib/puppet/type/mount.rb:184
msgid "options must not be an empty string"
msgstr ""

#: ../lib/puppet/type/mount.rb:250
msgid "name must not contain whitespace: %{value}"
msgstr ""
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-mount_core",
"version": "1.0.1",
"version": "1.0.2",
"author": "Puppet Labs",
"summary": "Manages mounted filesystems and mount tables.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -75,7 +75,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.7.0 < 7.0.0"
"version_requirement": ">= 6.0.0 < 7.0.0"
}
],
"pdk-version": "1.6.0",
Expand Down