Commit Graph

8168 Commits

Author SHA1 Message Date
Gabriel Horner
8836ba7db8 Merge pull request #9907 from logseq/enhance/resource-handling
Enhance (dev): 3rd party resource handling
2023-07-24 11:13:26 -04:00
Andelf
219b118c7b fix(mobile): refer policy of img tag
Fix #9860
2023-07-24 22:33:57 +08:00
Gabriel Horner
ba53bf297c Remove last use of :block/unordered
This was coming directly from the block's ast so it was harder to trace
2023-07-24 10:26:02 -04:00
Gabriel Horner
2b90b0462a Remove explicit :block/unordered that should already be deleted 2023-07-24 10:26:02 -04:00
ROCKTAKEY
ece07dee90 enhance: Add Japanese translation 2023-07-24 09:59:51 -04:00
Konstantinos Kaloutas
8a668ef04b Revert "fix blocks' dnd and tests"
This reverts commit 36335106b4.
2023-07-24 13:11:54 +03:00
Konstantinos Kaloutas
36335106b4 fix blocks' dnd and tests 2023-07-21 19:25:29 +03:00
Konstantinos Kaloutas
8e4cb9c7b1 fix mhchem 2023-07-21 10:07:06 -04:00
Konstantinos Kaloutas
7d6aae0c08 handle mhchem 2023-07-21 10:07:06 -04:00
Konstantinos Kaloutas
9fd3deb39e handle reveal.js 2023-07-21 10:07:06 -04:00
ingepettersen
183e153ead Updated Norwegian translations (#9905)
* Update Norwegian translation

* Update two strings

* Update Norwegian translation
2023-07-21 09:15:27 -04:00
hasecilu
0aa76fbb26 Translate latest strings 2023-07-21 09:12:12 -04:00
hasecilu
2a0c59f05f Fix translations based on feedback 2023-07-21 09:12:12 -04:00
hasecilu
41e2722143 Finish Spanish translations. 2023-07-21 09:12:12 -04:00
hasecilu
ded02048b9 Sort and format file with Spanish translations.
[why]
Sorting the keys gives the advantage of having strings with same context
together making it easier to have consistency on translations.

[how]
1. Having a .edn file execute:
	grep ":" src/resources/dicts/es.edn | grep -v "/" | sort > single_keys
	grep ":" src/resources/dicts/es.edn | grep "/" | sort > hierarchical_keys
2. Both files are sorted, now manually merge them into sorted_file. I
   decided to left turial keys on top, then single_keys and finally
   hierarchical_keys at the end. Check the braces.
3. Execute this script:
	#!/bin/bash

	while IFS= read -r line; do
	if [[ "$line" == *\"* ]]; then
		first_quote_index=$(expr index "$line" \")
		content_after_quote="${line:$first_quote_index}"
		content_before_quote="${line:0:$first_quote_index-1}"
		spaces=$(printf '%*s' $((52 - ${#content_before_quote})))
		echo "$content_before_quote$spaces\"$content_after_quote"
	else
		echo "$line"
	fi
	done <sorted_file >formatted_file
4. Replace the .edn file with the resultant formated_file. Now all
   strings start at column 53.
2023-07-21 09:12:12 -04:00
hasecilu
2700b5583e Add some Spanish translations. 2023-07-21 09:12:12 -04:00
hasecilu
cd9e3fb973 Fix some Spanish translations. 2023-07-21 09:12:12 -04:00
Andelf
5cab22187c chore(release): bump version 0.9.11 2023-07-19 18:44:23 +08:00
Charlie
15a3eec4ad fix(server): sometimes the API server autostart not work (#9878) 2023-07-19 18:29:26 +08:00
Andelf
43680fae94 fix(ui): close context menu when page navs
fix: dev warnings from react about missing keys

Fix #9872
2023-07-19 10:45:54 +08:00
jihuayu
318c3b8603 fix theme mode change error in cn lang 2023-07-18 11:41:10 -04:00
Andelf
b482a8b9b9 fix(sync): avoid alter file twice; clean up logs (#9840) 2023-07-18 22:06:21 +08:00
Lewis Sparlin
3dee098d29 Use position: fixed for class .action-bar 2023-07-15 09:51:00 +08:00
Konstantinos Kaloutas
933a28ca3e fix header button drag region 2023-07-15 09:50:24 +08:00
Andelf
0368dec6c4 fix(mobile): event handler for sync, android back button 2023-07-14 11:42:44 +08:00
Andelf
56f52272ff fix(sync): use empty as base when merge 2023-07-14 11:42:44 +08:00
charlie
c5d9a51db4 fix(plugin): hook fenced code renderer for multiple providers 2023-07-12 15:05:11 +08:00
gfgafn
8a2c6e9537 FIX(editor): Fix delete character which has more than one UTF-16 code unit using Delete key. close the issue #9834 (#9837)
such as delete 🤔(U+1F914), 𠀅(U+20005)
2023-07-11 14:10:14 +08:00
Andelf
e8bf419596 fix(sync): tune merge priority, current change first 2023-07-11 10:12:07 +08:00
Andelf
07b8b030ea fix(ios): empty repo-url on first-boot(logged) 2023-07-10 16:36:24 +08:00
Lewis Sparlin
10ec7d6c8f Update src/main/frontend/components/datetime.cljs
Co-authored-by: Konstantinos <sprocketc@gmail.com>
2023-07-10 00:55:30 +08:00
Lewis Sparlin
00d3a25aaa Use flex-column for schedule modal on smaller screens 2023-07-10 00:55:30 +08:00
Konstantinos Kaloutas
8bc1d19388 fix: codemirror height 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
d8af338e84 remove swiped events 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
96285609bb refactor lightbox 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
fb63c32a56 Revert "defer loading html2canvas"
This reverts commit 16e0c3713f.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
1e30a2030f defer loading html2canvas 2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
1f09012f01 convert photoswipe 2023-07-10 00:54:54 +08:00
queeup
20071dfed1 enhance(i18n): update Turkish translation 2023-07-06 16:55:37 -04:00
Konstantinos Kaloutas
bb80b5f9eb fix #9783 2023-07-06 16:54:00 -04:00
Konstantinos Kaloutas
7854c054bd fix #9781 2023-07-06 16:54:00 -04:00
Gabriel Horner
25c8cfc6ab Address remaining feedback for #9801 and #9757
Also add more explicit translation guidance for reviewers
2023-07-05 11:08:48 -04:00
Rui Sun
64cf564183 Enhance: Add Chinese i18n translations and make more of right-sidebar, query, slide and bug-report translatable (#9801)
* i18n: fix translation of switch to in zh-CN.

* fix: Enable i18n for create or search graph in the context of whiteboard.

* i18n: Add Chinese translations for whiteboard feature.

* i18n: Add more Chinese translations for whiteboard feature.

* i18n: Add i18n for "Properties settings for this query:"

* i18n: Add i18n for "No matched result"

* i18n: Add i18n for "Tips: press f to go full screen"

* i18n: Add i18n for "redo/undo history"

* i18n: Add i18n for "help documents"

* i18n: Add i18n for "bug report"

* fix: Make translate for Tips press f go fullscreen

* fix: Remove placeholder zh-cn that is not used.

* fix: Add a hidden element to use :whiteboard/create-or-search-graph so it will not be reported as unused.

* i18n: Add i18n for "check update"

* i18n: Add i18n for "export current page"

* i18n: Add i18n for "Grant permission"

* i18n: Fix for Chinese, "These translations keys are invalid because they are just copying the English value"

* revert: Translation for whiteboard/create-or-search-graph blocked by bb lang:validate-translations

* i18n: Fix translation for Chinese with help from amazing andelf.

* Update src/resources/dicts/zh-cn.edn

Co-authored-by: Andelf <andelf@gmail.com>

* Update src/resources/dicts/zh-cn.edn

Co-authored-by: Andelf <andelf@gmail.com>

* Update src/resources/dicts/zh-cn.edn

Co-authored-by: Andelf <andelf@gmail.com>

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Andelf <andelf@gmail.com>
2023-07-05 11:07:57 -04:00
Andelf
27035b471c fix(mobile): hide splash as early as possible
Fix #9794
2023-07-05 22:51:53 +08:00
Tienson Qin
076d4027cb fix: sort blocks when copy the selection 2023-07-05 18:30:43 +08:00
Mega Yu
982f57ec84 fix selected blocks dom class 2023-07-05 18:30:43 +08:00
Mega Yu
dfe889a45c fix typo 2023-07-05 18:30:43 +08:00
Mega Yu
3127ea1b6a fix cut block then undo then paste will conflict upsert 2023-07-05 18:30:43 +08:00
Mega Yu
70c9bb10b8 remove duplicate logic about identify whether it's cut paste 2023-07-05 18:30:43 +08:00
Mega Yu
49f88d3ad1 fix undo don't recover refs 2023-07-05 18:30:43 +08:00