remove .pot file

This commit is contained in:
Matthias Pfefferle 2021-01-13 22:31:35 +01:00
parent 3dd88fd176
commit 5ba691ec31
2 changed files with 4 additions and 55 deletions

View file

@ -24,13 +24,12 @@ module.exports = function(grunt) {
files: {
src: [
'**/*.php', // Include all files
'includes/*.php', // Include includes
'!sass/**', // Exclude sass/
'!sass/**', // Exclude sass/
'!node_modules/**', // Exclude node_modules/
'!tests/**', // Exclude tests/
'!vendor/**', // Exclude vendor/
'!build/**', // Exclude build/
'!static/**', // Exclude static resources
'!build/**', // Exclude build/
'!static/**', // Exclude static resources
],
expand: true
}
@ -42,25 +41,12 @@ module.exports = function(grunt) {
'README.md': 'readme.txt'
},
},
},
makepot: {
target: {
options: {
mainFile: 'activitypub.php',
domainPath: '/languages',
exclude: ['bin/.*', '.git/.*', 'vendor/.*'],
potFilename: 'activitypub.pot',
type: 'wp-plugin',
updateTimestamp: true
}
}
}
});
grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
grunt.loadNpmTasks('grunt-wp-i18n');
grunt.loadNpmTasks('grunt-checktextdomain');
// Default task(s).
grunt.registerTask('default', ['wp_readme_to_markdown', 'makepot', 'checktextdomain']);
grunt.registerTask('default', ['wp_readme_to_markdown', 'checktextdomain']);
};

View file

@ -1,37 +0,0 @@
# Copyright (C) 2021 Matthias Pfefferle
# This file is distributed under the MIT.
msgid ""
msgstr ""
"Project-Id-Version: ActivityPub 0.12.0\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/wordpress-activitypub\n"
"POT-Creation-Date: 2021-01-12 11:41:54+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"
#. Plugin Name of the plugin/theme
msgid "ActivityPub"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "https://github.com/pfefferle/wordpress-activitypub/"
msgstr ""
#. Description of the plugin/theme
msgid ""
"The ActivityPub protocol is a decentralized social networking protocol "
"based upon the ActivityStreams 2.0 data format."
msgstr ""
#. Author of the plugin/theme
msgid "Matthias Pfefferle"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://notiz.blog/"
msgstr ""