Giant refactorizing for localization

It is me again, I rewrote almost every layouts in order to have localization.

I tried not to broke anything, but it is pretty hard to confirm that even if this should be fine.

I removed almost every hard coded strings which have no parameters. Application is thus almost fully translatable to other languages.

If this PR is merged, something about **stop hard-coding texts** in the guide lines would be great ;-)
fair enough (translatable)

but atleast I find original names easier to know what they meant:
txt_elapsed_h, txt_elapsed_m, txt_elapsed_min and txt_elapsed_s
txt_distance_km, txt_distance_kilometers...etc...etc

metrics_m is that minutes or meters ?

how about metrics_elapsed_h, metrics_distance_km... ???
wdyt ?

/Jonas


On Mon, Nov 3, 2014 at 12:08 AM, Gautier Pelloux-Prayer <
notifications@github.com> wrote:

> In app/res/values/strings.xml:
>
> > -  <!--Default text for fields that are programmatically overwritten.-->
> > -  <string name="placeholder_txt">placeholder</string>
> > -  <string name="placeholder_time_txt">32:57</string>
> > -  <string name="placeholder_distance_txt">8.34</string>
> > -  <string name="placeholder_pace_txt">4:34</string>
> > -  <string name="placeholder_battery_level_txt">Battery: unknown</string>
> > +  <string name="app_name">"RunnerUp"</string>
> > +
> > +  <!-- metrics stuff -->
> > +  <string name="kilometer">"kilometer"</string>
> > +  <string name="kilometers">"kilometers"</string>
> > +  <string name="mile">"mile"</string>
> > +  <string name="miles">"miles"</string>
> > +  <string name="meter">"meter"</string>
> > +  <string name="meters">"meters"</string>
> > +  <string name="metrics_kilometers">"km"</string>
>
> now, I personally think that they must be localized: abbreviations are
> language dependent. I moved them to metrics_.. syntax because i wanted
> them to be easily recognizable. Otherwise they ID name would be
> incomprehensible: R.strings.m would mean "meters abbreviation".. who
> would guess that?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jonasoreland/runnerup/pull/116/files#r19716060>.
>