Commit 7ac0149e authored by agnez's avatar agnez

start

parents
<?php
/**
* @package gasap_posttypes
* @version 1.0
*/
/*
Plugin Name: GASAP post types
Description: Plugin for the GASAP network, custom post types
Author: Lore Mipsum
Text Domain: gasap-posttypes
Domain Path: /languages
Version: 1.0
Author URI: http://mipsum.be/
*/
defined( 'ABSPATH' ) or die();
add_action( 'plugins_loaded', 'i18n' );
function i18n() {
load_plugin_textdomain( 'gasap-posttypes', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
add_action( 'init', 'create_post_types' );
function create_post_types() {
register_post_type('contentpiece', //Content pieces
array(
'labels' => array(
'name' => _x( 'Content Pieces', 'post type general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Content Piece', 'post type singular name', 'gasap-posttypes' ),
'add_new' => _x( 'Add New', 'Content Piece', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Content Piece', 'gasap-posttypes' ),
'edit_item' => __( 'Edit Content Piece', 'gasap-posttypes' ),
'new_item' => __( 'New Content Piece', 'gasap-posttypes' ),
'view' => __( 'View Content Piece', 'gasap-posttypes' ),
'view_item' => __( 'View Content Piece', 'gasap-posttypes' ),
'search_items' => __( 'Search Content Pieces', 'gasap-posttypes' ),
'not_found' => __( 'No Content Pieces found', 'gasap-posttypes' ),
'not_found_in_trash' => __( 'No Content Pieces found in Trash', 'gasap-posttypes' ),
),
'public' => true,
'show_ui' => true,
'exclude_from_search' => true,
'has_archive' => false,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'thumbnail' ),
'capability_type' => 'page',
'query_var' => true,
'menu_position' => 13,
)
);
register_post_type('producer', // Producers
array(
'labels' => array(
'name' => _x( 'Producers', 'post type general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Producer', 'post type singular name', 'gasap-posttypes' ),
'add_new' => _x( 'Add New', 'Producer', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Producer', 'gasap-posttypes' ),
'edit_item' => __( 'Edit Producer', 'gasap-posttypes' ),
'new_item' => __( 'New Producer', 'gasap-posttypes' ),
'view' => __( 'View Producer', 'gasap-posttypes' ),
'view_item' => __( 'View Producer', 'gasap-posttypes' ),
'search_items' => __( 'Search Producers', 'gasap-posttypes' ),
'not_found' => __( 'No Producers found', 'gasap-posttypes' ),
'not_found_in_trash' => __( 'No Producers found in Trash', 'gasap-posttypes' ),
),
'public' => false,
'has_archive' => false,
'show_ui' => true,
'exclude_from_search' => true,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
'capability_type' => 'post',
'query_var' => true,
'menu_position' => 8,
)
);
register_post_type('gasap', // GASAP
array(
'labels' => array(
'name' => _x( 'GASAP', 'post type general name', 'gasap-posttypes' ),
'singular_name' => _x( 'GASAP', 'post type singular name', 'gasap-posttypes' ),
'add_new' => _x( 'Add New', 'GASAP', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New GASAP', 'gasap-posttypes' ),
'edit_item' => __( 'Edit GASAP', 'gasap-posttypes' ),
'new_item' => __( 'New GASAP', 'gasap-posttypes' ),
'view' => __( 'View GASAP', 'gasap-posttypes' ),
'view_item' => __( 'View GASAP', 'gasap-posttypes' ),
'search_items' => __( 'Search GASAP', 'gasap-posttypes' ),
'not_found' => __( 'No GASAP found', 'gasap-posttypes' ),
'not_found_in_trash' => __( 'No GASAP found in Trash', 'gasap-posttypes' ),
),
'public' => false,
'has_archive' => false,
'show_ui' => true,
'exclude_from_search' => true,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
'capability_type' => 'post',
'query_var' => true,
'menu_position' => 7,
)
);
register_post_type('partner', // partenaires
array(
'labels' => array(
'name' => _x( 'Partners', 'post type general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Partner', 'post type singular name', 'gasap-posttypes' ),
'add_new' => _x( 'Add New', 'Partner', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Partner', 'gasap-posttypes' ),
'edit_item' => __( 'Edit Partner', 'gasap-posttypes' ),
'new_item' => __( 'New Partner', 'gasap-posttypes' ),
'view' => __( 'View Partner', 'gasap-posttypes' ),
'view_item' => __( 'View Partner', 'gasap-posttypes' ),
'search_items' => __( 'Search Partner', 'gasap-posttypes' ),
'not_found' => __( 'No Partner found', 'gasap-posttypes' ),
'not_found_in_trash' => __( 'No Partner found in Trash', 'gasap-posttypes' ),
),
'public' => false,
'has_archive' => false,
'show_ui' => true,
'exclude_from_search' => true,
'hierarchical' => false,
'supports' => array( 'title', 'thumbnail', ),
'capability_type' => 'post',
'query_var' => true,
'menu_position' => 12,
)
);
register_post_type('worker', // employés
array(
'labels' => array(
'name' => _x( 'Workers', 'post type general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Worker', 'post type singular name', 'gasap-posttypes' ),
'add_new' => _x( 'Add New', 'Worker', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Worker', 'gasap-posttypes' ),
'edit_item' => __( 'Edit Worker', 'gasap-posttypes' ),
'new_item' => __( 'New Worker', 'gasap-posttypes' ),
'view' => __( 'View Worker', 'gasap-posttypes' ),
'view_item' => __( 'View Worker', 'gasap-posttypes' ),
'search_items' => __( 'Search Worker', 'gasap-posttypes' ),
'not_found' => __( 'No Worker found', 'gasap-posttypes' ),
'not_found_in_trash' => __( 'No Worker found in Trash', 'gasap-posttypes' ),
),
'public' => false,
'has_archive' => false,
'show_ui' => true,
'exclude_from_search' => true,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
'capability_type' => 'post',
'query_var' => true,
'menu_position' => 11,
)
);
}
/**
* TAXONOMY
*/
// Functional tags for content-pieces
add_action( 'init', 'create_contentpiece_taxonomies',0 );
function create_contentpiece_taxonomies() {
$labels = array(
'name' => _x( 'Contentpiece Types', 'taxonomy general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Contentpiece Type', 'taxonomy singular name', 'gasap-posttypes' ),
'all_items' => __( 'All Types', 'gasap-posttypes' ),
'parent_item' => null,
'parent_item_colon' => null,
'search_items' => __( 'Search Types', 'gasap-posttypes' ),
'edit_item' => __( 'Edit Type', 'gasap-posttypes' ),
'update_item' => __( 'Update Type', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Type', 'gasap-posttypes' ),
'new_item_name' => __( 'New Type Name', 'gasap-posttypes' ),
'menu_name' => __( 'Content-piece Types', 'gasap-posttypes' ),
);
$capabilities = array (
'manage_terms' => 'manage_options', //by default only admin
'edit_terms' => 'manage_options',
'delete_terms' => 'manage_options',
'assign_terms' => 'manage_options',
);
$args = array(
'hierarchical' => false,
'labels' => $labels,
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'public' => true, //needs to be public for the radio-button plugin to work
'rewrite' => false,
'capabilities' => $capabilities,
);
register_taxonomy( 'contentpiecetype', array( 'contentpiece' ), $args );
}
// Produceer type tags
add_action('init','add_type_taxonomy_to_producer');
function add_type_taxonomy_to_producer(){
$taxonomy = 'producertype';
$object_type = 'producer';
$labels = array(
'name' => 'Producer Types',
'singular_name' => 'Producer Type',
'search_items' => 'Search Producer Types',
'all_items' => 'All Producer Types',
'parent_item' => 'Parent Type',
'parent_item_colon' => 'Parent Type:',
'update_item' => 'Update Type',
'edit_item' => 'Edit Type',
'add_new_item' => 'Add New Producer Type',
'new_item_name' => 'New Type Name',
'menu_name' => 'Type',
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'public' => false,
'show_admin_column' => true,
'query_var' => true,
'rewrite' => true,
);
register_taxonomy($taxonomy, $object_type, $args);
}
// GASAP status tags
add_action('init','add_status_taxonomy_to_gasap');
function add_status_taxonomy_to_gasap(){
$taxonomy = 'gasapstatus';
$object_type = 'gasap';
$labels = array(
'name' => 'GASAP Statuses',
'singular_name' => 'GASAP Status',
'search_items' => 'Search GASAP Status',
'all_items' => 'All GASAP Statuses',
'parent_item' => null,
'parent_item_colon' => null,
'update_item' => 'Update Status',
'edit_item' => 'Edit Status',
'add_new_item' => 'Add New GASAP Status',
'new_item_name' => 'New GASAP Status',
'menu_name' => 'GASAP Status',
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'public' => true, //needs to be public for the radio-button plugin to work
'show_admin_column' => true,
'query_var' => true,
'rewrite' => true,
);
register_taxonomy($taxonomy, $object_type, $args);
}
// GASAP type tags
add_action('init','add_type_taxonomy_to_gasap');
function add_type_taxonomy_to_gasap(){
$taxonomy = 'gasaptype';
$object_type = 'gasap';
$labels = array(
'name' => 'GASAP Types',
'singular_name' => 'GASAP Type',
'search_items' => 'Search GASAP Types',
'all_items' => 'All GASAP Types',
'parent_item' => null,
'parent_item_colon' => null,
'update_item' => 'Update Type',
'edit_item' => 'Edit Type',
'add_new_item' => 'Add New GASAP Type',
'new_item_name' => 'New GASAP Type',
'menu_name' => 'GASAP Type',
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'public' => true, //needs to be public for the radio-button plugin to work
'show_admin_column' => true,
'query_var' => true,
'rewrite' => true,
);
register_taxonomy($taxonomy, $object_type, $args);
}
// default type for new posts http://stackoverflow.com/questions/29049543/set-default-taxonomy-term-for-custom-post-type
add_action( 'save_post_gasap', 'gasap_set_default_type_term' );
function gasap_set_default_type_term( $post_id ) {
$current_post = get_post( $post_id );
if ( $current_post->post_date == $current_post->post_modified ) {
wp_set_object_terms( $post_id, 'gasap', 'gasaptype', true );
}
}
// GASAP day tags
add_action('init','add_day_taxonomy_to_gasap');
function add_day_taxonomy_to_gasap(){
$taxonomy = 'gasapday';
$object_type = 'gasap';
$labels = array(
'name' => 'GASAP days',
'singular_name' => 'GASAP day',
'search_items' => 'Search GASAP days',
'all_items' => 'All GASAP days',
'parent_item' => null,
'parent_item_colon' => null,
'update_item' => 'Update day',
'edit_item' => 'Edit day',
'add_new_item' => 'Add New GASAP day',
'new_item_name' => 'New GASAP day',
'menu_name' => 'GASAP day',
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'public' => true, //needs to be public for the radio-button plugin to work
'show_admin_column' => true,
'query_var' => true,
'rewrite' => true,
);
register_taxonomy($taxonomy, $object_type, $args);
}
//hide "no term" https://wordpress.org/plugins/radio-buttons-for-taxonomies/faq/
add_filter( 'radio-buttons-for-taxonomies-no-term-gasapstatus', '__return_FALSE' );
add_filter( 'radio-buttons-for-taxonomies-no-term-gasaptype', '__return_FALSE' );
add_filter( 'radio-buttons-for-taxonomies-no-term-gasapday', '__return_FALSE' );
// ---rename Post to News http://revelationconcept.com/wordpress-rename-default-posts-news-something-else/
function gasap_change_post_label() {
global $menu;
global $submenu;
$menu[5][0] = __( 'News', 'gasap-posttypes' );
$submenu['edit.php'][5][0] = __( 'News', 'gasap-posttypes' );
$submenu['edit.php'][10][0] = __( 'Add News', 'gasap-posttypes' );
$submenu['edit.php'][16][0] = __( 'News Tags', 'gasap-posttypes' );
echo '';
}
function gasap_change_post_object() {
global $wp_post_types;
$labels = &$wp_post_types['post']->labels;
$labels->name = _x( 'News', 'post type general name', 'gasap-posttypes' );
$labels->singular_name = _x( 'News', 'post type singular name', 'gasap-posttypes' );
$labels->add_new = _x( 'Add New', 'News', 'gasap-posttypes' );
$labels->add_new_item = __( 'Add News', 'gasap-posttypes' );
$labels->edit_item = __( 'Edit News', 'gasap-posttypes' );
$labels->new_item = __( 'News', 'gasap-posttypes' );
$labels->view_item = __( 'View News', 'gasap-posttypes' );
$labels->search_items = __( 'Search News', 'gasap-posttypes' );
$labels->not_found = __( 'No News found', 'gasap-posttypes' );
$labels->not_found_in_trash = __( 'No News found in Trash', 'gasap-posttypes' );
$labels->all_items = __( 'All', 'gasap-posttypes' );
$labels->menu_name = __( 'News', 'gasap-posttypes' );
$labels->name_admin_bar = __( 'News', 'gasap-posttypes' );
}
add_action( 'admin_menu', 'gasap_change_post_label' );
add_action( 'init', 'gasap_change_post_object' );
// taxonomy for attachments https://code.tutsplus.com/articles/applying-categories-tags-and-custom-taxonomies-to-media-attachments--wp-32319
add_action( 'init', 'gasap_add_usage_taxonomy' );
function gasap_add_usage_taxonomy() {
$labels = array(
'name' => _x( 'Usage Tags', 'taxonomy general name', 'gasap-posttypes' ),
'singular_name' => _x( 'Usage Tag', 'taxonomy singular name', 'gasap-posttypes' ),
'search_items' => __( 'Search Usage Tags', 'gasap-posttypes' ),
'all_items' => __( 'All Usage Tags', 'gasap-posttypes' ),
'parent_item' => null,
'parent_item_colon' => null,
'edit_item' => __( 'Edit Usage Tag', 'gasap-posttypes' ),
'update_item' => __( 'Update Usage Tag', 'gasap-posttypes' ),
'add_new_item' => __( 'Add New Usage Tag', 'gasap-posttypes' ),
'new_item_name' => __( 'New Usage Tag Name', 'gasap-posttypes' ),
'menu_name' => __( 'Usage Tag', 'gasap-posttypes' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'query_var' => true,
'rewrite' => true,
'show_admin_column' => true,
'show_ui' => true,
'show_in_nav_menus' => false,
'public' => false,
);
register_taxonomy( 'media_usage', 'attachment', $args );
}
/* *** */
// ---reorder admin menu. default 10 = Media, 20 = Pages, 4 = Separator
add_action('admin_menu', 'gasap_change_admin_menu');
function gasap_change_admin_menu() {
global $menu;
$menu[6] = $menu[20];
$menu[30] = $menu[10];
unset($menu[4]);
unset($menu[10]);
unset($menu[20]);
if ( !current_user_can( 'manage_options' ) ){
remove_menu_page( 'tools.php' );
remove_submenu_page( 'edit.php?post_type=gasap', 'edit-tags.php?taxonomy=gasaptype&post_type=gasap' );
remove_submenu_page( 'edit.php?post_type=gasap', 'edit-tags.php?taxonomy=gasapstatus&post_type=gasap' );
}
}
/**
* METABOXES
*/
// ----- GASAP-details field
add_action( 'add_meta_boxes', 'gasap_details' );
function gasap_details() {
add_meta_box(
'gasap_details',
__( 'GASAP details', 'gasap-posttypes' ),
'gasap_details_content',
'gasap',
'normal',
'high'
);
}
// Outputs GASAP-details meta box
function gasap_details_content( $post ) {
wp_nonce_field( plugin_basename( __FILE__ ), 'gasap_details_nonce' );
$gasap_details_stored_meta = get_post_meta( $post->ID );
?>
</p>
<label for="gasap_mailreferent"><?php _e( 'Email referent:', 'gasap-posttypes' ) ?></label>
<input type="text" id="gasap_mailreferent" name="gasap_mailreferent" value="<?php if ( isset ( $gasap_details_stored_meta['gasap_mailreferent'] ) ) echo $gasap_details_stored_meta['gasap_mailreferent'][0]; ?>" size="100%" />
</p>
<?php
}
// Save GASAP-details meta input
add_action( 'save_post', 'gasap_details_meta_save' );
function gasap_details_meta_save( $post_id ) {
$is_autosave = wp_is_post_autosave( $post_id );
$is_revision = wp_is_post_revision( $post_id );
$is_valid_nonce = ( isset( $_POST[ 'gasap_details_nonce' ] ) && wp_verify_nonce( $_POST[ 'gasap_details_nonce' ], basename( __FILE__ ) ) ) ? 'true' : 'false';
if ( 'page' == $_POST['post_type'] ) {
if ( !current_user_can( 'edit_page', $post_id ) )
return;
} else {
if ( !current_user_can( 'edit_post', $post_id ) )
return;
}
if ( $is_autosave || $is_revision || !$is_valid_nonce ) {
return;
}
if( isset( $_POST[ 'gasap_mailreferent' ] ) ) {
update_post_meta( $post_id, 'gasap_mailreferent', sanitize_text_field( $_POST[ 'gasap_mailreferent' ] ) );
}
}
// ----- end GASAP-details field
/**
* Hide meta boxes for specific capabilities
*/
add_action( 'add_meta_boxes', 'gasap_remove_post_meta_boxes' );
function gasap_remove_post_meta_boxes() {
if ( !current_user_can( 'manage_options' ) ){
remove_meta_box( 'contentpiecetypediv', 'contentpiece', 'normal' );
}
}
\ No newline at end of file
<?php /* Silence, so that search engines don't index/crawl this folder and it's contents */ ?>
\ No newline at end of file
[Dolphin]
HeaderColumnWidths=318,103,124,145,85,72,81
Timestamp=2017,1,3,18,58,27
Version=3
ViewMode=1
VisibleRoles=Details_text,Details_size,Details_date,Details_type,Details_permissions,Details_owner,Details_group,CustomizedDetails
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2017-01-11 20:04+0100\n"
"PO-Revision-Date: 2017-01-11 20:05+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: en\n"
# Copyright (C) 2016 GASAP post types
# This file is distributed under the same license as the GASAP post types package.
msgid ""
msgstr ""
"Project-Id-Version: GASAP post types 1.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gasap-posttypes\n"
"POT-Creation-Date: 2017-01-10 19:53:38+00:00\n"
"PO-Revision-Date: 2017-01-10 20:57+0100\n"
"Last-Translator: Lore <lore@mipsum.be>\n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: gasap-posttypes.php:27
msgctxt "post type general name"
msgid "Content Pieces"
msgstr "Tronçons de contenu"
#: gasap-posttypes.php:28
msgctxt "post type singular name"
msgid "Content Piece"
msgstr "Tronçon de contenu"
#: gasap-posttypes.php:29
msgctxt "Content Piece"
msgid "Add New"
msgstr "Nouveau"
#: gasap-posttypes.php:30
msgid "Add New Content Piece"
msgstr "Ajouter un nouveau tronçon"
#: gasap-posttypes.php:31
msgid "Edit Content Piece"
msgstr "Éditer le tronçon"
#: gasap-posttypes.php:32
msgid "New Content Piece"
msgstr "Nouveau tronçon de contenu"
#: gasap-posttypes.php:33 gasap-posttypes.php:34
msgid "View Content Piece"
msgstr "Voir tronçon de contenu"
#: gasap-posttypes.php:35
msgid "Search Content Pieces"
msgstr "Chercher des tronçons de contenu"
#: gasap-posttypes.php:36
msgid "No Content Pieces found"
msgstr "Aucun tronçon de contenu trouvé"
#: gasap-posttypes.php:37
msgid "No Content Pieces found in Trash"
msgstr "Aucun tronçon de contenu trouvé dans la corbeille"
#: gasap-posttypes.php:53
msgctxt "post type general name"
msgid "Producers"
msgstr "Producteurs"
#: gasap-posttypes.php:54
msgctxt "post type singular name"
msgid "Producer"
msgstr "Producteur"
#: gasap-posttypes.php:55
msgctxt "Producer"
msgid "Add New"
msgstr "Nouveau"
#: gasap-posttypes.php:56
msgid "Add New Producer"
msgstr "Ajouter un nouveau producteur"
#: gasap-posttypes.php:57
msgid "Edit Producer"
msgstr "Editer producteur"
#: gasap-posttypes.php:58
msgid "New Producer"
msgstr "Nouveau producteur"
#: gasap-posttypes.php:59 gasap-posttypes.php:60
msgid "View Producer"
msgstr "Voir page producteur"
#: gasap-posttypes.php:61
msgid "Search Producers"
msgstr "Chercher des producteurs"
#: gasap-posttypes.php:62
msgid "No Producers found"
msgstr "Aucun producteur trouvé"
#: gasap-posttypes.php:63
msgid "No Producers found in Trash"
msgstr "Aucun producteur trouvé dans la corbeille"
#: gasap-posttypes.php:79
msgctxt "post type general name"
msgid "GASAP"
msgstr ""
#: gasap-posttypes.php:80
msgctxt "post type singular name"
msgid "GASAP"
msgstr ""
#: gasap-posttypes.php:81
msgctxt "GASAP"
msgid "Add New"
msgstr "Nouveau"
#: gasap-posttypes.php:82
msgid "Add New GASAP"
msgstr "Nouveau GASAP"
#: gasap-posttypes.php:83
msgid "Edit GASAP"
msgstr "Éditer GASAP"
#: gasap-posttypes.php:84
msgid "New GASAP"
msgstr "Nouveau GASAP"
#: gasap-posttypes.php:85 gasap-posttypes.php:86
msgid "View GASAP"
msgstr "Voir GASAP"
#: gasap-posttypes.php:87
msgid "Search GASAP"
msgstr "Chercher des GASAP"
#: gasap-posttypes.php:88
msgid "No GASAP found"
msgstr "Aucun GASAP trouvée"
#: gasap-posttypes.php:89
msgid "No GASAP found in Trash"
msgstr "Aucun GASAP trouvée dans la corbeille"
#: gasap-posttypes.php:105
msgctxt "post type general name"
msgid "Partners"
msgstr "Partenaires"
#: gasap-posttypes.php:106
msgctxt "post type singular name"
msgid "Partner"
msgstr "Partenaire"
#: gasap-posttypes.php:107
msgctxt "Partner"
msgid "Add New"
msgstr "Nouveau"
#: gasap-posttypes.php:108
msgid "Add New Partner"
msgstr "Ajouter un nouveau partenaire"
#: gasap-posttypes.php:109
msgid "Edit Partner"
msgstr "Éditer partenaire"
#: gasap-posttypes.php:110
msgid "New Partner"
msgstr "Nouveau partenaire"
#: gasap-posttypes.php:111 gasap-posttypes.php:112
msgid "View Partner"
msgstr "Voir page partenaire"
#: gasap-posttypes.php:113
msgid "Search Partner"
msgstr "Chercher des partenaires"
#: gasap-posttypes.php:114
msgid "No Partner found"
msgstr "Aucun partenaire trouvé"
#: gasap-posttypes.php:115
msgid "No Partner found in Trash"
msgstr "Aucun partenaire trouvé dans la corbeille"
#: gasap-posttypes.php:131
msgctxt "post type general name"
msgid "Workers"
msgstr "Employés"
#: gasap-posttypes.php:132
msgctxt "post type singular name"