Windows 11 Version 3.0.6 wouldn't start #108
 Open
x3oo opened this issue on Nov 14 · 0 comments
Comments
@x3oo
x3oo commented on Nov 14
stardict won't start with the message:
libintl_sprintf wasn't found in stardict.dll




Synonyms should only point to the specific definition pointed to by the .syn file, not to all the definitions for that word #107

melyux commented 12 days ago
Often, a synonym is only a synonym for one sense of the word. Right now, StarDict looks at the word pointed to by the synonym and searches it up and returns all definitions for that word, if there are multiple. However, the word pointed to can be just one of the different indices in the .idx file with the same word; StarDict should only point to the definition for the given index, not every identical word in the .idx file; we never specified those as synonyms, just the specific one we put in the .syn file.

e.g. Say you have in your .idx file three different entries for the word "go", one of them is the verb definition, one of them is a noun, one of them is an adjective.

We create a synonym "gone" in the .syn file, pointing to the index for only the verb definition of "go". However, upon searching "gone", StarDict will return the results for all 3 definitions of "go", as if you typed in "go" directly instead.

This is not desirable; we only want the verb definition, because the .syn file points to the .idx index that points only to the verb definition. If we want to make "gone" point to the noun definition too, we can always trivially put in a second synonym in the .syn file for "gone" that points to the noun definition.

@melyux melyux changed the title Synonyms should only point to the word instance given in the .syn file, not to all the definitions for that word Synonyms should only point to the definition pointed to by the word instance pointed to by the .syn file, not to all the definitions for that word 12 days ago
@melyux melyux changed the title Synonyms should only point to the definition pointed to by the word instance pointed to by the .syn file, not to all the definitions for that word Synonyms should only point to the specific definition pointed to by the .syn file, not to all the definitions for that word 12 days ago




epistularum commented on Jan 11 • 
This is quite a significant issue for a dictionary, I have been wondering about the same thing.

This behaviour is also annoying when you have a hyperlink within a definition that links to another specific word but said word has multiple entries. Obviously you would want the specific referenced entry to be displayed instead of having multiple entries displayed and be confused as to which one is actually referenced.

A way to go around this issue would be to assign a specific numeric value to each single definition and then treat everything as synonyms but then that value ends up being displayed in the dictionary software which is not optimal.
For instance:
image

ilius commented 2 weeks ago • 
Synonyms are stored in syn file, and syn file does not contain any information about which sense is it referring to. And I don't think StarDict format has any understanding of senses and how they are structured inside articles (in html format).

StarDict can look for that synonym within the article, either in bold or heading or in lists (<ol> or <ul>), but this is kinda hacky and specific to certain group of dictionaries.





a patch for /usr/share/metainfo/stardict.appdata.xml
#101 opened 18 days ago by atzlinux

atzlinux commented on Dec 15, 2021 • 
Description: fix warning in /usr/share/metainfo/stardict.appdata.xml
see: https://appstream.debian.org/sid/main/issues/stardict-gtk.html
check by: appstream-util validate-strict stardict.appdata.xml

Author: xiao sheng wen atzlinux@sina.com

Last-Update: 2021-12-15

--- stardict-3.0.7+git20210701.96b96d8+dfsg.orig/dict/data/stardict.appdata.xml.in
+++ stardict-3.0.7+git20210701.96b96d8+dfsg/dict/data/stardict.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2015 Hu Zheng <huzheng001@gmail.com> -->
 <component type="desktop">
-  <id>stardict.desktop</id>
+  <id>org.gnome.stardict.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-3.0</project_license>
   <_name>StarDict</_name>
@@ -24,6 +24,60 @@
   <developer_name>Hu Zheng</developer_name>
   <url type="bugtracker">https://code.google.com/p/stardict-3/issues/list</url>
   <url type="donation">http://www.huzheng.org/donate.php</url>
-  <updatecontact>huzheng001@gmail.com</updatecontact>
+  <update_contact>huzheng001@gmail.com</update_contact>
   <project_group>GNOME</project_group>
