Bug 194852 - Add comments not to translate "file URL" and "file scheme URLs".
Summary: Add comments not to translate "file URL" and "file scheme URLs".
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 01:43 PST by scootergrisen
Modified: 2020-08-16 01:11 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scootergrisen 2019-02-20 01:43:13 PST
The translation po files for WebKitGTK+ contains some strings with "file URL" and "file scheme URLs".
I suspect these are describing the "file:///..." kind of URLs and therefor should proplerly not translate the word "file" as seems to be the case for at least some languages.
So suggest adding comments to the strings about not translating "file URL" and "file scheme URLs" and give an example like "file://..." so the translator can better understand what it is for.

    #: ../../../../WebKit/UIProcess/API/glib/WebKitSettings.cpp:1412
    msgid "Allow file access from file URLs"
    
    #: ../../../../WebKit/UIProcess/API/glib/WebKitSettings.cpp:1413
    msgid "Whether file access is allowed from file URLs."
    
    #: ../../../../WebKit/UIProcess/API/glib/WebKitSettings.cpp:1432
    msgid "Allow universal access from the context of file scheme URLs"
    
    #: ../../../../WebKit/UIProcess/API/glib/WebKitSettings.cpp:1433
    msgid ""
    "Whether or not universal access is allowed from the context of file scheme "
    "URLs"