Permalink
Browse files

doc: New sample-video, better README

  • Loading branch information...
MikeMitterer committed Aug 23, 2017
1 parent 406e9a5 commit 79f985d572985f11e1c32d7cbefdb5156a387af5
View
@@ -27,7 +27,7 @@ If you get an error message - do the following:
```
### How to use it
[![Screenshot][1])](http://www.youtube.com/watch?v=vPfl-xPTjs0)
[![Screenshot][1])](https://youtu.be/qj4W-iPKP7s)
(You have to watch it in 1080p - sorry! Better screencast will follow)
- Download the example from `samples/cmdline`
@@ -1,5 +1,21 @@
// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
/*
* Copyright (c) 2017, Michael Mitterer (office@mikemitterer.at),
* IT-Consulting and Development Limited.
*
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/// This is an awesome library. More dartdocs go here.
library cmdline;
@@ -21,6 +37,7 @@ import 'package:l10n/l10n.dart';
// This file will be generated by the framework (l10n / 'mkl10n .')
import 'package:l10n_sample_cmdline/locale/messages.dart';
part "cmdline/Application.dart";
part "cmdline/Config.dart";
part "cmdline/Options.dart";
@@ -23,6 +23,7 @@ class Config {
_overwriteSettingsWithArgResults();
}
String get configfolder => _CONFIG_FOLDER;
String get configfile => "config.yaml";
@@ -44,15 +45,13 @@ class Config {
settings[translate(l10n("Config file"))] = configfile;
settings[translate(l10n("Locale"))] = locale;
if(dirstoscan.length > 0) {
settings[translate(l10n("Dirs to scan"))] = dirstoscan.join(", ");
}
return settings;
}
void printSettings() {
int getMaxKeyLength() {
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: L 10N4Dart\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-23 11:55+0200\n"
"PO-Revision-Date: 2017-08-23 11:13+0200\n"
"POT-Creation-Date: 2017-08-23 12:52+0200\n"
"PO-Revision-Date: 2017-08-23 12:50+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
@@ -17,22 +17,25 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: lib/cmdline/Config.dart:34 lib/cmdline/Config.dart:39
#. Everything within l10n(...) will be in your .po File
#: lib/cmdline/Config.dart:41
msgid "loglevel"
msgstr ""
#: lib/cmdline/Config.dart:36 lib/cmdline/Config.dart:41
#. 'translate' will translate your ID/String
#: lib/cmdline/Config.dart:44
msgid "Config folder"
msgstr "Konfigurationsordner"
#: lib/cmdline/Config.dart:37 lib/cmdline/Config.dart:42
#: lib/cmdline/Config.dart:45
#, fuzzy
msgid "Config file"
msgstr "Konfigurationsfile"
#: lib/cmdline/Config.dart:41 lib/cmdline/Config.dart:47
msgid "Dirs to scan"
msgstr "Scan-Directories "
#: lib/cmdline/Config.dart:43
#: lib/cmdline/Config.dart:46
msgid "Locale"
msgstr ""
#: lib/cmdline/Config.dart:49
msgid "Dirs to scan"
msgstr "Scan-Directories"
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-23 11:56+0200\n"
"POT-Creation-Date: 2017-08-23 12:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,22 +17,24 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: lib/cmdline/Config.dart:34 lib/cmdline/Config.dart:39
#. Everything within l10n(...) will be in your .po File
#: lib/cmdline/Config.dart:41
msgid "loglevel"
msgstr ""
#: lib/cmdline/Config.dart:36 lib/cmdline/Config.dart:41
#. 'translate' will translate your ID/String
#: lib/cmdline/Config.dart:44
msgid "Config folder"
msgstr ""
#: lib/cmdline/Config.dart:37 lib/cmdline/Config.dart:42
#: lib/cmdline/Config.dart:45
msgid "Config file"
msgstr ""
#: lib/cmdline/Config.dart:41 lib/cmdline/Config.dart:47
msgid "Dirs to scan"
#: lib/cmdline/Config.dart:46
msgid "Locale"
msgstr ""
#: lib/cmdline/Config.dart:43
msgid "Locale"
#: lib/cmdline/Config.dart:49
msgid "Dirs to scan"
msgstr ""

0 comments on commit 79f985d

Please sign in to comment.