Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-basic-requirements
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-basic-requirements
Commits
9fc47b01
Commit
9fc47b01
authored
6 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
major bugfix for translable/translatable
parent
c52ff062
No related branches found
No related tags found
1 merge request
!9
major bugfix for translable/translatable
Pipeline
#8371
passed
6 years ago
Stage: tools
Stage: tests
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Translable.php
+9
-0
9 additions, 0 deletions
src/Translable.php
src/Translatable.php
+5
-1
5 additions, 1 deletion
src/Translatable.php
with
14 additions
and
1 deletion
src/Translable.php
0 → 100644
+
9
−
0
View file @
9fc47b01
<?php
/**
* @deprecated Have typo so better use WPDesk_Translatable
*/
interface
WPDesk_Translable
{
/** @return string */
public
function
get_text_domain
();
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Translatable.php
+
5
−
1
View file @
9fc47b01
<?php
<?php
if
(
!
interface_exists
(
'WPDesk_Translable'
)
)
{
require_once
'Translable.php'
;
}
/**
/**
* Have info about textdomain - how to translate texts
* Have info about textdomain - how to translate texts
*
*
* have to be compatible with PHP 5.2.x
* have to be compatible with PHP 5.2.x
*/
*/
interface
WPDesk_Translatable
{
interface
WPDesk_Translatable
extends
WPDesk_Translable
{
/** @return string */
/** @return string */
public
function
get_text_domain
();
public
function
get_text_domain
();
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment