Update translations for English and Icelandic languages, changed colors of some icons, added more icons.

This commit is contained in:
2024-07-13 15:11:15 +02:00
parent 75e306d0d7
commit fa76fe14b6
8 changed files with 552 additions and 39 deletions

View File

@ -0,0 +1,11 @@
# Extract terms from the Tumblr URL
parsed_url = QUrl(url)
host_parts = parsed_url.host().split('.')
domain = '.'.join(host_parts[-2:]) # Extracting the domain name with TLD
path = parsed_url.path().strip('/').split('/')
terms.append(domain)
if len(path) > 0:
terms.append(path[0]) # User name
if len(path) > 2:
terms.append(path[2]) # Post name