Page 30 of 38

Posted: Tue 07 Oct 2014, 16:30
by ASRI éducation
ttuuxxx wrote:I removed it from Pfind, now it works perfectly. I updated the latest with the fix. Also updated the version number :)
After installation, the search text is replaced by "Project-Id-Version: box_yesno VERSION" (see screenshot).
I use Puppy Precise CE 5.7.1 + devx + momanager_20141002
Regards

Posted: Tue 07 Oct 2014, 18:46
by ttuuxxx
ASRI éducation wrote:
ttuuxxx wrote:I removed it from Pfind, now it works perfectly. I updated the latest with the fix. Also updated the version number :)
After installation, the search text is replaced by "Project-Id-Version: box_yesno VERSION" (see screenshot).
I use Puppy Precise CE 5.7.1 + devx + momanager_20141002
Regards

Posted: Wed 08 Oct 2014, 07:27
by zigbert
I want 'searchtext' to show up, so I want another solution. pMusic has the same info, but it is deleted as soon as the mouse enters the field. I will into it...


Sigmund

Posted: Wed 08 Oct 2014, 07:33
by zigbert
ttuuxxx
I have added this line 165 to /usr/local/pfind/pfind, and it works for me.
Does it meet your request?

Code: Select all

       <action condition="command_is_true([[ `echo \"$SEARCHSTRING\" | grep -F \"'$(gettext 'Search text')'\"` ]] && echo true)" signal="enter-notify-event">clear:SEARCHSTRING</action>

Posted: Wed 08 Oct 2014, 08:36
by ttuuxxx
zigbert wrote:ttuuxxx
I have added this line 165 to /usr/local/pfind/pfind, and it works for me.
Does it meet your request?

Code: Select all

       <action condition="command_is_true([[ `echo "$SEARCHSTRING" | grep -F "'$(gettext 'Search text')'"` ]] && echo true)" signal="enter-notify-event">clear:SEARCHSTRING</action>
It disappears nicely, But I keep getting Search textSearch textSearch textSearch textSearch textSearch textSearch textSearSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textSearch textch textSearch textSearch text :),
Worked best without the search text,Too bad you couldn't have a search box over a image in the background that said "Search text" , But really do you need that text, I've been using it all day without and loving it:). Everyone knows what a search box is for, Or have the text above it. Heck I could make you you a Image for it,

Posted: Wed 08 Oct 2014, 13:28
by ASRI éducation
ttuuxxx wrote:Did you post that into it? Mine show a empty box every time.
I did not.
This problem is probably related to the use of momager.
zigbert wrote:ttuuxxx
I have added this line 165 to /usr/local/pfind/pfind, and it works for me.
Does it meet your request?

Code: Select all

       <action condition="command_is_true([[ `echo "$SEARCHSTRING" | grep -F "'$(gettext 'Search text')'"` ]] && echo true)" signal="enter-notify-event">clear:SEARCHSTRING</action>
This is ok for me.

Posted: Wed 08 Oct 2014, 20:54
by zigbert
considering...

I see the 'Search textSearch textSearch textSearch text' issue, but this happens only if pFind is opened AFTER the terminal (or other program).

Using an image for text is no good for NLS. - if not a svg that is generated by the program itself through a gettext command.

ASRI éducation
Thanks for your feedback


Sigmund

Posted: Wed 08 Oct 2014, 21:52
by dekani
ASRI éducation wrote: This problem is probably related to the use of momager.
Yes, I think so, too. Or perhaps related to current french mo file.
If you open the french po file generated by momanager, you will see a first blank entry before the header metadata. (the one you have in your screenshot)
I suppose, the 'blank' value is then replaced by metadata content instead of keeping it blank. (as an entry exists in french po file)
It should work if this dummy entry is removed before generating translated mo file. (not tested)

I have seen it too in other french po files. (but not in all files)
I'm not sure it has been really generated by momanager, perhaps it was already in original mo translated file. (Momanager is using old translated file to generate new po file with new updated/added entries)

Posted: Wed 08 Oct 2014, 22:51
by ASRI éducation
dekani wrote:
ASRI éducation wrote: This problem is probably related to the use of momager.
Yes, I think so, too. Or perhaps related to current french mo file.
If you open the french po file generated by momanager, you will see a first blank entry before the header metadata. (the one you have in your screenshot)
I suppose, the 'blank' value is then replaced by metadata content instead of keeping it blank. (as an entry exists in french po file)
It should work if this dummy entry is removed before generating translated mo file. (not tested)

I have seen it too in other french po files. (but not in all files)
I'm not sure it has been really generated by momanager, perhaps it was already in original mo translated file. (Momanager is using old translated file to generate new po file with new updated/added entries)
I take advantage of the message of 'dekani' to present him briefly.

Code: Select all

dekani
Joined: 22 Jul 2013
Posts: 4
Location: France
Only four posts on murga forum and one year of registration, but solid experience and real competences.
For several months, I worked with him on the project "GIT to host translations and langpacks" http://www.murga-linux.com/puppy/viewtopic.php?t=95215
Therefore, I encourage forum users to consider his opinion.
Regards

Posted: Thu 09 Oct 2014, 19:01
by zigbert
Version 5.14
See main post

changelog
- Delete 'Search text' from search field when mouse enters field. (thanks to ttuuxxx)

Posted: Thu 09 Oct 2014, 19:14
by nilsonmorales
Hi all, maybe this is not relevant, i just need to change the category in desktop file
X-Filesystem-find for X-FilesystemFind by the way is a lxde menu.
thank you for your work.

Posted: Thu 09 Oct 2014, 21:30
by zigbert
nilsonmorales
I have reuploaded 5.14 using X-Filesystem-find
It works fine in JWM as well.

Thank you for mentioning.
Sigmund

Posted: Fri 10 Oct 2014, 01:53
by ASRI éducation
zigbert wrote:Version 5.14
See main post

changelog
- Delete 'Search text' from search field when mouse enters field. (thanks to ttuuxxx)
Perfect, thank you Sigmund.

Posted: Fri 10 Oct 2014, 02:38
by ttuuxxx
zigbert wrote:nilsonmorales
I have reuploaded 5.14 using X-Filesystem-find
It works fine in JWM as well.

Thank you for mentioning.
Sigmund
I can't test it right now due to I've reconfigured urxvt in /root/.Xdefaults
ttuuxxx

Posted: Sat 24 Jan 2015, 18:53
by don570
Would it make sense to save the window geometry like you do in pmusic?

++++++++++++++++++++++++++++++++++++++++++++++

Posted: Sun 25 Jan 2015, 00:14
by zigbert
don570 wrote:Would it make sense to save the window geometry like you do in pmusic?

++++++++++++++++++++++++++++++++++++++++++++++
will do :)

Posted: Sun 25 Jan 2015, 00:18
by zigbert
live wrote:Feature request for pFind 5.15
* Right-click menu "open as text" or "open with Geany"
* larger default startup width
Got it :)

Posted: Mon 26 Jan 2015, 19:22
by don570
If you are re-writing the pfind interface window you should read
the Radky page HERE since it has some interesting
facts on the width of buttons and language requirements.

________________________________________________

Posted: Mon 26 Jan 2015, 22:23
by zigbert
Do you think the buttons in pFind works bad?

Posted: Mon 26 Jan 2015, 22:34
by don570
The older version of pfind had a problem with the French translation -->
the button to sort the results was too narrow to hold all the French translation.

However I haven't tried your new interface (ie SVG icons) , I'll test it.
_______________________________________________