mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 09:21:55 +00:00
fix t_utf8input on other then my machine
This commit is contained in:
@@ -144,4 +144,4 @@ if (BUILD_TESTS)
|
|||||||
add_sdcv_shell_test(t_utf8input)
|
add_sdcv_shell_test(t_utf8input)
|
||||||
add_sdcv_shell_test(t_datadir)
|
add_sdcv_shell_test(t_datadir)
|
||||||
|
|
||||||
endif ()
|
endif (BUILD_TESTS)
|
||||||
|
|||||||
2
tests/rus-eng-stardict-2.4.2/1.xdxf.dict
Normal file
2
tests/rus-eng-stardict-2.4.2/1.xdxf.dict
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<k>человек</k>
|
||||||
|
man
|
||||||
BIN
tests/rus-eng-stardict-2.4.2/1.xdxf.idx
Normal file
BIN
tests/rus-eng-stardict-2.4.2/1.xdxf.idx
Normal file
Binary file not shown.
BIN
tests/rus-eng-stardict-2.4.2/1.xdxf.idx.oft
Normal file
BIN
tests/rus-eng-stardict-2.4.2/1.xdxf.idx.oft
Normal file
Binary file not shown.
8
tests/rus-eng-stardict-2.4.2/1.xdxf.ifo
Normal file
8
tests/rus-eng-stardict-2.4.2/1.xdxf.ifo
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
StarDict's dict ifo file
|
||||||
|
version=2.4.2
|
||||||
|
wordcount=1
|
||||||
|
idxfilesize=23
|
||||||
|
bookname=Sample 1 test dictionary
|
||||||
|
date=2016.06.02
|
||||||
|
sametypesequence=x
|
||||||
|
description=Copyright: GNU Public License.; Version: 0.1
|
||||||
@@ -1,9 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# This test is dirty hack: if you want try it
|
|
||||||
# make sure that you have not small Russian dictionary, like mueller 7 GPL
|
set -e
|
||||||
# or replace человек by something else
|
|
||||||
|
|
||||||
PATH_TO_SDCV="$1"
|
PATH_TO_SDCV="$1"
|
||||||
|
TESTS_DIR="$2"
|
||||||
|
|
||||||
|
mkdir -p "${HOME}"/.stardict/dic
|
||||||
|
cp -R "${TESTS_DIR}/rus-eng-stardict-2.4.2" "${HOME}"/.stardict/dic/
|
||||||
|
|
||||||
unset SDCV_PAGER
|
unset SDCV_PAGER
|
||||||
export LANG=ru_RU.KOI8-R
|
export LANG=ru_RU.KOI8-R
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
export LANG=ru_RU.KOI8-R
|
export LANG=ru_RU.KOI8-R
|
||||||
unset SDCV_PAGER
|
unset SDCV_PAGER
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user