You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #29165, the translations are rendered as HTML in templates, so:
1. if the translation does contain `<>`, use `TrString`
2. use `{dummy}` instead of `<dummy>` as much as possible
Co-authored-by: Giteabot <teabot@gitea.io>
Copy file name to clipboardExpand all lines: options/locale/locale_en-US.ini
+4-4
Original file line number
Diff line number
Diff line change
@@ -714,7 +714,7 @@ cancel = Cancel
714
714
language = Language
715
715
ui = Theme
716
716
hidden_comment_types = Hidden comment types
717
-
hidden_comment_types_description = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all "<user> added/removed <label>" comments.
717
+
hidden_comment_types_description = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all "{user} added/removed {label}" comments.
718
718
hidden_comment_types.ref_tooltip = Comments where this issue was referenced from another issue/commit/…
719
719
hidden_comment_types.issue_ref_tooltip = Comments where the user changes the branch/tag associated with the issue
720
720
comment_type_group_reference = Reference
@@ -1289,7 +1289,7 @@ editor.or = or
1289
1289
editor.cancel_lower = Cancel
1290
1290
editor.commit_signed_changes = Commit Signed Changes
1291
1291
editor.commit_changes = Commit Changes
1292
-
editor.add_tmpl = Add '<filename>'
1292
+
editor.add_tmpl = Add '{filename}'
1293
1293
editor.add = Add %s
1294
1294
editor.update = Update %s
1295
1295
editor.delete = Delete %s
@@ -3087,14 +3087,14 @@ auths.tips = Tips
3087
3087
auths.tips.oauth2.general = OAuth2 Authentication
3088
3088
auths.tips.oauth2.general.tip = When registering a new OAuth2 authentication, the callback/redirect URL should be:
3089
3089
auths.tip.oauth2_provider = OAuth2 Provider
3090
-
auths.tip.bitbucket = Register a new OAuth consumer on https://bitbucket.org/account/user/<yourusername>/oauth-consumers/new and add the permission 'Account' - 'Read'
3090
+
auths.tip.bitbucket = Register a new OAuth consumer on https://bitbucket.org/account/user/{your-username}/oauth-consumers/new and add the permission 'Account' - 'Read'
3091
3091
auths.tip.nextcloud = Register a new OAuth consumer on your instance using the following menu "Settings -> Security -> OAuth 2.0 client"
3092
3092
auths.tip.dropbox = Create a new application at https://www.dropbox.com/developers/apps
3093
3093
auths.tip.facebook = Register a new application at https://developers.facebook.com/apps and add the product "Facebook Login"
3094
3094
auths.tip.github = Register a new OAuth application on https://github.com/settings/applications/new
3095
3095
auths.tip.gitlab_new = Register a new application on https://gitlab.com/-/profile/applications
3096
3096
auths.tip.google_plus = Obtain OAuth2 client credentials from the Google API console at https://console.developers.google.com/
3097
-
auths.tip.openid_connect = Use the OpenID Connect Discovery URL (<server>/.well-known/openid-configuration) to specify the endpoints
3097
+
auths.tip.openid_connect = Use the OpenID Connect Discovery URL "https://{server}/.well-known/openid-configuration" to specify the endpoints
3098
3098
auths.tip.twitter = Go to https://dev.twitter.com/apps, create an application and ensure that the “Allow this application to be used to Sign in with Twitter” option is enabled
3099
3099
auths.tip.discord = Register a new application on https://discordapp.com/developers/applications/me
3100
3100
auths.tip.gitea = Register a new OAuth2 application. Guide can be found at https://docs.gitea.com/development/oauth2-provider
0 commit comments