Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open in new tab option, fragments, uri schemes, and fixes #1

Merged
merged 1 commit into from
Sep 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"codex"
],
"rules": {
"jsdoc/no-undefined-types": "off"
"jsdoc/no-undefined-types": "off",
"no-control-regex": 0
}
}
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,15 @@ By default, shortcut `CMD (CTRL) + K` is used for pasting links as usual.

## I18n

There is a few phrases to be translated.
There are a few phrases to be translated.

UI items:

- `Paste or search` — placeholder for an input field if server endpoint passed.
- `Paste a link` — placeholder for the same field if server endpoint is missing.
- `Open in new tab` - label for checkbox field that changes link target.
- `Opens in a new tab` - Descriptive text for existing links that open in a new tab.
- `Opens in same tab` - Descriptive text for existing links that open in the same tab.

Error messages:

Expand All @@ -132,6 +135,9 @@ i18n: {
LinkAutocomplete: {
'Paste or search': '...',
'Paste a link': '...',
'Open in new tab': '...',
'Opens in a new tab': '...',
'Opens in same tab': '...',
'Cannot process search request because of': '...',
'Server responded with invalid data': '...',
'Link URL is invalid': '...'
Expand Down
4 changes: 4 additions & 0 deletions icons/newtab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading