Skip to content

Localize link picker #22

@bjarnef

Description

@bjarnef

It seems the text "Choose" is not localized.

<a class="link" href="" ng-click="chooseLink()">Choose</a>

You should be able to use the general_choose key in Umbraco core.
https://github.com/umbraco/Umbraco-CMS/blob/b04d71ca5f816b88fac64c82efa26c663896d699/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L524

<localize key="general_choose">Choose</localize>

I also noticed a few other issues (Umbraco 7.6.11) and latest version of Link Picker

image

<a href ng-click="switchToMediaPicker()" class="btn">Link to file</a>

Instead of "Link to file" you can use either defaultdialogs_selectMedia or defaultdialogs_linkToMedia key.

https://github.com/umbraco/Umbraco-CMS/blob/ef0d6eff2ce4ab0bcdfb806b514fcceb2df6f01e/src/Umbraco.Web.UI.Client/src/views/common/overlays/linkpicker/linkpicker.html#L73-L80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions