Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
auraes
PunyInformFr
Commits
58102aad
Commit
58102aad
authored
Feb 06, 2021
by
auraes
💬
Browse files
soi -lui eux remplacés par se lui leur
parent
42860477
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
40 deletions
+39
-40
lib/parser.h
lib/parser.h
+2
-2
lib/puny.h
lib/puny.h
+1
-1
lib/translation.h
lib/translation.h
+26
-26
lib/translation_v3.h
lib/translation_v3.h
+10
-11
No files found.
lib/parser.h
View file @
58102aad
...
...
@@ -479,8 +479,8 @@ System_file;
'
-
la
'
:
_noun
=
la_obj
;
'
-
l
^
'
:
_noun
=
l_obj
;
'
-
les
'
:
_noun
=
les_obj
;
'
lui
'
:
_noun
=
lui_obj
;
'
leur
'
:
_noun
=
leur_obj
;
'
lui
'
:
_noun
=
lui_obj
;
'
leur
'
:
_noun
=
leur_obj
;
}
!
FRENCH
if
(
_noun
==
0
)
{
...
...
lib/puny.h
View file @
58102aad
...
...
@@ -1187,7 +1187,7 @@ Include "parser.h";
!
FRENCH
Object
selfobj
"vous"
with
name
'
se
'
,
name
'
se
'
,
short_name
"vous-même"
,
description
"Ça a l'air bien !"
,
before
NULL
,
...
...
lib/translation.h
View file @
58102aad
...
...
@@ -123,33 +123,33 @@ System_file;
switch
(
w
)
{
!
y
en
'
se
'
,
'
s
^
'
:
switch
(
w1
)
{
'
le
'
:
w
=
"-le à s
oi
"
;
'
la
'
:
w
=
"-la à s
oi
"
;
'
les
'
:
w
=
"-les à s
oi
"
;
'
l
^
'
:
w
=
"-l' à s
oi
"
;
default:
w
=
"s
oi
"
;
r
=
1
;
'
le
'
:
w
=
"-le à s
e
"
;
'
la
'
:
w
=
"-la à s
e
"
;
'
les
'
:
w
=
"-les à s
e
"
;
'
l
^
'
:
w
=
"-l' à s
e
"
;
default:
w
=
"s
e
"
;
r
=
1
;
}
'
l
^
'
:
w
=
"-l'"
;
r
=
1
;
'
le
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-le à
-
lui"
;
'
leur
'
:
w
=
"-le à eu
x
"
;
'
lui
'
:
w
=
"-le à lui"
;
'
leur
'
:
w
=
"-le à
l
eu
r
"
;
default:
w
=
"-le"
;
r
=
1
;
}
'
la
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-la à
-
lui"
;
'
leur
'
:
w
=
"-la à eu
x
"
;
'
lui
'
:
w
=
"-la à lui"
;
'
leur
'
:
w
=
"-la à
l
eu
r
"
;
default:
w
=
"-la"
;
r
=
1
;
}
'
les
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-les à
-
lui"
;
'
leur
'
:
w
=
"-les à eu
x
"
;
'
lui
'
:
w
=
"-les à lui"
;
'
leur
'
:
w
=
"-les à
l
eu
r
"
;
default:
w
=
"-les"
;
r
=
1
;
}
'
lui
'
:
w
=
"à
-
lui"
;
r
=
1
;
'
leur
'
:
w
=
"à eu
x
"
;
r
=
1
;
'
lui
'
:
w
=
"à lui"
;
r
=
1
;
'
leur
'
:
w
=
"à
l
eu
r
"
;
r
=
1
;
default:
r
=
0
;
}
...
...
@@ -210,33 +210,33 @@ System_file;
switch
(
w
)
{
!
y
en
'
se
'
,
'
s
^
'
:
switch
(
w1
)
{
'
le
'
:
w
=
"-le a s
oi
"
;
'
la
'
:
w
=
"-la a s
oi
"
;
'
les
'
:
w
=
"-les a s
oi
"
;
'
l
^
'
:
w
=
"-l' a s
oi
"
;
default:
w
=
"s
oi
"
;
r
=
1
;
'
le
'
:
w
=
"-le a s
e
"
;
'
la
'
:
w
=
"-la a s
e
"
;
'
les
'
:
w
=
"-les a s
e
"
;
'
l
^
'
:
w
=
"-l' a s
e
"
;
default:
w
=
"s
e
"
;
r
=
1
;
}
'
l
^
'
:
w
=
"-l'"
;
r
=
1
;
'
le
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-le a
-
lui"
;
'
leur
'
:
w
=
"-le a eu
x
"
;
'
lui
'
:
w
=
"-le a lui"
;
'
leur
'
:
w
=
"-le a
l
eu
r
"
;
default:
w
=
"-le"
;
r
=
1
;
}
'
la
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-la a
-
lui"
;
'
leur
'
:
w
=
"-la a eu
x
"
;
'
lui
'
:
w
=
"-la a lui"
;
'
leur
'
:
w
=
"-la a
l
eu
r
"
;
default:
w
=
"-la"
;
r
=
1
;
}
'
les
'
:
switch
(
w1
)
{
'
lui
'
:
w
=
"-les a
-
lui"
;
'
leur
'
:
w
=
"-les a eu
x
"
;
'
lui
'
:
w
=
"-les a lui"
;
'
leur
'
:
w
=
"-les a
l
eu
r
"
;
default:
w
=
"-les"
;
r
=
1
;
}
'
lui
'
:
w
=
"a
-
lui"
;
r
=
1
;
'
leur
'
:
w
=
"a eu
x
"
;
r
=
1
;
'
lui
'
:
w
=
"a lui"
;
r
=
1
;
'
leur
'
:
w
=
"a
l
eu
r
"
;
r
=
1
;
default:
r
=
0
;
}
...
...
lib/translation_v3.h
View file @
58102aad
...
...
@@ -36,7 +36,7 @@ System_file;
len_dic
=
(
dict_end
-
dict_start
)
/
dict_entry_size
;
!
TODO
Global
if
(
lgm
>
6
)
lgm
=
6
;
for
(
i
=
0
:
i
<
len_dic
:
i
++
)
{
!
WARNING
si
accents
w
=
HDR_DICTIONARY
-->
0
+
7
+
7
*
i
;
!
7
/
9
w
=
HDR_DICTIONARY
-->
0
+
7
+
7
*
i
;
@
output_stream
3
StorageForShortName
;
print
(
address
)
w
;
@
output_stream
-
3
;
...
...
@@ -64,15 +64,16 @@ System_file;
];
[
DecolleApostrophe
motn
at
lgm
w1
w2
v
;
at
=
PosMot
(
motn
);
lgm
=
WordLength
(
motn
);
if
(
buffer
->
(
at
+
1
)
~=
'''
)
return
0
;
at
=
PosMot
(
motn
)
+
1
;
lgm
=
WordLength
(
motn
)
-
2
;
if
(
buffer
->
at
~=
'''
)
return
0
;
--
at
;
if
(
buffer
->
at
==
'l'
)
w1
=
'
l
^
'
;
else
if
(
buffer
->
at
==
'd'
)
w1
=
'
de
'
;
else
if
(
buffer
->
at
==
's'
)
w1
=
'
se
'
;
else
return
0
;
w2
=
DictWord
(
at
+
2
,
lgm
-
2
);
at
=
at
+
2
;
w2
=
DictWord
(
at
,
lgm
);
if
(
w2
)
{
!
TODO
optimiser
InsertWordParse
(
motn
+
1
,
w2
);
parse
-->
(
motn
*
2
-
1
)
=
w1
;
...
...
@@ -106,13 +107,13 @@ System_file;
r
=
PosMot
(
i
)
+
1
;
if
(
i
==
n
)
{
parse
-->
(
i
*
2
-
1
)
=
'
dj
'
;
buffer
->
r
=
'j'
;
!
buffer
->
r
=
'j'
;
}
else
{
w1
=
DicMot
(
i
+
1
);
if
(
w1
&&
(
w1
->
#
dict_par1
)
&
8
)
{
parse
-->
(
i
*
2
-
1
)
=
'
dj
'
;
buffer
->
r
=
'j'
;
!
buffer
->
r
=
'j'
;
}
}
#EndIf;
...
...
@@ -120,17 +121,15 @@ System_file;
}
if
(
n
==
1
)
return
;
!
Pronoms
avant
le
verbe
w1
=
parse
-->
1
;
w2
=
parse
-->
3
;
r
=
1
;
switch
(
w1
)
{
!
y
en
'
se
'
,
'
lui
'
,
'
leur
'
:
;
'
l
^
'
:
w1
=
'
-
l
^
'
;
'
le
'
:
w1
=
'
-
le
'
;
'
la
'
:
w1
=
'
-
la
'
;
'
les
'
:
w1
=
'
-
les
'
;
'
se
'
,
'
lui
'
,
'
leur
'
:
;
default:
r
=
0
;
}
if
(
r
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment