View Single Post
Old 01-26-2012, 07:38 PM   #178
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
However, I took a look at the output, and it's pretty much what I expected. Most of the Strings I listed in the announcement are wrongly translated. (There are a few innocent ones, like "OK" or "International" as well). It's probably not a bad idea to generate an informative list of "do-not-translate" properties. However, it will unfortunately be of limited usefulness, because translators do not see the property names on Transifex, only the values.
There is a way to see property names on Transifex. In "General Settings" you should choose "Verbose editing".
Click image for larger version

Name:	hint.png
Views:	261
Size:	52.6 KB
ID:	81744Click image for larger version

Name:	hinttoo.png
Views:	252
Size:	49.3 KB
ID:	81745

Or just use this bookmarklet:
Code:
javascript:(function(){var cb=$('#toggle_verbose'), p=$('.source_entity');if(cb.attr('checked')){cb.attr('checked',false);p.hide()}else{cb.attr('checked',true);p.show()};})();
Quote:
Originally Posted by ixtab View Post
Also, thanks for your offer of the 5.0.0 files, but I'd think that this might lead to even more trouble. I'll just stick with 5.0.1 for the time being. Maybe if I'm feeling adventurous someday, I just try to install 5.0.3. Does a failed update give any information (in the log or so) about *which* files it complained about?
Yes. You could see it in 5.0.3 update script:
Spoiler:
Code:
source /etc/upstart/functions

logmsg()
{
    f_log $1 ota_install $2 "$3" "$4"
}

perform_patches()
{
  logmsg "I" "patch" "patchinfo=\"/bin/busybox\"" "patching file"

  mkdir -p "patch/bin/"
  bspatch "/bin/busybox" "patch/bin/busybox" "000.busybox.patch"
  if [ $? -ne 0 ]; then
    logmsg "C" "patch" "patchinfo=\"/bin/busybox\"" "patch failure"
    return 1
  fi

  _PATCH_MD5=`md5sum "patch/bin/busybox" | awk '{ print $1; }'`
  _EXPECTED_MD5=26ec0ba302a8066a6efea14d5e19cf1c
  if [ ! "${_PATCH_MD5}" = "${_EXPECTED_MD5}" ]; then
    logmsg "C" "patch" "patchinfo=\"/bin/busybox\"" "checksum failure"

    _CURRENT_MD5=`md5sum "/bin/busybox" | awk '{ print $1; }'`
    logmsg "I" "patch" "current_md5=${_CURRENT_MD5},expected_md5=${_EXPECTED_MD5},patch_md5=${_PATCH_MD5}" "checksum verify"

    return 1
  fi

  # ...skipped...
}

Quote:
Originally Posted by ixtab View Post
Nope. Finds no languages. Well, I did look inside it, and I think your glob is wrong ("*/*.properties")?

Here's what the directory structure actually looks like:
Code:
$ find . -name "*.properties"|grep en_US|head -n 1
./src/5.0.0/framework/com/amazon/ebook/util/resources/StringUtilResources_en_US.properties
I think JustAMan didn't used our .tx/config and just pulled whole project...
eureka is offline   Reply With Quote