+  <translation type="gettext">stardict</translation>
+  <developer_name>The GNOME Project</developer_name>
+  <developer_name xml:lang="zh_TW">GNOME 專案</developer_name>
+  <developer_name xml:lang="zh_CN">GNOME 项目</developer_name>
+  <developer_name xml:lang="vi">Dự án GNOME</developer_name>
+  <developer_name xml:lang="uk">Проект GNOME</developer_name>
+  <developer_name xml:lang="tr">GNOME Projesi</developer_name>
+  <developer_name xml:lang="th">โครงการ GNOME</developer_name>
+  <developer_name xml:lang="tg">Лоиҳаи «GNOME»</developer_name>
+  <developer_name xml:lang="sv">GNOME-projektet</developer_name>
+  <developer_name xml:lang="sr@latin">Gnomov projekat</developer_name>
+  <developer_name xml:lang="sr">Гномов пројекат</developer_name>
+  <developer_name xml:lang="sl">Projekt GNOME</developer_name>
+  <developer_name xml:lang="sk">Projekt GNOME</developer_name>
+  <developer_name xml:lang="ru">Проект GNOME</developer_name>
+  <developer_name xml:lang="ro">Proiectul GNOME</developer_name>
+  <developer_name xml:lang="pt_BR">O Projeto GNOME</developer_name>
+  <developer_name xml:lang="pt">Projeto GNOME</developer_name>
+  <developer_name xml:lang="pl">Projekt GNOME</developer_name>
+  <developer_name xml:lang="oc">Lo projècte GNOME</developer_name>
+  <developer_name xml:lang="nl">Het Gnome-project</developer_name>
+  <developer_name xml:lang="nb">GNOME prosjektet</developer_name>
+  <developer_name xml:lang="ms">Projek GNOME</developer_name>
+  <developer_name xml:lang="mjw">GNOME Project</developer_name>
+  <developer_name xml:lang="lv">GNOME projekts</developer_name>
+  <developer_name xml:lang="lt">GNOME projektas</developer_name>
+  <developer_name xml:lang="ko">그놈 프로젝트</developer_name>
+  <developer_name xml:lang="kk">GNOME жобасы</developer_name>
+  <developer_name xml:lang="ja">The GNOME Project</developer_name>
+  <developer_name xml:lang="it">Il progetto GNOME</developer_name>
+  <developer_name xml:lang="is">GNOME-verkefnið</developer_name>
+  <developer_name xml:lang="id">Projek GNOME</developer_name>
+  <developer_name xml:lang="hu">A GNOME projekt</developer_name>
+  <developer_name xml:lang="hr">GNOME projekt</developer_name>
+  <developer_name xml:lang="he">מיזם GNOME</developer_name>
+  <developer_name xml:lang="gl">O Proxecto GNOME</developer_name>
+  <developer_name xml:lang="gd">Pròiseact GNOME</developer_name>
+  <developer_name xml:lang="fur">Il progjet GNOME</developer_name>
+  <developer_name xml:lang="fr">Le projet GNOME</developer_name>
+  <developer_name xml:lang="fi">Gnome-projekti</developer_name>
+  <developer_name xml:lang="fa">پروژهٔ گنوم</developer_name>
+  <developer_name xml:lang="eu">GNOME proiektua</developer_name>
+  <developer_name xml:lang="es">El proyecto GNOME</developer_name>
+  <developer_name xml:lang="eo">La GNOME-projekto</developer_name>
+  <developer_name xml:lang="en_GB">The GNOME Project</developer_name>
+  <developer_name xml:lang="el">Το έργο GNOME</developer_name>
+  <developer_name xml:lang="de">Das GNOME-Projekt</developer_name>
+  <developer_name xml:lang="da">GNOME-projektet</developer_name>
+  <developer_name xml:lang="cs">Projekt GNOME</developer_name>
+  <developer_name xml:lang="ca@valencia">El projecte GNOME</developer_name>
+  <developer_name xml:lang="ca">El projecte GNOME</developer_name>
+  <developer_name xml:lang="be">Праект GNOME</developer_name>
+  <content_rating type="oars-1.1"/>
+  <launchable type="desktop-id">stardict.desktop</launchable>
 </component>



build error when add CXXFLAGS -Werror=format-security
#97 opened 28 days ago by atzlinux
 1


spelling-error-in stardict-tools ,check by Debian lintian, patch
#96 opened on 17 Oct 2021 by atzlinux



stardict-editor manual come from Debian
#95 opened on 14 Oct 2021 by atzlinux

atzlinux commented on 14 Oct 2021
The filename is stardict-editor.1

Welcome to put it in git repo.

.TH stardict-editor 1 "Jan 2010
.SH NAME
stardict-editor \- program to edit, compile and decompile stardict dictionaries
.SH SYNOPSIS
.B stardict-editor
.SH DESCRIPTION
This manual page documents briefly the
.B stardict-editor
command.
.PP
\fBstardict-editor\fP is a program that allow you to edit, compile and decompile
stardict dictionaries from easy Gtk interface.
.SH OPTIONS
This program does not accept any options.
.SH AUTHOR
stardict-editor was written by Evgeniy Dushistov <dushistov@mail.ru>.
.PP
This manual page was written by Michal Cihar <nijel@debian.org>
for the Debian project (and may be used by others).



Full-text translation: "Unable to interpret translation engine response!" #89
Open
slrslr opened this issue on 21 Nov 2020 · 0 comments 

slrslr commented on 21 Nov 2020

Hello,

on Arch based Manjaro Linux i am using Stardict 3.0.6-8 installed from official repo.

i went to Full-Text Translation tab and pasted text

selected to translate using Yahoo and then using Excite.

from Spanish to English

and it shows:

"Unable to interpret translation engine response!"

please is there a work around or can this be fixed?




Add bword:// prefix to link target of "kref" in XDXF-formatted definition #88


ilius commented 22 days ago •

For example:

<ar><k>ADSL</k>
 See: <dtrn><kref>asymmetrical digital subscriber line</kref></dtrn></ar>
<ar>

Current it will be converted to

See: <a href="asymmetrical digital subscriber line">asymmetrical digital subscriber line</a>

So clicking on the link will try to open it in browser (assuming it's a web link)
It should be changed to:

See: <a href="bword://asymmetrical digital subscriber line">asymmetrical digital subscriber line</a>


Here is my version of xdxf.xsl that fixes this.




Could Stardict-3 be re-written in Rust programming language? #85

tarvos21 commented on 10 Jan •

Could Stardict-3 be re-written in Rust programming language?

Rust is a fast and reliable new programming language, which is said to replace C/C++.

And also, Rust may be easier for new programmers to collaborate.

Love Stardict, thanks for the wonderful, unbelievable and amazing job to develop Stardict!




bug-windows while start  #77




