Skip to content

Some strings to be translated are not included in the wedevs-project-manager.php file #475

@DAnn2012

Description

@DAnn2012

Some strings to be translated are not included in the wedevs-project-manager.php file.

These are the strings and where they are placed in the source code:

__( 'Transactional email triggered fatal error for callback ', 'wedevs-project-manager' ),

trigger_error( esc_attr__( 'Transactional email triggered fatal error for callback ' . $callback['filter'], 'wedevs-project-manager' ), E_USER_WARNING );

trigger_error( esc_attr__( 'Transactional email triggered fatal error for callback ' . current_filter(), 'wedevs-project-manager' ), E_USER_WARNING );


And this strings in /wedevs-project-manager/vendor/appsero/client/src/Insights.php:

__( 'Want to help make %1$s even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', 'wedevs-project-manager' ),

$notice = sprintf( $this->client->__trans( 'Want to help make <strong>%1$s</strong> even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.' ), $this->client->name );

__( 'what we collect', 'wedevs-project-manager' ),

$notice .= ' (<a class="' . $this->client->slug . '-insights-data-we-collect" href="#">' . $this->client->__trans( 'what we collect' ) . '</a>)';

__( 'Allow', 'wedevs-project-manager' ),

echo ' <a href="' . esc_url( $optin_url ) . '" class="button-primary button-large">' . $this->client->__trans( 'Allow' ) . '</a>';

__( 'No thanks', 'wedevs-project-manager' ),

echo ' <a href="' . esc_url( $optout_url ) . '" class="button-secondary button-large">' . $this->client->__trans( 'No thanks' ) . '</a>';

...and all other strings that are in the source code of this file in "__trans", "_etrans" or directly as text.


Thanks.


Update - The following strings were added to the wedevs-project-manager.php file with version 2.6.4:

__( 'Create a folder', 'wedevs-project-manager' ),
__( 'Upload a file', 'wedevs-project-manager' ),
__( 'Create a doc', 'wedevs-project-manager' ),
__( 'Link to Docs', 'wedevs-project-manager' ),

export default {
data() {
return {
uploadBtnContents: [
'Create a folder',
'Upload a file',
'Create a doc',
'Link to Docs'
],
}
},


Update - The following strings were added to the wedevs-project-manager.php file with version 2.6.6:

__( ' Comments', 'wedevs-project-manager' ),
__( ' Files', 'wedevs-project-manager' ),
__( ' Task Lists', 'wedevs-project-manager' ),
__( ' Tasks', 'wedevs-project-manager' ),
__( ' Discussions', 'wedevs-project-manager' ),
__( ' Milestones', 'wedevs-project-manager' ),

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_comments) + __( ' Comments', 'wedevs-project-manager')}}</span>

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_files) + __( ' Files', 'wedevs-project-manager') }}</span>

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_task_lists) + __( ' Task Lists', 'wedevs-project-manager') }}</span>

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_tasks) + __( ' Tasks', 'wedevs-project-manager') }}</span>

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_discussion_boards) + __( ' Discussions', 'wedevs-project-manager') }}</span>

<span class="pm-tooltip-label">{{ parseInt(project.meta.data.total_milestones) + __( ' Milestones', 'wedevs-project-manager') }}</span>


Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions