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

Add option to turn off external link warning #1236

Merged
merged 4 commits into from
Mar 28, 2024
Merged

Add option to turn off external link warning #1236

merged 4 commits into from
Mar 28, 2024

Conversation

dan-niles
Copy link
Contributor

Resolves #891

This PR adds the option to turn off the external link warning.

@Jaifroid
Copy link
Member

@dan-niles Thanks for the PR! I'll take a look as soon as I get a chance.

@Jaifroid
Copy link
Member

@dan-niles Apologies for taking so long to look at this. On quick testing, it's working really well, in both SW mode and Safe mode. I'll now look at the code.

Copy link
Member

@Jaifroid Jaifroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this PR. It's working well! Just some minor UI changes, mostly translations and tiny bits of redundant code.

www/js/app.js Outdated Show resolved Hide resolved
www/js/lib/uiUtil.js Outdated Show resolved Hide resolved
i18n/es.jsonp.js Outdated
@@ -137,6 +139,7 @@ document.localeJson = {
"dialog-article-readerror-title": "Error al leer artículo",
"dialog-cancel": "Cancelar",
"dialog-ok": "OK",
"dialog-hide": "No vuelvas a preguntar",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're using the forma (Usted) form of you in this app, so this needs to be "No vuelva a preguntar".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used an online translation tool and wasn't really sure about it. 😅
Thanks for the clarification! Updated in 1c1869b.

i18n/fr.jsonp.js Outdated Show resolved Hide resolved
@Jaifroid
Copy link
Member

Tested and working on IE11.

@dan-niles dan-niles requested a review from Jaifroid March 27, 2024 20:53
Copy link
Member

@Jaifroid Jaifroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! All good. Let me know if you're happy for me to squash-merge.

@dan-niles
Copy link
Contributor Author

@Jaifroid Yes, all good! 👍

@Jaifroid Jaifroid merged commit 01f7e29 into kiwix:main Mar 28, 2024
6 checks passed
@dan-niles dan-niles deleted the external-link-warning branch March 31, 2024 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to turn off external link warning in associated dialogue box like Kiwix Android
2 participants