Show references without links when there is no source file URL
|Reported by:||dimadin||Owned by:||nacin|
Some projects are not public so we can't have links that point to source file. In those cases, we can only show file name and line without link since it could provide some context to translator.
Current example of usage is with translations of wpcom and gravatar. Although whole source of wpcom is not public, most parts of it (WP, bbPress, themes, plugins) are, so translators could see where string is used and see source file via detour. On gravatar, file names are descriptive and sometimes match URL structure so translator could guess where to find string in usage.
To add this functionality, function references in gp-template/helper-functions.php needs to be edited.
Change History (7)
- Keywords 2nd-opinion removed
- Owner set to nacin
- Status changed from new to accepted