Settings: Simplified Chinese Translations

Updated translations and reorganized all CM strings into cm_arrays.xml
and cm_strings.xml respectively.

Patch Set 2: Made the changes suggested by Engle Mars, as well as
deleted all comments as per the new translation policy. Also added some
new strings.

Patch Set 3: Updated with new suggestions and strings.

Change-Id: I03cdf2864a3f17b9a7fcc48d6d4acab0e684ba30
Fix dialog not opening for app-specific notification light settings.

Change-Id: I8e8d098bcc07824803b9e9931595f5c4fdbabb7b
Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
Merge "Fix NullPointerException at RunningState" into cm-10.1
Merge "Check if the Activity is finishing before showDialog()" into cm-10.1
Settings: Norwegian translation

I open for suggestions. Just put it as a comment.
Thanks in advance.

Patch set 2: Fixed some typos

Change-Id: I54ea1b7495fcf949007ddecd60ae7cebd990ba96
Settings: Fix aapt warnings

Change-Id: Idfbbbd447d4414e9bbc8d9d22cadf0b10d3ee684
WLAN configuration (static address): reject IPv6 addresses.

Without this, entering an IPv6 address as the interface address (or possibly
also others, such as gateway address) will, on connection to that WLAN,
trigger an uncaught exception:

*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported'
	at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546)
	at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449)
	at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958)
[etc.]

followed by a restart of the UI then another connection attempt. So long as
the misconfigured-for AP is present (and preferred?), this will continue to
happen.

Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
Update German translation.

Refactor to cm_*.xml and add missing strings.

Change-Id: I8613417445e2e8e0cf8441ae1caddb93d73dedd3
Merge "Settings: Simplified Chinese Translations" into cm-10.1
Fix dialog not opening for app-specific notification light settings.

Change-Id: I8e8d098bcc07824803b9e9931595f5c4fdbabb7b
Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
Settings: Norwegian translation

I open for suggestions. Just put it as a comment.
Thanks in advance.

Patch set 2: Fixed some typos

Change-Id: I54ea1b7495fcf949007ddecd60ae7cebd990ba96
Settings: Fix aapt warnings

Change-Id: Idfbbbd447d4414e9bbc8d9d22cadf0b10d3ee684
WLAN configuration (static address): reject IPv6 addresses.

Without this, entering an IPv6 address as the interface address (or possibly
also others, such as gateway address) will, on connection to that WLAN,
trigger an uncaught exception:

*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported'
	at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546)
	at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449)
	at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958)
[etc.]

followed by a restart of the UI then another connection attempt. So long as
the misconfigured-for AP is present (and preferred?), this will continue to
happen.

Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Settings into linaro

Conflicts:
	res/values-de/arrays.xml
	res/values-de/strings.xml

Change-Id: Ia5eff7cb5582b17f618cc20d845adf1f46625ac0