diff --git a/Gruntfile.js b/Gruntfile.js index 9807393..67b051b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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']); }; diff --git a/languages/activitypub.pot b/languages/activitypub.pot deleted file mode 100644 index 853d8b8..0000000 --- a/languages/activitypub.pot +++ /dev/null @@ -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 \n" -"Language-Team: LANGUAGE \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 "" \ No newline at end of file