messaliberty

about hulor and us

Archive for December, 2009

5 ways to do without a mouse

December 26th, 2009 post by ken

I like to use keyboard shortcuts as I am usually using a laptop.

So it’s convenient to set  up a mouse-less environment.
I know many people use [Ctrl+P][Ctrl+C][Ctrl+V] and so on.
Some people uses 「Alt+Tab」「Ctrl+Tab」「Windows button+D」as well.

Today I want to show you 5 ways to set-up a mouse-less environment that aren’t as well known.

  1. Go to top-right search box(when browsing like Firefox, IE)
  2. Go to address area (when browsing like Firefox, IE)
  3. Call up the right mouse menu without mouse
  4. Make scrolling smoother
  5. Enable clicking links with keyboard

(more…)

messa.tv JP Starts Soon!

December 22nd, 2009 post by hiro

We’ll launch a Japanese version of the tech podcast messa.tv soon.

messa.tv has been published since April 2006, and then became an English program since beginning of 2009. But finally we’ll re-start the Japanese show!

The Japanese version of messa.tv might help you if you’re interested in Japanese tech trends, culture and business. Or if you’re studying Japanese, you can watch and learn real live Japanese!

Now our English show have lots of visitors from all around the world and a few days ago we got a guest from Greece. He said he is a fan of our show!

Chris from Greece visit us

Chris from Greece visit us


Chris came from Greece to Osaka Japan to see us. Thank you so much Chris!

Anyway, we’re always welcome to your feedbacks or comments on our blogs, Twitter.

See you at the show soon!

Use curvyCorners to make rounded corners

December 21st, 2009 post by take

We use a JavaScript library called “curvyCorners” for our own sites.

curvycorners

curvycorners

This one can show beautiful rounded corners but can be a bit heavy to load each time. I’m planning to replace it with a lighter and faster one but let me describe how to use “curvyCorners”.

1. Download it form here and load it at a header area of HTML files like this:
(more…)

Next WordBench Osaka at messaliberty

December 18th, 2009 post by hiro

WordPress studying session WordBench will be held at messaliberty. Please join if you’re in Kansai area!

See more detail here: WordBench 大阪 » Blog Archive » 2010年新年会を1月31日(日)開催

Localizing dates in WordPress themes

December 15th, 2009 post by ianc
cal2

Ken's stuck in time calendar

Our theme on the English side and the Japanese side are the same.  And by that I mean, we only have one copy of the theme files that is used for both sides.  For this to work, it has to be  fully localised and independant. One thing that is quite different in the two languages is the formatting of dates.  A date like Dec 13th 2009 might be formatted as 2009年12月13日

Chapp worked from a theme that had the date formats hard coded into the theme.  As in:

<?php the_time('F jS, Y'); ?>

If we left that in, the Japanese side’s dates wouldn’t be right, but if we took out the ‘F jS, Y’ part, it defaulted to outputting the time.  As a workaround, we used:

<?php the_date(); ?>

which does fetch and use the right formatted date on both sides.  Yay! But… when WordPress generated archive pages, we found an unexpected behaviour of date().  It only outputs a certain date once.  So if two posts were written on the same day, only one post would have the date.  I think somewhere in the theme there is an ugly workaround involving an array.  But this is a better approach:

<?php the_time(get_option('date_format')); ?>

What this is doing is fetching the date format string that is set in Settings > General > Date Format and using that.  Which for the record is F jS, Y on the English side, and Y年n月j日 on the Japanese side.  I know it may sound obvious but at the time it had us scratching our collective heads.

And while not many installations will be using the same set of theme files for two or more languages at the same time (except for WordPress MU themes), localizing the theme this way lets you or your users to just set the date format in the General Settings screen.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes