Сегодня 1 декабря, воскресенье ГлавнаяНовостиО проектеЛичный кабинетПомощьКонтакты Сделать стартовойКарта сайтаНаписать администрации
Поиск по сайту
 
Ваше мнение
Какой рейтинг вас больше интересует?
 
 
 
 
 
Проголосовало: 7276
Кнопка
BlogRider.ru - Каталог блогов Рунета
получить код
Kir Kolyshkin
Kir Kolyshkin
Голосов: 1
Адрес блога: http://k001.livejournal.com/
Добавлен: 2008-02-19 12:45:30 блограйдером Lurk
 

changelog fun

2011-03-23 15:45:11 (читать в оригинале)

Sometimes there are interesting and entertaining comments in the commit logs, emails etc. Below comments are taken from CyanogenMod Gerrit (their patch review system) changeset #4088. To be honest, it took me quite some time to find some american-specific generic alcohol drink -- and I am proud that I solved it!

Kir Kolyshkin
English translation: assorted cleanups
(changelog skipped)


Sven Dawitz
woot! adding a german to english cleanup (: i only know about bratwurst and hefeweizen.

looking good though. not to end summarys with a dot is the right style - nice someone looked over the nearly endless strings.xml


Kir Kolyshkin
Oh yeah, here's the story of an English* localization cleanup:

- a Russian (pirozhki and vodka) guy submitted it, then
- a German (bratwurst and hefeweizen) guy reviewed it, then
- an American (hotdog and applejack) guy merged it, while
- no English (fish and chips and ale) guys were involved.
* (I am aware that this is in fact American English strings)


2011-03-22 14:07:43 (читать в оригинале)

I switched locale of my Google Nexus One phone (running CyanogenMod 7) to Russian in order to try Google Navigation a couple of days ago. I am usually using English as the words are smaller than in Russian (so you can see more on the screen) and generally English tends to be the «first-class» language for developers.

Last night I woke up at about 2am and went to kitchen to grab a bite, and used my phone to see something (I don't remember). I noticed a couple of very bad bugs in Russian translation, and was in a mood to immediately fix it.

In a couple of hours I had CyanogenMod repository checked out on my laptop and Gerrit (the code review system they use) account created. Some more time was needed to figure out how to specify a different user name for Gerrit than then one I use in email.

Then I invested some time into biting the bugs out of Russian localization. I started with CMParts and was using English strings as a reference. Apparently, English version was also a bit buggy, so I ended up with a patch for it as well.

I went to bed at 8am having three patches submitted and one half-ready. I finished it when I woke up at 10am. Here they are (in Gerrit for review):
[CMParts] English translation: assorted cleanups
[CMParts] Russian translation: misc fixes
[CMParts] Translations: remove unused strings
[apps_Mms] Improved Russian translation

I am ashamed by the quality of Russian localization. Terrible examples include «localization» of smileys, like having :-П instead of :-P, absence of punctuation, plain typos (like a missing or wrong character: "папкет" (пакет), "отключенно" (отключено), "Настроки" (Настройки) etc.) and just weird phrasing ("т.к. она является по умолчанию").

cm translation tips and tricks

2011-03-22 10:57:21 (читать в оригинале)

# Remove an (unused) string from translations (check the result with git diff!):

STR="widget_max_buttons"; for f in $(grep -rlwF $STR *); do sed -i "/$STR/d" $f; done

# Find out what strings are missing from the (ru) translation (compared to English one)
# Strings that start with - are to be removed, with + are to be added.

fgrep '<string name="' res/values/strings.xml | \
fgrep -v 'translatable="false"' | \
sed 's/^[^"]*"\([^"]*\)".*$/\1/' | sort > en
fgrep '<string name="' res/values-ru/strings.xml |
fgrep -v 'translatable="false"' | \
sed 's/^[^"]*"\([^"]*\)".*$/\1/' | sort > ru
diff -U 0 ru en | grep '^[+-][^+-]'


Google Nexus One radio image vs AT&T 3G

2011-03-16 01:34:14 (читать в оригинале)

I am mostly using my Nexus One here in Moscow, Russia, and have "Use only 2G networks" option turned on in Settings / Wireless & networks / Mobile networks for two reasons: first, it really improves battery life, second, my data plan is 220 RUR (about $8) per month flat rate unlimited, but shaped down to not exceed 128 kbps (so anything faster than EDGE won't improve my Internet speed. It perfectly suits my mobile needs (email, browsing, gtalk, Yandex and Google maps for traffic info and navigation, occasional photo upload), for everything else I have Wi-Fi in the office and at home.

So when updating my N1 to an alpha build of CyanogenMod 7 I flashed the latest radio firmware, version 5.12.00.08 (also known as Korean) and was happy with it. Until the day I came to US (for SCaLE) and started using my US number (naturally, by replacing my SIM card with a corporate AT&T SIM). I found out three things:

1. GPRS/EDGE from AT&T is crappy, it's barely working (at least in the areas I've been to, like LAX).

2. AT&T 3G is not working at all with this radio (version 5.12.00.08).

3. I am not able to flash the earlier radio image (version 5.08.00.04) using current ClockworkMod Recovery, version 3.0.0.5 (they dropped support for some old-style update scripts format which radio images are apparently using). I tried getting radio image from a couple of different sources (xda-developers, cyanogenmod wiki) to no avail.

So, I was aware what exactly the problem was, but didn't have enough time (or will) to solve it while in the USA.

I solved it tonight in 10 minutes, using nothing else than the phone (ie no need for a PC). Here's how (assuming you are using ROM Manager).

1. Go to ROM Manager, choose "Install alternative recovery (RA v2.2.1)". This will replace CWM 3 with Amon_RA 2 which understands old update scripts.

2. Repeat step 1 one more time (for some reason flashing for the first time lead to non-working recovery, although there's no error or warning). Do not worry, just flash it again.

3. Choose "Install ROM from SD card" and navigate to your downloaded radio image (my was in /sdcard/download). Ignore the warning about not using CWM.

4. Phone will reboot, flash, reboot, do something, reboot. If you will find yourself in some scary text-only menu, just select the "reboot" (following the on-screen instructions about how to select it).

5. Go to Settings / About, check the number under "Baseband version", it should be what you've just flashed.

6. Go to ROM Manager, select "Flash ClockworkMod recovery" to return back to CWM. You might need to do it twice, too, as in step 2.

Links to radio images:
* http://wiki.cyanogenmod.com/index.php?title=Nexus_One:_Full_Update_Guide#Flashing_Radio
* http://forum.xda-developers.com/showthread.php?t=723839

Hope that helps.

Posted via LjBeetle

me myself

2011-03-14 17:08:28 (читать в оригинале)

Внезапно фотку себя 2005 года.

From Me


Страницы: ... 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 

 


Самый-самый блог
Блогер Рыбалка
Рыбалка
по среднему баллу (5.00) в категории «Спорт»


Загрузка...Загрузка...
BlogRider.ru не имеет отношения к публикуемым в записях блогов материалам. Все записи
взяты из открытых общедоступных источников и являются собственностью их авторов.