From ae667a7e9ed641b4aa355b9d6754347ea2dda640 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 31 Aug 2014 09:20:21 -0400 Subject: [PATCH] Code Cleanup - Removed unused tips files, and associated references (thanks to dev-zero). --- CMakeLists.txt | 1 - ChangeLog | 1 + i18n/CMakeLists.txt | 4 --- i18n/tips.de-DE | 5 --- i18n/tips.en-US | 69 ------------------------------------ i18n/tips.es-ES | 72 ------------------------------------- i18n/tips.fr-FR | 76 ---------------------------------------- i18n/tips.it-IT | 59 ------------------------------- i18n/tips.ja-JP | 70 ------------------------------------ i18n/tips.por-PRT | 75 --------------------------------------- i18n/tips.sv-SE | 14 -------- src/commands/CmdShow.cpp | 1 - 12 files changed, 1 insertion(+), 446 deletions(-) delete mode 100644 i18n/CMakeLists.txt delete mode 100644 i18n/tips.de-DE delete mode 100644 i18n/tips.en-US delete mode 100644 i18n/tips.es-ES delete mode 100644 i18n/tips.fr-FR delete mode 100644 i18n/tips.it-IT delete mode 100644 i18n/tips.ja-JP delete mode 100644 i18n/tips.por-PRT delete mode 100644 i18n/tips.sv-SE diff --git a/CMakeLists.txt b/CMakeLists.txt index 995627497..ee72dfe01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,7 +151,6 @@ add_subdirectory (src) add_subdirectory (src/commands) add_subdirectory (src/columns) add_subdirectory (doc) -add_subdirectory (i18n) add_subdirectory (scripts) if (EXISTS ${CMAKE_SOURCE_DIR}/test) add_subdirectory (test EXCLUDE_FROM_ALL) diff --git a/ChangeLog b/ChangeLog index d73ba3acf..cf18b3c10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -176,6 +176,7 @@ - Esperanto localization (thanks to Jeremy John Reeder). - The 'total active time' information is removed from the 'info' report. This was being misinterpreted as support for time tracking. +- Removed unused tips files (thanks to dev-zero). ------ current release --------------------------- diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt deleted file mode 100644 index 28a55fc1a..000000000 --- a/i18n/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -cmake_minimum_required (VERSION 2.8) -install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${TASK_DOCDIR}/i18n - FILES_MATCHING REGEX "tips.*" - PATTERN "CMakeFiles" EXCLUDE) diff --git a/i18n/tips.de-DE b/i18n/tips.de-DE deleted file mode 100644 index 312c0b60c..000000000 --- a/i18n/tips.de-DE +++ /dev/null @@ -1,5 +0,0 @@ -% -erster Tipp -% -zweiter Tipp -% diff --git a/i18n/tips.en-US b/i18n/tips.en-US deleted file mode 100644 index 44aadd28f..000000000 --- a/i18n/tips.en-US +++ /dev/null @@ -1,69 +0,0 @@ -% -For bash users, try 'alias t=task' to save some keystrokes. -% -Have you tried 'task 1 edit' to use your text editor to modify all aspects of -task 1? -% -Did you know that 'task 1 wait:eom' will hide task 1 until the end of the -month? You can then see all waiting tasks with 'task waiting'. -% -Did you know that 'task 1 wait:' will restore a waiting task to pending status? -% -If you put 'default.command=list project:home' in your .taskrc file, then just -running 'task' will automatically run 'task list project:home' for you. Save -some keystrokes! -% -If you edit your pending.data file, make sure that your text editor doesn't -strip the trailing \n characters from the end of the file. -% -If you must edit your pending.data file, make sure that your text editor doesn't -convert from a Unix to a DOS file encoding. -% -Do you have the latest version of task installed? Check http://taskwarrior.org -periodically for news of updates. That feature you wanted might be ready... -% -Don't forget the online docs at http://taskwarrior.org/wiki/taskwarrior, and if -you find errors, please let us know. Then again, it is a wiki, so feel free to -correct them yourself. -% -Don't forget the online docs at http://taskwarrior.org/wiki/taskwarrior, but if -you cannot find documentation on a particular topic, either create a ticket -requesting it, email support@taskwarrior.org asking for it, or start it -yourself. -% -Did you know there are man pages for task? Try 'man task', 'man taskrc', -'man task-color' and 'man task-sync'. -% -Did you know there are several 256-color themes available for task? -% -Did you know that running 'task show' will perform various checks on your -.taskrc file, looking for errors? -% -Are you making the most of color? Try 'task color' to see what colors your -system supports. -% -Are you using projects? If you do, taskwarrior will keep track of the project -completion percentage and report it to you whenever it changes. -% -Did you know you can list tasks that have priorities like 'task list -priority.above:L'? -% -The http://tasktools.org/latest URL can tell you which is the latest version. -% -To make your task list clear and actionable, always describe it starting with a -verb, like "call" or "clean" or "get". -% -Don't like the name of a command? Create an alias. -% -You can choose whether your searches are case sensitive or not, by running -'task config search.case.sensitive yes' -% -Back up your data files by making copies of the ~/.taskrc file and ~/.task -directory. -% -Accidentally changed a task? The undo command makes it a breeze to recover from -any inadvertent change -- even a deletion! -% -Want to see a list of all changes you have made to a task? The info report will -display a complete change history. -% diff --git a/i18n/tips.es-ES b/i18n/tips.es-ES deleted file mode 100644 index 9772f3321..000000000 --- a/i18n/tips.es-ES +++ /dev/null @@ -1,72 +0,0 @@ -% -Para usuarios de bash, pruebe 'alias t=task' para ahorrarse algo de tecleo. -% -¿Ha probado 'task 1 edit', que permite usar su editor para modificar cualquier -aspecto de la tarea 1? -% -¿Sabía que 'task 1 wait:eom' ocultará la tarea 1 hasta final de mes? Puede ver -todas las tareas en espera con 'task waiting'. -% -¿Sabía que 'task 1 wait:' restaurará el estatus de una tarea en espera a -pendiente? -% -Si pone 'default.command=list project:home' en su fichero .taskrc, lanzando -simplemente 'task' se ejecutará automáticamente 'task list project:home'. -¡Ahorre algo de tecleo! -% -Si edita su fichero pending.data asegúrese de que su editor no elimina los -caracteres \n al final del archivo. -% -Si tiene que editar su fichero pending.data asegúrese de que su editor no -transforma la codificación Unix en DOS. -% -¿Tiene instalada la última versión de task? Compruebe http://taskwarrior.org -periódicamente en busca de noticias y actualizaciones. Esa característica que -quería puede estar lista... -% -No olvide la documentación en línea en http://taskwarrior.org/wiki/taskwarrior, -y si encuentra errores, por favor, háganoslo saber. Por otra parte, se trata de -una wiki, así que siéntase libre de corregirlos usted mismo. -% -No olvide la documentación en línea en http://taskwarrior.org/wiki/taskwarrior, -pero si no puede encontrar información sobre algo en particular, cree un ticket -solicitándola, escriba a support@taskwarrior.org pidiéndola o empiécela usted -mismo. -% -¿Sabía que hay páginas de manual para task? Pruebe 'man task', 'man taskrc', -'man task-sync', y 'man task-color'. -% -¿Sabía que hay varios temas en 256 colores disponibles para task? -% -¿Sabía que al ejecutar 'task show' se llevarán a cabo varias comprobaciones -en su fichero .taskrc, buscando errores? -% -¿Está sacando lo mejor del color? Pruebe 'task color' para ver que colores -soporta su sistema. -% -¿Está usando proyectos? Si lo hace, taskwarrior hará un seguimiento del -porcentaje de finalización del proyecto y le informará cada vez que cambie. -% -¿Sabía que puede listar las tareas que tienen prioridad, como 'task list -priority.above:L'? -% -El URL http://tasktools.org/latest puede decirle cual es la versión mas -reciente. -% -Para que las tareas en su lista sean claras y aplicables, descríbalas siempre -con un verbo al principio, como "llamar" o "limpiar" o "conseguir". -% -¿No le gusta el nombre de un comando? Cree un alias. -% -Puede elegir si sus búsquedas son sensibles a la diferencia entre mayúsculas y -minúsculas o no, ejecutando 'task config search.case.sensitive yes' . -% -Resguarde sus ficheros de datos haciendo copias del archivo ~/.taskrc y del -directorio ~/.task . -% -¿Ha cambiado una tarea sin querer? El comando undo hace inmediato recuperarse -de cualquier cambio no deseado -- ¡incluso un borrado! -% -¿Quiere ver una lista de todos los cambios que a hecho en una tarea? El informe -info mostrará una historia completa de cambios. -% diff --git a/i18n/tips.fr-FR b/i18n/tips.fr-FR deleted file mode 100644 index a762717c8..000000000 --- a/i18n/tips.fr-FR +++ /dev/null @@ -1,76 +0,0 @@ -% -Si vous utilisez bash, essayez 'alias t=task' pour économiser quelques -frappes de clavier. -% -Avez-vous essayé 'task 1 edit' pour modifier n'importe quel aspect de -la tâche 1 à l'aide de votre éditeur de texte ? -% -Saviez-vous que 'task 1 wait:eom' permet de masquer la tâche 1 jusqu'à -la fin du mois ? Vous pouvez alors voir toutes les tâches différées -avec 'task waiting'. -% -Saviez-vous que 'task 1 wait:' permet de restaurer une tâche de l'état -différée à imminente ? -% -Si vous avez mis 'default.command=list project:maison' dans votre -fichier .taskrc, alors quand vous exécuterez la commande 'task' seule, -cela exécutera automatiquement 'task list project:maison' pour vous. -Épargnez vous quelques frappes de clavier ! -% -Si vous modifiez votre fichier pending.data, faites attention à ce que -votre éditeur de texte ne supprime les caractères \n situés à la fin. -% -Si vous modifiez votre fichier pending.data, faites attention à ce que -votre éditeur de texte ne change pas son encodage de Unix à DOS. -% -Avez-vous la dernière version de task installée ? Suivez les annonces -de nouvelles versions à http://taskwarrior.org. La fonctionnalité -que vous voulez est peut-être disponible... -% -N'oubliez pas les documentations en ligne à -http://taskwarrior.org/wiki/taskwarrior, et si vous trouvez des -erreurs, faites le nous savoir s'il vous plaît. Encore une fois, -c'est un wiki, alors n'hésitez pas à corriger par vous-même. -% -N'oubliez pas les documentations en ligne à -http://taskwarrior.org/wiki/taskwarrior, mais si vous ne trouvez pas -de documentation sur un sujet particulier, vous pouvez soit créer un -ticket pour en demander, soit la demander à supporte@taskwarrior.org -ou encore commencer à l'écrire vous-même. -% -Saviez-vous qu'il y a des pages man pour task ? Essayez 'man task', -'man taskrc', 'man task-sync' et 'man task-color'. -% -Saviez-vous qu'il y a de nombreux jeux de couleurs disponibles pour -task ? -% -Saviez-vous que 'task show' permet de vérifier votre fichier .taskrc ? -% -Vous êtes sensible aux couleurs ? Essayez 'task color' pour voir les -couleurs supportées par votre système. -% -Vous fonctionnez par projets ? task tient à jour un pourcentage -d'accomplissement de chaque projet et vous prévient quand il change. -% -Saviez-vous que vous pouvez lister les tâches ayant une certaine -priorité avec 'task list priority.above:L' ? -% -L'URL http://tasktools.org/latest vous indique la dernière version de task. -% -Pour rendre vos tâches claires et plus concrètes, décrivez les -toujours en commençant par un verbe, comme "appeler" ou "écrire". -% -Vous n'aimez pas le nom d'une commande ? Créez un alias ! -% -Vous voulez que vos recherches soient insensibles à la casse ? -Exécutez la commande 'task config search.case.sensitive no' -% -Sauvegardez vos données en copiant le fichier ~/.taskrc et le -répertoire ~/.task ! -% -Vous avez accidentellement modifié une tâche ? La commande 'undo' -vous permet d'annuler tout changement, même une suppression de tâche. -% -Vous voulez voir une liste des changements que vous avez fait à vos -tâches ? La commande 'info' vous affichera un historique complet. -% diff --git a/i18n/tips.it-IT b/i18n/tips.it-IT deleted file mode 100644 index aaa8e77fe..000000000 --- a/i18n/tips.it-IT +++ /dev/null @@ -1,59 +0,0 @@ -% -Se usi bash, puoi digitare qualche carattere in meno con 'alias t=task'. -% -Hai provato 'task 1 edit' per modificare tutti gli aspetti del task 1 con il tuo -editor preferito! -% -Lo sapevi che con 'task 1 wait:eom' puoi nascondere il task 1 fino alla fine del -mese? Per listare tutti i task in attesa, usa 'task waiting'. -% -Lo sapevi che con 'task 1 wait:' puoi togliere un task dallo stato di attesa? -% -Se aggiungi la linea 'default.command=list project:home' al tuo file .taskrc, -invocando 'task' invocherà automaticamente 'task list project:home' per te. -Digita qualche carattere in meno! -% -Se editi il tuo file pending.data manualmente, assicurati che il tuo editor non -rimuova il carattere \n alla fine del file. -% -Sei sicuro che la versione di task installata sia la più recente? Controlla -periodicamente http://taskwarrior.org per novità e aggiornamenti: la -funzionalità che aspettavi potrebbe essere pronta! -% -Non dimenticarti della documentazione online su -http://taskwarrior.org/wiki/taskwarrior. Se trovi degli errori, puoi -comunicarcelo o correggerli da te: è una wiki! -% -Lo sapevi che esistono le pagine del manuale di task? Prova con 'man task', 'man -taskrc', 'man task-sync' e 'man task-color'. -% -Lo sapevi che ci sono svariati temi a 256 colori disponibili per task? -% -Lo sapevi che invocando 'task show' vengono eseguiti svariati controlli sul tuo -file .taskrc e che alla fine viene presentato un report con gli errori? -% -Stai sfruttando al massimo i colori a tua disposizione? Prova ad invocare 'task -color' per vedere i colori supportati dal tuo sistema. -% -Usi la funzionalità di task legata ai progetti? Se sì, taskwarrior tiene traccia -del livello di completamento dei tuoi progetti e te lo notifica quando cambia. -% -Lo sapevi che puoi listare i tasks prioritari con un comando come 'task list -priority.above:L'? -% -Hai la versione più aggiornata? Controllalo su http://tasktools.org/latest! -% -In una lista di task chiara e concisa le azioni iniziano sempre con un verbo, -come "chiama", "pulisci", o "compera". -% -Non ti piace il nome di un comando? Crea un alias! -% -Puoi scegliere se le tue ricerche devono essere portate a termine in modo -case-sensitive o meno, invocando 'task config search.case.sensitive [yes|no]' -% -Per fare un backup completo dei tuoi task è sufficiente fare una copia del file -~/.taskrc e della directory ~/.task. -% -Hai modificato accidentalmente un task? Con il comando 'undo' è facile -ripristinare un task -- anche dopo una cancellazione! -% diff --git a/i18n/tips.ja-JP b/i18n/tips.ja-JP deleted file mode 100644 index 23d39e5b1..000000000 --- a/i18n/tips.ja-JP +++ /dev/null @@ -1,70 +0,0 @@ -% -bashユーザーなら、'alias t=task'としてキー入力を減らしてみてください。 -% -'task 1 edit'とすると、タスク1のあらゆる要素をテキストエディタで編集 -できます。試してみましたか? -% -'task 1 wait:eom'とすると、月末までタスク1を隠す(待機させる)ことが -できます。「待機」させたタスクは、'task waiting'で表示できます。 -% -'task 1 wait:'で、待機状態のタスクを pending ステータスに変更できます。 -% -設定ファイル .taskrc に 'default.command=list project:home' と書くと、 -単に 'task' を実行するだけで、自動的に 'task list project:home' した -のと同じことになります。これでキー入力数を減らせますね! -% -もしpending.dataファイルを編集するなら、テキストエディタにファイル -末尾にある、連続した \n 文字を勝手に削除させないようにしてください。 -% -もしpending.dataファイルを編集するなら、テキストエディタが改行 -文字を勝手にUnixスタイルからDOSスタイルに変更しないように設定 -してください。 -% -お使いのtaskは最新版ですか?  http://taskwarrior.org/を定期的に -確認し、アップデート情報を確認してください。この機能はいずれ実装 -されるかもしれません……。 -% -オンラインにあるドキュメント http://taskwarrior.org/wiki/taskwarrior -をお忘れなく。もし間違いを見つけたらお知らせください。ただ、これは -wikiなので、ご自身で直して頂くことも可能です。 -% -オンラインにあるドキュメント http://taskwarrior.org/wiki/taskwarrior -をお忘れなく。ただ、必要な情報が見つからないかもしれません。そうした -場合は、チケットでリクエストするか、support@taskwarrior.org にeメール -で相談してください。 -% -taskにはmanページがあります。'man task'、'man taskrc'、 -'man task-turorial'、'man task-color' が利用できます。 -% -taskでは256色の色表示が可能です。ご存じでしたか? -% -'task show'を使っていますか? これを使うことで、お使いの .taskrc -ファイルに問題がないかを、様々な形でチェックできます。 -% -もっと多くの色を利用したいですか? 'task color'を試してください。 -システム上でサポートされている各種カラー指定を表示します。 -% -プロジェクト機能を使っていますか? これを使えば、taskwarriorによる -進捗率管理や、レポートを随時確認することができます。 -% -一定の優先度のタスクのみ表示する場合、次のようにしてください。 -'task list priority.above:L'? -% -http://tasktools.org/latest というURLに、最新版が準備されています。 -% -タスクリストを明確かつ「するべきこと」が分かるようにするために、 -動詞から書き出しましょう。「電話をかける:どこどこへ」「整理する」 -「調べる」といった形で。 -% -コマンドの名前が気に入らない? エイリアスを設定しましょう。 -% -検索時、大文字小文字を区別するかどうかは任意に指定できます。 -'task config search.case.sensitive yes'で区別できます。 -% -データファイルのバックアップを行う場合、~/.taskrcファイルと、 -~/.task ディレクトリを対象にしてください。 -% -間違えてタスクを変更してしまったら? undoコマンドを使うことで、 -あらゆる操作を一つ前に戻すことができます。もちろん削除もです! -% - diff --git a/i18n/tips.por-PRT b/i18n/tips.por-PRT deleted file mode 100644 index de4f39d19..000000000 --- a/i18n/tips.por-PRT +++ /dev/null @@ -1,75 +0,0 @@ -% -Se é utilizador da shell bash, use 'alias t=task' para reduzir o número de -teclas a usar. -% -Já experimentou 'task 1 edit' para usar o seu editor de texto e modificar -detalhes da tarefa 1? -% -Sabia que o comando 'task 1 wait:eom' irá esconder a tarefa 1 até ao fim do -mês? Pode consultar todas as tarefas em espera com 'task waiting'. -% -Sabia que o comando 'task 1 wait:' irá restaurar uma tarefa em espera para o -estado pendente? -% -Se adicionar 'default.command=list project:home' ao seu ficheiro .taskrc, da -próxima vez que executar o comando 'task' será automaticamente transformado em -'task list project:home'. Poupe algumas teclas. -% -Se editar o ficheiro pending.data, certifique-se que o seu editor de texto não -remove os caracteres \n do fim do ficheiro. -% -Se editar o ficheiro pending.data, certifique-se que o seu editor de texto não -converte o ficheiro de codificação Unix para DOS. -% -Tem a última versão do taswarrior instalado? Visite http://taskwarrior.org -periodicamente para notícias e atualizações. Aquela funcionalidade que tanto -deseja pode já estar disponível... -% -Não se esqueça da documentação online: http://taskwarrior.org/wiki/taskwarrior, -e se encontrar erros, por favor informe-nos. Por outro lado, a documentação é -um wiki, por isso sinta-se à vontade para os corrigir você mesmo. -% -Não se esqueça da documentação online: http://taskwarrior.org/wiki/taskwarrior, -mas se não conseguir encontrar informação num determinado tópico, abra uma -tarefa com o pedido, envie um email para support@taskwarrior.org ou crie o -tópico você mesmo. -% -Sabia que existem "man pages" para o task? Experimente 'man task', 'man taskrc', -'man task-sync' e 'man task-color'. -% -Sabia que há vários temas de 256 cores disponíveis para o task? -% -Sabia que ao executar 'task show' várias verificações serão feitas no ficheiro -.taskrc a fim de identificar erros? -% -Está a tirar o maior partido das cores? Experimente 'task color' para -identificar as cores que o seu sistema suporta. -% -Está a usar projetos? Se usar, o taskwarrior irá manter registo da percentagem -de conclusão do projeto e irá reportar quando esta muda. -% -Sabia que pode listar tarefas que tenham prioridades usando comandos como 'task -list priority.above:L'? -% -O endereço http://tasktools.org/latest indica-lhe qual a versão mais recente -disponível. -% -Para tornar a sua lista de tarefas mais clara e fácil de concluir, descreva as -suas tarefas começando com um verbo, por exemplo: "Escrever", "Fazer", -"Comprar". -% -Não gosta do nome do comando? Crie uma alcunha (alias). -% -Pode escolher se as suas pesquisas são sensíveis a maiúsculas/minúsculas -configurando 'task config search.case.sensitive yes' -% -Pode fazer uma cópia de segurança das suas tarefas copiando o ficheiro .taskrc -e o diretório ~/.task. -% -Fez uma mudança acidental a uma tarefa? Use o comando 'task undo' para voltar -atrás. Pode retroceder qualquer mudança até mesmo se eliminou uma tarefa! -% -Quer ver todas as modificações que fez a uma tarefa? O comando 'info' permite -mostrar todos os detalhes de uma ou mais tarefas, incluindo o histórico de -alterações. -% diff --git a/i18n/tips.sv-SE b/i18n/tips.sv-SE deleted file mode 100644 index 6865fd0f5..000000000 --- a/i18n/tips.sv-SE +++ /dev/null @@ -1,14 +0,0 @@ -% -För bash användare, med 'alias t=task' kan du spara på nedslagningar på tangentbordet. -% -Har du försökt att använda 'task 1 edit' för att ändra alla aspekter av task 1 i din texteditor? -% -Med 'task 1 wait:eom' kan du göma task 1 fram till slutet av månaden. För att se -alla task som väntar kan du använda 'task waiting'. -% -Visste du att 'task 1 wait:' återställa en väntande task till "peding" igen? -% -Skriv 'default.command=list project:home' i din .taskrc fil. När du sen använder -'task' körs det en 'task list project:home' istäälet för dig. Spara på nedslagningar -på tangetbordet. -% diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index dd08128b7..954523be6 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -342,7 +342,6 @@ int CmdShow::execute (std::string& output) // TODO Check for referenced but missing theme files. // TODO Check for referenced but missing string files. - // TODO Check for referenced but missing tips files. // Check for bad values in rc.calendar.details. std::string calendardetails = context.config.get ("calendar.details");