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

Fixed the translatability of the content of the buttons in pro-files.vue #478

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions views/assets/src/components/project-files/pro-files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template v-for="( value, key ) in uploadBtnContents">
<a @click.stop="" :key="key" href="#" class="button button-primary">
<span class="dashicons dashicons-plus-alt"></span>
{{ __( value, 'wedevs-project-manager' ) }}
{{ value }}
</a>
</template>
<UpgraderOverlay />
Expand All @@ -26,10 +26,10 @@ export default {
data() {
return {
uploadBtnContents: [
'Create a folder',
'Upload a file',
'Create a doc',
'Link to Docs'
__( 'Create a folder', 'wedevs-project-manager' ),
__( 'Upload a file', 'wedevs-project-manager' ),
__( 'Create a doc', 'wedevs-project-manager' ),
__( 'Link to Docs', 'wedevs-project-manager' )
],
}
},
Expand Down