Changes between Version 8 and Version 9 of HowtoTranslators


Ignore:
Timestamp:
Apr 27, 2018, 4:17:30 AM (7 years ago)
Author:
Thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowtoTranslators

    v8 v9  
    5050  * As an extra bonus, if you translate later to Spanish, most of these sentences will be already made in the correct way, you just need to uncheck the ''fuzzy'' state to set it as valid one then.
    5151
     52**Meanings**
     53If you don't know what is the meaning of a sentence you can check the source code of it, most of the elive translatable sentences are plain readable files (scripts), so a command like this can be pretty useful:
     54{{{
     55~ ❯❯❯ package="eltrans" ; sentence="Result null, please make a better choice" ;   for file in $( dpkg -L "$package" | grep -vE "/(locale|doc|var/cache)/" | grep -vE "(\.desktop)" ) ; do if test -f "$file" ; then grep -Hn "$sentence" "$file" ; fi ; done
     56/usr/bin/eltrans:74:        $guitool --error --text="$( eval_gettext "Result null, please make a better choice" )"
     57}}}
     58Where you write the "package" and "sentence" variables (or keywords) and it will print on which files are found if any
     59
    5260== Control ==
    5361