Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DAnn2012 opened this issue May 24, 2023 · 2 comments

Comments

@DAnn2012
Copy link
Contributor

DAnn2012 commented May 24, 2023

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>


@DAnn2012
Copy link
Contributor Author

Hi @MdAsifHossainNadim

please could you kindly take a look at this my Issue report?

Thank you.

@DAnn2012
Copy link
Contributor Author

Hi @mrabbani

please could you kindly take a look at this my Issue report?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant