Compare commits

..

No commits in common. "master" and "edi-0.8" have entirely different histories.

28 changed files with 270 additions and 3480 deletions

View File

@ -6,9 +6,10 @@ skeleton_names = ['eflproject', 'eflproject_python']
foreach skeleton_name : skeleton_names
custom_target('skeleton ' + skeleton_name,
command : [tar, 'zcf', '@OUTPUT@', '-C',
command : [tar, 'zcf', '@OUTPUT@', '-C',
join_paths(meson.source_root(), 'data', 'extra', 'templates', 'skeletons'),
skeleton_name],
input : join_paths('skeletons', skeleton_name),
output : skeleton_name + '.tar.gz',
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates'),
install : true,

View File

@ -1,6 +1,6 @@
project(
'edi', 'c',
version : '0.8.99',
version : '0.8.0',
default_options: [ 'c_std=gnu99', 'warning_level=2' ],
meson_version : '>= 0.50.0')
@ -23,7 +23,7 @@ config_h.set_quoted('PACKAGE_DOC_DIR', join_paths(get_option('prefix'), get_opti
config_h.set_quoted('EFL_BETA_API_SUPPORT' , '1')
elm = dependency('elementary', version : '>=1.24.0')
elm = dependency('elementary', version : '>=1.23.99')
top_inc = include_directories('.')
host_os = host_machine.system()

View File

@ -1,3 +0,0 @@
fr
it
ka

892
po/fr.po
View File

@ -1,892 +0,0 @@
# French translation for Edi.
# This file is distributed under the same license as the edi package.
# similar <similar@orange.fr>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: edi\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2017-12-23 21:59+0000\n"
"PO-Revision-Date: 2022-01-02 17:05+0100\n"
"Last-Translator: Philippe Jean Guillaumie <similar@orange.fr>\n"
"Language-Team: French\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.0.1\n"
#: src/bin/mainview/edi_mainview.c:574
#: src/bin/mainview/edi_mainview_panel.c:584 src/bin/screens/edi_screens.c:121
#: src/bin/screens/edi_screens.c:162 src/bin/screens/edi_welcome.c:79
#: src/bin/screens/edi_file_screens.c:29 src/bin/edi_scm_ui.c:105
msgid "OK"
msgstr "OK"
#: src/bin/mainview/edi_mainview.c:601
msgid "Please enter a valid search term."
msgstr "Entrez un terme de recherche valide."
#: src/bin/mainview/edi_mainview.c:635
msgid "Search for (whole project)"
msgstr "Rechercher (projet entier)"
#: src/bin/mainview/edi_mainview.c:641
msgid "Please enter a term to search for within<br> the whole project.<br>"
msgstr "Entrez un terme pour la recherche dans<br>l'ensemble du projet.<br>"
#: src/bin/mainview/edi_mainview.c:663 src/bin/mainview/edi_mainview.c:772
#: src/bin/mainview/edi_mainview_panel.c:850
#: src/bin/editor/edi_editor_search.c:531
#: src/bin/screens/edi_file_screens.c:232
#: src/bin/screens/edi_file_screens.c:293
#: src/bin/screens/edi_file_screens.c:354 src/bin/edi_scm_ui.c:874
msgid "Cancel"
msgstr "Annuler"
#: src/bin/mainview/edi_mainview.c:669 src/bin/mainview/edi_mainview.c:740
#: src/bin/editor/edi_editor_search.c:515 src/bin/edi_main.c:432
msgid "Search"
msgstr "Rechercher"
#: src/bin/mainview/edi_mainview.c:689
msgid "Please enter a valid search string."
msgstr "Entrez une chaîne de recherche valide."
#: src/bin/mainview/edi_mainview.c:696
msgid "Please enter a valid replace string."
msgstr "Entrez une chaîne de remplacement valide."
#: src/bin/mainview/edi_mainview.c:702
msgid "Strings cannot match."
msgstr "Pas de correspondance possible."
#: src/bin/mainview/edi_mainview.c:724
msgid "Search &amp; Replace"
msgstr "Chercher &amp; Remplacer"
#: src/bin/mainview/edi_mainview.c:729
msgid "Replace all occurences of text within <br>the whole project.<br>"
msgstr ""
"Remplacer toutes les occurrences du texte pour <br>l'ensemble du projet.<br>"
#: src/bin/mainview/edi_mainview.c:753 src/bin/mainview/edi_mainview.c:779
#: src/bin/editor/edi_editor_search.c:523
msgid "Replace"
msgstr "Remplacer"
#: src/bin/mainview/edi_mainview_panel.c:552
msgid "Unrecognized file type"
msgstr "Type de fichier non reconnu"
#: src/bin/mainview/edi_mainview_panel.c:569
msgid ""
"To force open, select this file in the file browser, <br>and use \"open as\" "
"menu options."
msgstr ""
"Pour forcer l'ouverture, sélectionnez ce fichier dans le gestionnaire de "
"fichiers, <br>et utilisez l'option « ouvrir en tant que » du menu."
#: src/bin/mainview/edi_mainview_panel.c:824
msgid "Enter line number"
msgstr "Entrer le numéro de ligne"
#: src/bin/mainview/edi_mainview_panel.c:856
msgid "Go"
msgstr "Aller"
#: src/bin/editor/edi_editor_documentation.c:63
msgid "Parameters"
msgstr "Paramètres"
#: src/bin/editor/edi_editor_documentation.c:66
msgid "Returns"
msgstr "Retours"
#: src/bin/editor/edi_editor_documentation.c:69
msgid "See also"
msgstr "Voir aussi"
#: src/bin/editor/edi_editor_documentation.c:140
msgid "No help available for this term"
msgstr "Aucune aide disponible pour ce terme"
#: src/bin/editor/edi_editor_documentation.c:162 src/bin/edi_main.c:1189
#: src/bin/edi_main.c:1272
msgid "Close"
msgstr "Fermer"
#: src/bin/editor/edi_editor.c:76
msgid "Confirmation"
msgstr "Confirmation"
#: src/bin/editor/edi_editor.c:95
msgid ""
"File contents have changed. Would you like to reload <br> the contents of "
"this file?"
msgstr ""
"Le contenu du fichier a changé. Voulez-vous recharger<br> le contenu de ce "
"fichier ?"
#: src/bin/editor/edi_editor.c:110
msgid "Reload"
msgstr "Recharger"
#: src/bin/editor/edi_editor.c:115
msgid "No, continue editing"
msgstr "Non, continuer l'édition"
#: src/bin/editor/edi_editor.c:870
#, c-format
msgid "Line:%d, Column:%d"
msgstr "Ligne :%d, Colonne :%d"
#: src/bin/editor/edi_editor_search.c:463
msgid "Search term"
msgstr "Rechercher un terme"
#: src/bin/editor/edi_editor_search.c:478
msgid "Replace term"
msgstr "Remplacer un terme"
#: src/bin/editor/edi_editor_search.c:505
msgid "Reached end of file, starting from beginning"
msgstr "Fin de fichier atteinte, reprise au début"
#: src/bin/editor/edi_editor_search.c:509
msgid "Wrap search?"
msgstr "Recherche en boucle ?"
#: src/bin/screens/edi_screens.c:40
msgid "Confirmation required"
msgstr "Confirmation requise"
#: src/bin/screens/edi_screens.c:72
msgid "Yes"
msgstr "Oui"
#: src/bin/screens/edi_screens.c:78
msgid "No"
msgstr "Non"
#: src/bin/screens/edi_screens.c:150
#, c-format
msgid "No %s binary found, please install %s."
msgstr "Fichier binaire %s introuvable, veuillez installer %s."
#: src/bin/screens/edi_screens.c:153
msgid "Unable to launch SCM binary"
msgstr "Lancement du logiciel de gestion de versions impossible"
#: src/bin/screens/edi_welcome.c:87
msgid "Delete"
msgstr "Supprimer"
#: src/bin/screens/edi_welcome.c:102
msgid "That project directory no longer exists"
msgstr "Ce répertoire de projet n'existe plus"
#: src/bin/screens/edi_welcome.c:142
msgid "Choose a Project Folder"
msgstr "Choisir un dossier de projet"
#: src/bin/screens/edi_welcome.c:179
msgid "Select folder"
msgstr "Choisir un dossier"
#: src/bin/screens/edi_welcome.c:365 src/bin/screens/edi_welcome.c:619
msgid "Parent Path"
msgstr "Chemin du parent"
#: src/bin/screens/edi_welcome.c:366 src/bin/screens/edi_welcome.c:620
msgid "Project Name"
msgstr "Nom du projet"
#: src/bin/screens/edi_welcome.c:367
msgid "Project URL"
msgstr "URL du projet"
#: src/bin/screens/edi_welcome.c:369 src/bin/screens/edi_welcome.c:371
msgid "Creator Name"
msgstr "Nom du créateur"
#: src/bin/screens/edi_welcome.c:372
msgid "Creator Email"
msgstr "Courriel du créateur"
#: src/bin/screens/edi_welcome.c:375 src/bin/screens/edi_file_screens.c:299
#: src/bin/screens/edi_file_screens.c:360
msgid "Create"
msgstr "Création"
#: src/bin/screens/edi_welcome.c:382 src/bin/screens/edi_welcome.c:800
msgid "Create New Project"
msgstr "Créer un nouveau projet"
#: src/bin/screens/edi_welcome.c:521
msgid "Choose"
msgstr "Choisir"
#: src/bin/screens/edi_welcome.c:530
msgid "Select Project Type"
msgstr "Sélectionner le type de projet"
#: src/bin/screens/edi_welcome.c:546
msgid "Unable to clone project, please check URL or try again later"
msgstr "Impossible de cloner le projet, vérifiez l'URL ou réessayez plus tard"
#: src/bin/screens/edi_welcome.c:618
msgid "Source Control URL"
msgstr "URL du dépôt"
#: src/bin/screens/edi_welcome.c:629
msgid "Checkout"
msgstr "Checkout"
#: src/bin/screens/edi_welcome.c:641 src/bin/screens/edi_welcome.c:804
msgid "Checkout Existing Project"
msgstr "Checkout d'un projet existant"
#: src/bin/screens/edi_welcome.c:745
msgid "Welcome to Edi"
msgstr "Bienvenue dans Edi"
#: src/bin/screens/edi_welcome.c:771
msgid "Recent Projects"
msgstr "Projets récents"
#: src/bin/screens/edi_welcome.c:780
msgid "Open Existing Project"
msgstr "Ouvrir un projet existant"
#: src/bin/screens/edi_welcome.c:809
msgid "Choose Project"
msgstr "Choisir un projet"
#: src/bin/screens/edi_file_screens.c:63
msgid "Please enter a file name."
msgstr "Entrez un nom de fichier."
#: src/bin/screens/edi_file_screens.c:80
msgid "Unable to write file."
msgstr "Écriture du fichier impossible."
#: src/bin/screens/edi_file_screens.c:105
msgid "Please enter a directory name."
msgstr "Entrez un nom de répertoire."
#: src/bin/screens/edi_file_screens.c:140
msgid "Please enter a valid name."
msgstr "Entrez un nom valide."
#: src/bin/screens/edi_file_screens.c:151
msgid "Directory with that name already exists."
msgstr "Il existe déjà un répertoire de ce nom."
#: src/bin/screens/edi_file_screens.c:153
msgid "File with that name already exists."
msgstr "Il existe déjà un fichier de ce nom."
#: src/bin/screens/edi_file_screens.c:187
msgid "Rename directory"
msgstr "Renommer le dossier"
#: src/bin/screens/edi_file_screens.c:190
msgid "Rename file"
msgstr "Renommer le fichier"
#: src/bin/screens/edi_file_screens.c:196
msgid "Please enter a new name for this directory."
msgstr "Entrez un nouveau nom pour ce répertoire."
#: src/bin/screens/edi_file_screens.c:198
msgid "Please enter a new name for this file."
msgstr "Entrez un nouveau nom pour ce fichier."
#: src/bin/screens/edi_file_screens.c:239
msgid "Rename"
msgstr "Renommer"
#: src/bin/screens/edi_file_screens.c:256
msgid "Enter new file name"
msgstr "Entrez un nouveau nom de fichier"
#: src/bin/screens/edi_file_screens.c:266
msgid "Please enter a name for this new file."
msgstr "Entrez un nom pour ce nouveau fichier."
#: src/bin/screens/edi_file_screens.c:318
msgid "Enter new directory name"
msgstr "Entrez un nouveau nom de répertoire"
#: src/bin/screens/edi_file_screens.c:327
msgid "Please enter a name for this new directory."
msgstr "Entrez un nom pour ce nouveau répertoire."
#: src/bin/screens/edi_settings.c:125 src/bin/screens/edi_settings.c:234
msgid "Font"
msgstr "Police"
#: src/bin/screens/edi_settings.c:223 src/bin/screens/edi_settings.c:854
msgid "Display"
msgstr "Affichage"
#: src/bin/screens/edi_settings.c:253
msgid "Color theme"
msgstr "Jeu de couleurs"
#: src/bin/screens/edi_settings.c:291
msgid "Translucent"
msgstr "Transparence"
#: src/bin/screens/edi_settings.c:307
msgid "Alpha"
msgstr "Opacité"
#: src/bin/screens/edi_settings.c:329
msgid "Hide Toolbar"
msgstr "Cacher la barre d'outils"
#: src/bin/screens/edi_settings.c:346
msgid "Editor"
msgstr "Éditeur"
#: src/bin/screens/edi_settings.c:357
msgid "Display whitespace"
msgstr "Afficher les espaces blancs"
#: src/bin/screens/edi_settings.c:372
msgid "Line width marker"
msgstr "Marqueur de largeur de ligne"
#: src/bin/screens/edi_settings.c:391
msgid "Tabstop"
msgstr "Tabulation"
#: src/bin/screens/edi_settings.c:497
msgid "Builds"
msgstr "Constructions"
#: src/bin/screens/edi_settings.c:508
msgid "Runtime binary"
msgstr "Binaire d'exécution"
#: src/bin/screens/edi_settings.c:520
msgid "Select"
msgstr "Sélectionner"
#: src/bin/screens/edi_settings.c:541
msgid "Runtime arguments"
msgstr "Arguments d'exécution"
#: src/bin/screens/edi_settings.c:560
msgid "Default debugger"
msgstr "Débogueur par défaut"
#: src/bin/screens/edi_settings.c:656
msgid "Project Settings"
msgstr "Paramètres du projet"
#: src/bin/screens/edi_settings.c:668
msgid "Author Name"
msgstr "Nom de l'auteur"
#: src/bin/screens/edi_settings.c:686
msgid "Author E-mail"
msgstr "Courriel de l'auteur"
#: src/bin/screens/edi_settings.c:708 src/bin/edi_filepanel.c:481
msgid "Source Control"
msgstr "Contrôle des sources"
#: src/bin/screens/edi_settings.c:724
msgid "Remote URL"
msgstr "URL distante"
#: src/bin/screens/edi_settings.c:772 src/bin/screens/edi_settings.c:862
msgid "Behaviour"
msgstr "Comportement"
#: src/bin/screens/edi_settings.c:776
msgid "Auto save files"
msgstr "Enregistrement automatique"
#: src/bin/screens/edi_settings.c:787
msgid "Trim trailing whitespace"
msgstr "Supprimer les espaces blancs"
#: src/bin/screens/edi_settings.c:807
msgid "Edi Settings"
msgstr "Paramètres d'Edi"
#: src/bin/screens/edi_settings.c:853 src/bin/edi_main.c:1227
msgid "Project"
msgstr "Projet"
#: src/bin/screens/edi_settings.c:861
msgid "Global"
msgstr "Général"
#: src/bin/screens/edi_about.c:34
#, c-format
msgid "About Edi %s"
msgstr "À propos d'Edi %s"
#: src/bin/screens/edi_about.c:86
msgid ""
"<br>EDI is an IDE designed to get people into coding for Unix.<br>It's based "
"on the <b>EFL</b> and written completely natively<br>to provide a "
"<i>responsive</i> and <i>beautiful</i> UI.<br>"
msgstr ""
"<br>EDI est un IDE conçu pour encourager les gens à coder pour Unix.<br>Il "
"est basé sur les <b>EFL</b> et écrit entièrement en natif<br>afin de fournir "
"une interface <i>agréable</i> et <i>réactive</i>.<br>"
#: src/bin/screens/edi_about.c:95
msgid "<hilight>EDI's lovely authors</hilight>"
msgstr "<hilight>Les charmants auteurs d'EDI</hilight>"
#: src/bin/screens/edi_about.c:128 src/bin/edi_main.c:1237
msgid "Visit Website"
msgstr "Accéder au site"
#: src/bin/screens/edi_about.c:140
msgid "Report Issue"
msgstr "Rapport de bogue"
#: src/bin/screens/edi_about.c:152
msgid "Help Translate"
msgstr "Aider à traduire"
#: src/bin/screens/edi_about.c:164
msgid "Donate Now"
msgstr "Faire un don"
#: src/bin/language/edi_language_provider_c.c:156
msgid "C header"
msgstr "En-tête C"
#: src/bin/language/edi_language_provider_c.c:158
msgid "C source"
msgstr "Source C"
#: src/bin/language/edi_language_provider_python.c:32
msgid "Python source"
msgstr "Source Python"
#: src/bin/language/edi_language_provider_rust.c:32
msgid "Rust source"
msgstr "Source Rust"
#: src/bin/edi_filepanel.c:366 src/bin/edi_filepanel.c:423
#: src/bin/edi_filepanel.c:544
#, c-format
msgid "Are you sure you want to delete <hilight>%s</hilight> ?"
msgstr "Voulez-vous vraiment supprimer <hilight>%s</hilight> ?"
#: src/bin/edi_filepanel.c:463
msgid "Open"
msgstr "Ouvrir"
#: src/bin/edi_filepanel.c:464
msgid "Open in New Window"
msgstr "Ouvrir dans une nouvelle fenêtre"
#: src/bin/edi_filepanel.c:466
msgid "Open in New Panel"
msgstr "Ouvrir dans un nouvel onglet"
#: src/bin/edi_filepanel.c:468
msgid "Open as"
msgstr "Ouvrir en tant que"
#: src/bin/edi_filepanel.c:473
msgid "Open External"
msgstr "Ouvrir en externe"
#: src/bin/edi_filepanel.c:483 src/bin/edi_scm_ui.c:612
msgid "Stage Changes"
msgstr "Indexer modif. (Stage)"
#: src/bin/edi_filepanel.c:487 src/bin/edi_scm_ui.c:616
msgid "Unstage Changes"
msgstr "Désindexer modif. (Unstage)"
#: src/bin/edi_filepanel.c:492 src/bin/edi_filepanel.c:497
msgid "Rename File"
msgstr "Renommer le fichier"
#: src/bin/edi_filepanel.c:493 src/bin/edi_filepanel.c:498
msgid "Delete File"
msgstr "Supprimer le fichier"
#: src/bin/edi_filepanel.c:591
msgid "Create File here"
msgstr "Créer un fichier ici"
#: src/bin/edi_filepanel.c:592
msgid "Create Directory here"
msgstr "Créer un répertoire ici"
#: src/bin/edi_filepanel.c:594
msgid "Open Terminal here"
msgstr "Ouvrir un terminal ici"
#: src/bin/edi_filepanel.c:598
msgid "Rename Directory"
msgstr "Renommer le répertoire"
#: src/bin/edi_filepanel.c:600
msgid "Remove Directory"
msgstr "Supprimer le répertoire"
#: src/bin/edi_filepanel.c:729 src/bin/edi_scm_ui.c:292
msgid "Staged changes"
msgstr "Modif. indexées"
#: src/bin/edi_filepanel.c:740 src/bin/edi_scm_ui.c:303
msgid "Unstaged changes"
msgstr "Modif. non indexées"
#: src/bin/edi_filepanel.c:742 src/bin/edi_scm_ui.c:305
msgid "Untracked changes"
msgstr "Modif. non suivies"
#: src/bin/edi_filepanel.c:1143 src/bin/edi_main.c:1205
msgid "Find file"
msgstr "Rechercher un fichier"
#: src/bin/edi_build_main.c:63
#, c-format
msgid "Project created at path %s\n"
msgstr "Projet crée avec le chemin %s\n"
#: src/bin/edi_build_main.c:66
#, c-format
msgid "Unable to create project at path %s\n"
msgstr "Impossible de créer un projet avec le chemin %s\n"
#: src/bin/edi_build_main.c:77
#, c-format
msgid "Building \"%s\" target [%s] using [%s].\n"
msgstr "Construction de la cible « %s » [%s] en utilisant [%s].\n"
#: src/bin/edi_build_main.c:83
#, c-format
msgid "Target [%s] not supported for builder [%s].\n"
msgstr "Cible [%s] non prise en charge par le constructeur [%s].\n"
#: src/bin/edi_build_main.c:167
#, c-format
msgid "create requires 6 additional parameters:\n"
msgstr "les 6 paramètres suivants sont requis :\n"
#: src/bin/edi_build_main.c:181
#, c-format
msgid "Cowardly refusing to build unknown project type.\n"
msgstr "Difficile de construire un type de projet inconnu.\n"
#: src/bin/edi_build_main.c:197
#, c-format
msgid "Unrecognized build type - try build, clean, create or test.\n"
msgstr ""
"Type de build non reconnu : essayez construction, nettoyage, création ou "
"test.\n"
#: src/bin/edi_main.c:70
msgid "File path required"
msgstr "Chemin vers le fichier requis"
#: src/bin/edi_main.c:71
msgid "Please choose a file from the list."
msgstr "Choisissez un fichier dans la liste."
#: src/bin/edi_main.c:420
msgid "Logs"
msgstr "Journaux"
#: src/bin/edi_main.c:424
msgid "Console"
msgstr "Console"
#: src/bin/edi_main.c:428
msgid "Tests"
msgstr "Tests"
#: src/bin/edi_main.c:436
msgid "Tasks"
msgstr "Tâches"
#: src/bin/edi_main.c:440 src/bin/edi_main.c:1299
msgid "Debug"
msgstr "Déboguer"
#: src/bin/edi_main.c:564
msgid "Unable to launch"
msgstr "Lancement impossible"
#: src/bin/edi_main.c:565
msgid "No launch binary found, please configure in Settings."
msgstr ""
"Binaire d'exécution introuvable, veuillez le renseigner dans les Paramètres."
#: src/bin/edi_main.c:575
msgid "Unable to launch debugger"
msgstr "Lancement du débogueur impossible"
#: src/bin/edi_main.c:576
msgid "No debug binary found, please check system configuration and Settings."
msgstr ""
"Fichier binaire du débogueur introuvable, vérifiez la configuration du "
"système et les Paramètres."
#: src/bin/edi_main.c:587
msgid "Missing user information"
msgstr "Informations utilisateur manquantes"
#: src/bin/edi_main.c:588
msgid "No user information found, please configure in Settings."
msgstr ""
"Aucune information sur l'utilisateur n'a été trouvée, veuillez les "
"configurer dans les Paramètres."
#: src/bin/edi_main.c:695
msgid "Cowardly refusing to build unknown project type."
msgstr "Difficile de construire un type de projet inconnu..."
#: src/bin/edi_main.c:734
#, c-format
msgid "%s of project <b>%s</b> in %s failed with status code %d.\n"
msgstr "%s du projet <b>%s</b> dans %s a échoué avec le code de sortie %d.\n"
#: src/bin/edi_main.c:736
#, c-format
msgid "%s of project <b>%s</b> in %s was successful.\n"
msgstr "%s du projet <b>%s</b> dans %s a réussi.\n"
#: src/bin/edi_main.c:738
#, c-format
msgid "%s %s"
msgstr "%s %s"
#: src/bin/edi_main.c:738
msgid "Failed"
msgstr "Échec"
#: src/bin/edi_main.c:738
msgid "Passed"
msgstr "Réussite"
#: src/bin/edi_main.c:759 src/bin/edi_main.c:1218 src/bin/edi_main.c:1219
#: src/bin/edi_main.c:1296
msgid "Build"
msgstr "Construction"
#: src/bin/edi_main.c:773 src/bin/edi_main.c:1222
msgid "Clean"
msgstr "Nettoyage"
#: src/bin/edi_main.c:787 src/bin/edi_main.c:1220 src/bin/edi_main.c:1297
msgid "Test"
msgstr "Test"
#: src/bin/edi_main.c:1120
msgid "Are you sure you wish to stash these changes?"
msgstr "Voulez-vous vraiment remiser (stash) vos modifications ?"
#: src/bin/edi_main.c:1183
msgid "File"
msgstr "Fichier"
#: src/bin/edi_main.c:1184
msgid "New Project"
msgstr "Nouveau projet"
#: src/bin/edi_main.c:1186
msgid "New"
msgstr "Nouveau"
#: src/bin/edi_main.c:1187
msgid "New Directory"
msgstr "Nouveau répertoire"
#: src/bin/edi_main.c:1188 src/bin/edi_main.c:1271
msgid "Save"
msgstr "Enregistrer"
#: src/bin/edi_main.c:1190
msgid "Close all"
msgstr "Tout fermer"
#: src/bin/edi_main.c:1192 src/bin/edi_main.c:1304
msgid "Settings"
msgstr "Paramètres"
#: src/bin/edi_main.c:1194
msgid "Quit"
msgstr "Quitter"
#: src/bin/edi_main.c:1196
msgid "Edit"
msgstr "Éditer"
#: src/bin/edi_main.c:1197 src/bin/edi_main.c:1277
msgid "Undo"
msgstr "Annuler"
#: src/bin/edi_main.c:1198 src/bin/edi_main.c:1278
msgid "Redo"
msgstr "Rétablir"
#: src/bin/edi_main.c:1200 src/bin/edi_main.c:1283
msgid "Cut"
msgstr "Couper"
#: src/bin/edi_main.c:1201 src/bin/edi_main.c:1284
msgid "Copy"
msgstr "Copier"
#: src/bin/edi_main.c:1202 src/bin/edi_main.c:1285
msgid "Paste"
msgstr "Coller"
#: src/bin/edi_main.c:1204
msgid "Find & Replace"
msgstr "Rechercher & Remplacer"
#: src/bin/edi_main.c:1206 src/bin/edi_main.c:1291
msgid "Goto Line"
msgstr "Se rendre à une ligne"
#: src/bin/edi_main.c:1208
msgid "Find in project"
msgstr "Rechercher dans le projet"
#: src/bin/edi_main.c:1209
msgid "Replace in project"
msgstr "Remplacer dans le projet"
#: src/bin/edi_main.c:1211
msgid "View"
msgstr "Vue"
#: src/bin/edi_main.c:1212
msgid "New Window"
msgstr "Nouvelle fenêtre"
#: src/bin/edi_main.c:1213
msgid "New Panel"
msgstr "Nouvel onglet"
#: src/bin/edi_main.c:1214
msgid "Split View"
msgstr "Scinder la vue"
#: src/bin/edi_main.c:1216
msgid "Open Tasks"
msgstr "Ouvrir Tâches"
#: src/bin/edi_main.c:1221 src/bin/edi_main.c:1298
msgid "Run"
msgstr "Exécuter"
#: src/bin/edi_main.c:1224
msgid "Debugger"
msgstr "Débogueur"
#: src/bin/edi_main.c:1225
msgid "Memcheck"
msgstr "Memcheck"
#: src/bin/edi_main.c:1228
msgid "Init"
msgstr "Init"
#: src/bin/edi_main.c:1229 src/bin/edi_scm_ui.c:884
msgid "Commit"
msgstr "Commit"
#: src/bin/edi_main.c:1230
msgid "Stash"
msgstr "Stash"
#: src/bin/edi_main.c:1231
msgid "Status"
msgstr "Status"
#: src/bin/edi_main.c:1232
msgid "Push"
msgstr "Push"
#: src/bin/edi_main.c:1233
msgid "Pull"
msgstr "Pull"
#: src/bin/edi_main.c:1236
msgid "Help"
msgstr "Aide"
#: src/bin/edi_main.c:1239 src/bin/edi_main.c:1305
msgid "About"
msgstr "À propos"
#: src/bin/edi_main.c:1270
msgid "New File"
msgstr "Nouveau fichier"
#: src/bin/edi_main.c:1290
msgid "Find"
msgstr "Rechercher"
#: src/bin/edi_main.c:1493
#, c-format
msgid "Project path must be a directory\n"
msgstr "Le chemin du projet doit être un répertoire\n"
#: src/bin/edi_main.c:1709
#, c-format
msgid "Could not open file of unsupported mime type (%s)\n"
msgstr ""
"Impossible d'ouvrir un fichier avec un type MIME non pris en charge (%s)\n"
#: src/bin/edi_scm_ui.c:152
msgid "Please enter a valid commit message."
msgstr "Veuillez entrer un message de commit valide."
#: src/bin/edi_scm_ui.c:690
msgid "User information"
msgstr "Informations utilisateur"
#: src/bin/edi_scm_ui.c:729
msgid "Unable to obtain user information."
msgstr "Impossible d'obtenir les informations de l'utilisateur."
#: src/bin/edi_scm_ui.c:735
msgid "Author"
msgstr "Auteur"
#: src/bin/edi_scm_ui.c:747
msgid "Show unstaged changes"
msgstr "Afficher modif. non indexées"
#: src/bin/edi_scm_ui.c:786
msgid "File changes"
msgstr "Modifications des fichiers"
#: src/bin/edi_scm_ui.c:810
msgid "Commit message"
msgstr "Message de commit"
#: src/bin/edi_scm_ui.c:815
msgid "Enter commit summary<br><br>And change details<br>"
msgstr "Entrez un résumé du commit<br><br>Et le détail des modifications<br>"
#: src/bin/edi_scm_ui.c:834
msgid "Source changes"
msgstr "Modifications de la source"
#: src/bin/edi_consolepanel.c:186
#, c-format
msgid "Total pass %d (%d%%), fail %d)"
msgstr "Pourcentage de réussite %d (%d%%), échec %d)"

875
po/it.po
View File

@ -1,875 +0,0 @@
# Italian translation for Edi package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the edi package.
# Massimo Maiurana <maiurana@gmail.com>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: edi\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-23 21:59+0000\n"
"PO-Revision-Date: 2022-01-03 13:51+0100\n"
"Last-Translator: Massimo Maiurana <maiurana@gmail.com>\n"
"Language-Team: Italian\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/bin/mainview/edi_mainview.c:574
#: src/bin/mainview/edi_mainview_panel.c:584 src/bin/screens/edi_screens.c:121
#: src/bin/screens/edi_screens.c:162 src/bin/screens/edi_welcome.c:79
#: src/bin/screens/edi_file_screens.c:29 src/bin/edi_scm_ui.c:105
msgid "OK"
msgstr "OK"
#: src/bin/mainview/edi_mainview.c:601
msgid "Please enter a valid search term."
msgstr "Inserire un termine di ricerca valido."
#: src/bin/mainview/edi_mainview.c:635
msgid "Search for (whole project)"
msgstr "Cerca (nell'intero progetto)"
#: src/bin/mainview/edi_mainview.c:641
msgid "Please enter a term to search for within<br> the whole project.<br>"
msgstr "Inserire un termine da ricercare<br> nell'intero progetto.<br>"
#: src/bin/mainview/edi_mainview.c:663 src/bin/mainview/edi_mainview.c:772
#: src/bin/mainview/edi_mainview_panel.c:850
#: src/bin/editor/edi_editor_search.c:531
#: src/bin/screens/edi_file_screens.c:232
#: src/bin/screens/edi_file_screens.c:293
#: src/bin/screens/edi_file_screens.c:354 src/bin/edi_scm_ui.c:874
msgid "Cancel"
msgstr "Annulla"
#: src/bin/mainview/edi_mainview.c:669 src/bin/mainview/edi_mainview.c:740
#: src/bin/editor/edi_editor_search.c:515 src/bin/edi_main.c:432
msgid "Search"
msgstr "Cerca"
#: src/bin/mainview/edi_mainview.c:689
msgid "Please enter a valid search string."
msgstr "Inserire una stringa di ricerca valida."
#: src/bin/mainview/edi_mainview.c:696
msgid "Please enter a valid replace string."
msgstr "Inserire una stringa di sostituzione valida."
#: src/bin/mainview/edi_mainview.c:702
msgid "Strings cannot match."
msgstr "Le stringe non possono essere identiche."
#: src/bin/mainview/edi_mainview.c:724
msgid "Search &amp; Replace"
msgstr "Cerca e sostituisci"
#: src/bin/mainview/edi_mainview.c:729
msgid "Replace all occurences of text within <br>the whole project.<br>"
msgstr "Sostituisci tutte le occorrenze del testo<br> nell'intero progetto.<br>"
#: src/bin/mainview/edi_mainview.c:753 src/bin/mainview/edi_mainview.c:779
#: src/bin/editor/edi_editor_search.c:523
msgid "Replace"
msgstr "Sostituisci"
#: src/bin/mainview/edi_mainview_panel.c:552
msgid "Unrecognized file type"
msgstr "Tipo di file non riconosciuto"
#: src/bin/mainview/edi_mainview_panel.c:569
msgid ""
"To force open, select this file in the file browser, <br>and use \"open as\" "
"menu options."
msgstr "Per forzare l'apertura selezionare questo file nel<br> browser e usare la voce di menù \"apri come\"."
#: src/bin/mainview/edi_mainview_panel.c:824
msgid "Enter line number"
msgstr "Inserire il numero di riga"
#: src/bin/mainview/edi_mainview_panel.c:856
msgid "Go"
msgstr "Vai"
#: src/bin/editor/edi_editor_documentation.c:63
msgid "Parameters"
msgstr "Parametri"
#: src/bin/editor/edi_editor_documentation.c:66
msgid "Returns"
msgstr "Ritorni"
#: src/bin/editor/edi_editor_documentation.c:69
msgid "See also"
msgstr "Vedi anche"
#: src/bin/editor/edi_editor_documentation.c:140
msgid "No help available for this term"
msgstr "Nessun aiuto disponibile per questo termine"
#: src/bin/editor/edi_editor_documentation.c:162 src/bin/edi_main.c:1189
#: src/bin/edi_main.c:1272
msgid "Close"
msgstr "Chiudi"
#: src/bin/editor/edi_editor.c:76
msgid "Confirmation"
msgstr "Conferma"
#: src/bin/editor/edi_editor.c:95
msgid ""
"File contents have changed. Would you like to reload <br> the contents of "
"this file?"
msgstr "Il contenuto del file è cambiato, si vuole ricaricarlo?"
#: src/bin/editor/edi_editor.c:110
msgid "Reload"
msgstr "Ricarica"
#: src/bin/editor/edi_editor.c:115
msgid "No, continue editing"
msgstr "No, continuo a modificarlo"
#: src/bin/editor/edi_editor.c:870
#, c-format
msgid "Line:%d, Column:%d"
msgstr "Riga:%d, Colonna:%d"
#: src/bin/editor/edi_editor_search.c:463
msgid "Search term"
msgstr "Termine da cercare"
#: src/bin/editor/edi_editor_search.c:478
msgid "Replace term"
msgstr "Termine da sostituire"
#: src/bin/editor/edi_editor_search.c:505
msgid "Reached end of file, starting from beginning"
msgstr "Fine del file raggiunta, ritorno all'inizio"
#: src/bin/editor/edi_editor_search.c:509
msgid "Wrap search?"
msgstr "Ricominciare ricerca?"
#: src/bin/screens/edi_screens.c:40
msgid "Confirmation required"
msgstr "Conferma richiesta"
#: src/bin/screens/edi_screens.c:72
msgid "Yes"
msgstr "Sì"
#: src/bin/screens/edi_screens.c:78
msgid "No"
msgstr "No"
#: src/bin/screens/edi_screens.c:150
#, c-format
msgid "No %s binary found, please install %s."
msgstr "Non è stato trovato nessun file binario %s, si prega di installare %s."
#: src/bin/screens/edi_screens.c:153
msgid "Unable to launch SCM binary"
msgstr "Impossibile lanciare il binario SCM"
#: src/bin/screens/edi_welcome.c:87
msgid "Delete"
msgstr "Cancella"
#: src/bin/screens/edi_welcome.c:102
msgid "That project directory no longer exists"
msgstr "La directory del progetto non esiste più"
#: src/bin/screens/edi_welcome.c:142
msgid "Choose a Project Folder"
msgstr "Scegliere una cartella di progetto"
#: src/bin/screens/edi_welcome.c:179
msgid "Select folder"
msgstr "Selezionare cartella"
#: src/bin/screens/edi_welcome.c:365 src/bin/screens/edi_welcome.c:619
msgid "Parent Path"
msgstr "Percorso genitore"
#: src/bin/screens/edi_welcome.c:366 src/bin/screens/edi_welcome.c:620
msgid "Project Name"
msgstr "Nome del progetto"
#: src/bin/screens/edi_welcome.c:367
msgid "Project URL"
msgstr "URL del progetto"
#: src/bin/screens/edi_welcome.c:369 src/bin/screens/edi_welcome.c:371
msgid "Creator Name"
msgstr "Nome del creatore"
#: src/bin/screens/edi_welcome.c:372
msgid "Creator Email"
msgstr "Email del creatore"
#: src/bin/screens/edi_welcome.c:375 src/bin/screens/edi_file_screens.c:299
#: src/bin/screens/edi_file_screens.c:360
msgid "Create"
msgstr "Crea"
#: src/bin/screens/edi_welcome.c:382 src/bin/screens/edi_welcome.c:800
msgid "Create New Project"
msgstr "Crea nuovo progetto"
#: src/bin/screens/edi_welcome.c:521
msgid "Choose"
msgstr "Scegli"
#: src/bin/screens/edi_welcome.c:530
msgid "Select Project Type"
msgstr "Selezionare il tipo di progetto"
#: src/bin/screens/edi_welcome.c:546
msgid "Unable to clone project, please check URL or try again later"
msgstr "Impossibile clonare progetto, controllare l'URL o riprovare più tardi"
#: src/bin/screens/edi_welcome.c:618
msgid "Source Control URL"
msgstr "URL di controllo del sorgente"
#: src/bin/screens/edi_welcome.c:629
msgid "Checkout"
msgstr "Controlla"
#: src/bin/screens/edi_welcome.c:641 src/bin/screens/edi_welcome.c:804
msgid "Checkout Existing Project"
msgstr "Controlla progetti esistenti"
#: src/bin/screens/edi_welcome.c:745
msgid "Welcome to Edi"
msgstr "Benvenuti in Edi"
#: src/bin/screens/edi_welcome.c:771
msgid "Recent Projects"
msgstr "Progetti recenti"
#: src/bin/screens/edi_welcome.c:780
msgid "Open Existing Project"
msgstr "Apri progetto esistente"
#: src/bin/screens/edi_welcome.c:809
msgid "Choose Project"
msgstr "Scegli progetto"
#: src/bin/screens/edi_file_screens.c:63
msgid "Please enter a file name."
msgstr "Inserire il nome del file"
#: src/bin/screens/edi_file_screens.c:80
msgid "Unable to write file."
msgstr "Impossibile scrivere file"
#: src/bin/screens/edi_file_screens.c:105
msgid "Please enter a directory name."
msgstr "Inserire il nome della directory"
#: src/bin/screens/edi_file_screens.c:140
msgid "Please enter a valid name."
msgstr "Si prega di inserire un nome valido."
#: src/bin/screens/edi_file_screens.c:151
msgid "Directory with that name already exists."
msgstr "Esiste già una directory con lo stesso nome."
#: src/bin/screens/edi_file_screens.c:153
msgid "File with that name already exists."
msgstr "Esiste già un file con lo stesso nome."
#: src/bin/screens/edi_file_screens.c:187
msgid "Rename directory"
msgstr "Rinomina directory"
#: src/bin/screens/edi_file_screens.c:190
msgid "Rename file"
msgstr "Rinomina file"
#: src/bin/screens/edi_file_screens.c:196
msgid "Please enter a new name for this directory."
msgstr "Inserire un nuovo nome per questa directory."
#: src/bin/screens/edi_file_screens.c:198
msgid "Please enter a new name for this file."
msgstr "Inserire un nuovo nome per questo file."
#: src/bin/screens/edi_file_screens.c:239
msgid "Rename"
msgstr "Rinomina"
#: src/bin/screens/edi_file_screens.c:256
msgid "Enter new file name"
msgstr "Inserire nome del nuovo file"
#: src/bin/screens/edi_file_screens.c:266
msgid "Please enter a name for this new file."
msgstr "Inserire un nome per questo nuovo file."
#: src/bin/screens/edi_file_screens.c:318
msgid "Enter new directory name"
msgstr "Inserire nome della nuova directory"
#: src/bin/screens/edi_file_screens.c:327
msgid "Please enter a name for this new directory."
msgstr "Inserire un nome per questa nuova directory."
#: src/bin/screens/edi_settings.c:125 src/bin/screens/edi_settings.c:234
msgid "Font"
msgstr "Font"
#: src/bin/screens/edi_settings.c:223 src/bin/screens/edi_settings.c:854
msgid "Display"
msgstr "Display"
#: src/bin/screens/edi_settings.c:253
msgid "Color theme"
msgstr "Tema colore"
#: src/bin/screens/edi_settings.c:291
msgid "Translucent"
msgstr "Trasparente"
#: src/bin/screens/edi_settings.c:307
msgid "Alpha"
msgstr "Alpha"
#: src/bin/screens/edi_settings.c:329
msgid "Hide Toolbar"
msgstr "Nascondi barra strumenti"
#: src/bin/screens/edi_settings.c:346
msgid "Editor"
msgstr "Editor"
#: src/bin/screens/edi_settings.c:357
msgid "Display whitespace"
msgstr "Mostra spazi vuoti"
#: src/bin/screens/edi_settings.c:372
msgid "Line width marker"
msgstr "Marcatore larghezza riga"
#: src/bin/screens/edi_settings.c:391
msgid "Tabstop"
msgstr "Tabulazione"
#: src/bin/screens/edi_settings.c:497
msgid "Builds"
msgstr "Compila"
#: src/bin/screens/edi_settings.c:508
msgid "Runtime binary"
msgstr "Binario runtime"
#: src/bin/screens/edi_settings.c:520
msgid "Select"
msgstr "Seleziona"
#: src/bin/screens/edi_settings.c:541
msgid "Runtime arguments"
msgstr "Argomenti runtime"
#: src/bin/screens/edi_settings.c:560
msgid "Default debugger"
msgstr "Debugger predefinito"
#: src/bin/screens/edi_settings.c:656
msgid "Project Settings"
msgstr "Impostazioni progetto"
#: src/bin/screens/edi_settings.c:668
msgid "Author Name"
msgstr "Nome autore"
#: src/bin/screens/edi_settings.c:686
msgid "Author E-mail"
msgstr "Email autore"
#: src/bin/screens/edi_settings.c:708 src/bin/edi_filepanel.c:481
msgid "Source Control"
msgstr "Controllo sorgente"
#: src/bin/screens/edi_settings.c:724
msgid "Remote URL"
msgstr "URL remota"
#: src/bin/screens/edi_settings.c:772 src/bin/screens/edi_settings.c:862
msgid "Behaviour"
msgstr "Comportamento"
#: src/bin/screens/edi_settings.c:776
msgid "Auto save files"
msgstr "Salvataggio automatico file"
#: src/bin/screens/edi_settings.c:787
msgid "Trim trailing whitespace"
msgstr "Elimina spazi vuoti in coda"
#: src/bin/screens/edi_settings.c:807
msgid "Edi Settings"
msgstr "Impostazioni di Edi"
#: src/bin/screens/edi_settings.c:853 src/bin/edi_main.c:1227
msgid "Project"
msgstr "Progetto"
#: src/bin/screens/edi_settings.c:861
msgid "Global"
msgstr "Globale"
#: src/bin/screens/edi_about.c:34
#, c-format
msgid "About Edi %s"
msgstr "A proposito di Edi %s"
#: src/bin/screens/edi_about.c:86
msgid ""
"<br>EDI is an IDE designed to get people into coding for Unix.<br>It's based "
"on the <b>EFL</b> and written completely natively<br>to provide a "
"<i>responsive</i> and <i>beautiful</i> UI.<br>"
msgstr "<br>EDI è un IDE progettato per introdurre alla programmazione su Unix.<br>È basato sulle <b>EFL</b> e scritto del tutto nativamente<br>per fornire una interfaccia <i>responsiva</i> e <i>bella</i>.<br>"
#: src/bin/screens/edi_about.c:95
msgid "<hilight>EDI's lovely authors</hilight>"
msgstr "<hilight>Gli amabili autori di EDI</hilight>"
#: src/bin/screens/edi_about.c:128 src/bin/edi_main.c:1237
msgid "Visit Website"
msgstr "Visita sito web"
#: src/bin/screens/edi_about.c:140
msgid "Report Issue"
msgstr "Riporta problemi"
#: src/bin/screens/edi_about.c:152
msgid "Help Translate"
msgstr "Aiuta nella traduzione"
#: src/bin/screens/edi_about.c:164
msgid "Donate Now"
msgstr "Dona adesso"
#: src/bin/language/edi_language_provider_c.c:156
msgid "C header"
msgstr "Intestazione C"
#: src/bin/language/edi_language_provider_c.c:158
msgid "C source"
msgstr "Sorgente C"
#: src/bin/language/edi_language_provider_python.c:32
msgid "Python source"
msgstr "Sorgente Python"
#: src/bin/language/edi_language_provider_rust.c:32
msgid "Rust source"
msgstr "Sorgente Rust"
#: src/bin/edi_filepanel.c:366 src/bin/edi_filepanel.c:423
#: src/bin/edi_filepanel.c:544
#, c-format
msgid "Are you sure you want to delete <hilight>%s</hilight> ?"
msgstr "Sicuro di viler cancellare <hilight>%s</hilight>?"
#: src/bin/edi_filepanel.c:463
msgid "Open"
msgstr "Apri"
#: src/bin/edi_filepanel.c:464
msgid "Open in New Window"
msgstr "Apri in una nuova finestra"
#: src/bin/edi_filepanel.c:466
msgid "Open in New Panel"
msgstr "Apri in un nuovo pannello"
#: src/bin/edi_filepanel.c:468
msgid "Open as"
msgstr "Apri come"
#: src/bin/edi_filepanel.c:473
msgid "Open External"
msgstr "Apri esterno"
#: src/bin/edi_filepanel.c:483 src/bin/edi_scm_ui.c:612
msgid "Stage Changes"
msgstr "Esegui stage dei cambiamenti"
#: src/bin/edi_filepanel.c:487 src/bin/edi_scm_ui.c:616
msgid "Unstage Changes"
msgstr "Rimuovi stage dei cambiamenti"
#: src/bin/edi_filepanel.c:492 src/bin/edi_filepanel.c:497
msgid "Rename File"
msgstr "Rinomina file"
#: src/bin/edi_filepanel.c:493 src/bin/edi_filepanel.c:498
msgid "Delete File"
msgstr "Elimina file"
#: src/bin/edi_filepanel.c:591
msgid "Create File here"
msgstr "Crea file qui"
#: src/bin/edi_filepanel.c:592
msgid "Create Directory here"
msgstr "Crea directory qui"
#: src/bin/edi_filepanel.c:594
msgid "Open Terminal here"
msgstr "Apri terminale qui"
#: src/bin/edi_filepanel.c:598
msgid "Rename Directory"
msgstr "Rinomina directory"
#: src/bin/edi_filepanel.c:600
msgid "Remove Directory"
msgstr "Elimina directory"
#: src/bin/edi_filepanel.c:729 src/bin/edi_scm_ui.c:292
msgid "Staged changes"
msgstr "Cambiamenti in stage"
#: src/bin/edi_filepanel.c:740 src/bin/edi_scm_ui.c:303
msgid "Unstaged changes"
msgstr "Cambiamenti non in stage"
#: src/bin/edi_filepanel.c:742 src/bin/edi_scm_ui.c:305
msgid "Untracked changes"
msgstr "Cambiamenti non tracciati"
#: src/bin/edi_filepanel.c:1143 src/bin/edi_main.c:1205
msgid "Find file"
msgstr "Trova file"
#: src/bin/edi_build_main.c:63
#, c-format
msgid "Project created at path %s\n"
msgstr "Progetto creato nel percorso %s\n"
#: src/bin/edi_build_main.c:66
#, c-format
msgid "Unable to create project at path %s\n"
msgstr "Impossibile creare progetto nel percorso %s\n"
#: src/bin/edi_build_main.c:77
#, c-format
msgid "Building \"%s\" target [%s] using [%s].\n"
msgstr "Compilazione obbiettivo \"%s\" [%s] usando [%s].\n"
#: src/bin/edi_build_main.c:83
#, c-format
msgid "Target [%s] not supported for builder [%s].\n"
msgstr "Obbiettivo [%s] non supportato dal compilatore [%s].\n"
#: src/bin/edi_build_main.c:167
#, c-format
msgid "create requires 6 additional parameters:\n"
msgstr "crea richiede 6 parametri aggiuntivi:\n"
#: src/bin/edi_build_main.c:181
#, c-format
msgid "Cowardly refusing to build unknown project type.\n"
msgstr "Codardamento mi rifiuto di compilare un progetto di tipo sconosciuto.\n"
#: src/bin/edi_build_main.c:197
#, c-format
msgid "Unrecognized build type - try build, clean, create or test.\n"
msgstr "Tipo di compilazione sconosciuta - provare compila, pulisci, crea o test.\n"
#: src/bin/edi_main.c:70
msgid "File path required"
msgstr "Richiesto percorso del file"
#: src/bin/edi_main.c:71
msgid "Please choose a file from the list."
msgstr "Scegliere un file dall'elenco."
#: src/bin/edi_main.c:420
msgid "Logs"
msgstr "Log"
#: src/bin/edi_main.c:424
msgid "Console"
msgstr "Console"
#: src/bin/edi_main.c:428
msgid "Tests"
msgstr "Test"
#: src/bin/edi_main.c:436
msgid "Tasks"
msgstr "Task"
#: src/bin/edi_main.c:440 src/bin/edi_main.c:1299
msgid "Debug"
msgstr "Debug"
#: src/bin/edi_main.c:564
msgid "Unable to launch"
msgstr "Impossibile lanciare"
#: src/bin/edi_main.c:565
msgid "No launch binary found, please configure in Settings."
msgstr "Binario di lancio non trovato, si prega di configurarlo nelle impostazioni."
#: src/bin/edi_main.c:575
msgid "Unable to launch debugger"
msgstr "Impossibile lanciare il debugger"
#: src/bin/edi_main.c:576
msgid "No debug binary found, please check system configuration and Settings."
msgstr "Binario di debugging non trovato, controllare configurazione e impostazioni di sistema."
#: src/bin/edi_main.c:587
msgid "Missing user information"
msgstr "Informazioni utente mancanti"
#: src/bin/edi_main.c:588
msgid "No user information found, please configure in Settings."
msgstr "Nessuna informazione dell'utente trovata, si prega di configurarle nelle impostazioni."
#: src/bin/edi_main.c:695
msgid "Cowardly refusing to build unknown project type."
msgstr "Codardamente mi rifiuto di compilare un progetto di tipo sconosciuto."
#: src/bin/edi_main.c:734
#, c-format
msgid "%s of project <b>%s</b> in %s failed with status code %d.\n"
msgstr "%s del progetto <b>%s</b> in %s fallita con codice di stato %d.\n"
#: src/bin/edi_main.c:736
#, c-format
msgid "%s of project <b>%s</b> in %s was successful.\n"
msgstr "%s del progetto <b>%s</b> in %s riuscita.\n"
#: src/bin/edi_main.c:738
#, c-format
msgid "%s %s"
msgstr "%s %s"
#: src/bin/edi_main.c:738
msgid "Failed"
msgstr "Fallito"
#: src/bin/edi_main.c:738
msgid "Passed"
msgstr "Riuscito"
#: src/bin/edi_main.c:759 src/bin/edi_main.c:1218 src/bin/edi_main.c:1219
#: src/bin/edi_main.c:1296
msgid "Build"
msgstr "Compila"
#: src/bin/edi_main.c:773 src/bin/edi_main.c:1222
msgid "Clean"
msgstr "Pulisci"
#: src/bin/edi_main.c:787 src/bin/edi_main.c:1220 src/bin/edi_main.c:1297
msgid "Test"
msgstr "Test"
#: src/bin/edi_main.c:1120
msgid "Are you sure you wish to stash these changes?"
msgstr "Sicuri di voler accantonare questi cambiamenti?"
#: src/bin/edi_main.c:1183
msgid "File"
msgstr "File"
#: src/bin/edi_main.c:1184
msgid "New Project"
msgstr "Nuovo progetto"
#: src/bin/edi_main.c:1186
msgid "New"
msgstr "Nuovo"
#: src/bin/edi_main.c:1187
msgid "New Directory"
msgstr "Nuova directory"
#: src/bin/edi_main.c:1188 src/bin/edi_main.c:1271
msgid "Save"
msgstr "Salva"
#: src/bin/edi_main.c:1190
msgid "Close all"
msgstr "Chiudi tutto"
#: src/bin/edi_main.c:1192 src/bin/edi_main.c:1304
msgid "Settings"
msgstr "Impostazioni"
#: src/bin/edi_main.c:1194
msgid "Quit"
msgstr "Esci"
#: src/bin/edi_main.c:1196
msgid "Edit"
msgstr "Modifica"
#: src/bin/edi_main.c:1197 src/bin/edi_main.c:1277
msgid "Undo"
msgstr "Annulla"
#: src/bin/edi_main.c:1198 src/bin/edi_main.c:1278
msgid "Redo"
msgstr "Ripeti"
#: src/bin/edi_main.c:1200 src/bin/edi_main.c:1283
msgid "Cut"
msgstr "Copia"
#: src/bin/edi_main.c:1201 src/bin/edi_main.c:1284
msgid "Copy"
msgstr "Taglia"
#: src/bin/edi_main.c:1202 src/bin/edi_main.c:1285
msgid "Paste"
msgstr "Incolla"
#: src/bin/edi_main.c:1204
msgid "Find & Replace"
msgstr "Trova e sostituisci"
#: src/bin/edi_main.c:1206 src/bin/edi_main.c:1291
msgid "Goto Line"
msgstr "Vai alla riga"
#: src/bin/edi_main.c:1208
msgid "Find in project"
msgstr "Trova nel progetto"
#: src/bin/edi_main.c:1209
msgid "Replace in project"
msgstr "Sostituisci nel progetto"
#: src/bin/edi_main.c:1211
msgid "View"
msgstr "Visualizza"
#: src/bin/edi_main.c:1212
msgid "New Window"
msgstr "Nuova finestra"
#: src/bin/edi_main.c:1213
msgid "New Panel"
msgstr "Nuovo pannello"
#: src/bin/edi_main.c:1214
msgid "Split View"
msgstr "Visualizzazione divisa"
#: src/bin/edi_main.c:1216
msgid "Open Tasks"
msgstr "Task aperti"
#: src/bin/edi_main.c:1221 src/bin/edi_main.c:1298
msgid "Run"
msgstr "Esegui"
#: src/bin/edi_main.c:1224
msgid "Debugger"
msgstr "Debugger"
#: src/bin/edi_main.c:1225
msgid "Memcheck"
msgstr "Controllo memoria"
#: src/bin/edi_main.c:1228
msgid "Init"
msgstr "Inizializza"
#: src/bin/edi_main.c:1229 src/bin/edi_scm_ui.c:884
msgid "Commit"
msgstr "Prepara aggiornamenti"
#: src/bin/edi_main.c:1230
msgid "Stash"
msgstr "Accantona"
#: src/bin/edi_main.c:1231
msgid "Status"
msgstr "Stato"
#: src/bin/edi_main.c:1232
msgid "Push"
msgstr "Carica aggornamenti"
#: src/bin/edi_main.c:1233
msgid "Pull"
msgstr "Scarica aggiornamenti"
#: src/bin/edi_main.c:1236
msgid "Help"
msgstr "Aiuto"
#: src/bin/edi_main.c:1239 src/bin/edi_main.c:1305
msgid "About"
msgstr "A proposito"
#: src/bin/edi_main.c:1270
msgid "New File"
msgstr "Nuovo file"
#: src/bin/edi_main.c:1290
msgid "Find"
msgstr "Trova"
#: src/bin/edi_main.c:1493
#, c-format
msgid "Project path must be a directory\n"
msgstr "Il percorso del progetto dev'essere una directory\n"
#: src/bin/edi_main.c:1709
#, c-format
msgid "Could not open file of unsupported mime type (%s)\n"
msgstr "Impossibile aprire file di tipo mime non supportato (%s)\n"
#: src/bin/edi_scm_ui.c:152
msgid "Please enter a valid commit message."
msgstr "Inserire un messaggio descrittivo valido"
#: src/bin/edi_scm_ui.c:690
msgid "User information"
msgstr "Informazioni utente"
#: src/bin/edi_scm_ui.c:729
msgid "Unable to obtain user information."
msgstr "Impossibile ottenere informazioni utente"
#: src/bin/edi_scm_ui.c:735
msgid "Author"
msgstr "Autore"
#: src/bin/edi_scm_ui.c:747
msgid "Show unstaged changes"
msgstr "Mostra cambiamenti non in stage"
#: src/bin/edi_scm_ui.c:786
msgid "File changes"
msgstr "Cambiamenti file"
#: src/bin/edi_scm_ui.c:810
msgid "Commit message"
msgstr "Descrizione aggiornamento"
#: src/bin/edi_scm_ui.c:815
msgid "Enter commit summary<br><br>And change details<br>"
msgstr "Inserire sommario e<br><br>dettagli aggiornamento<br>"
#: src/bin/edi_scm_ui.c:834
msgid "Source changes"
msgstr "Cambiamenti del sorgente"
#: src/bin/edi_consolepanel.c:186
#, c-format
msgid "Total pass %d (%d%%), fail %d)"
msgstr "Totale riusciti %d (%d%%), falliti %d)"

966
po/ka.po
View File

@ -1,966 +0,0 @@
# Georgian translation for edi
# Copyright (C) 2022, edi authors
# This file is distributed under the same license as the edi package.
# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: edi\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 10:24+0200\n"
"PO-Revision-Date: 2022-10-27 20:42+0200\n"
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
"Language-Team: Georgian <(nothing)>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.2\n"
#: src/bin/mainview/edi_mainview.c:464
#: src/bin/mainview/edi_mainview_panel.c:776 src/bin/screens/edi_screens.c:127
#: src/bin/screens/edi_screens.c:187 src/bin/screens/edi_screens.c:242
#: src/bin/screens/edi_welcome.c:85 src/bin/screens/edi_file_screens.c:29
#: src/bin/edi_scm_ui.c:103
msgid "OK"
msgstr "დიახ"
#: src/bin/mainview/edi_mainview.c:507
msgid "Strings cannot match."
msgstr "სტრიქონები ვერ ემთხვევა."
#: src/bin/mainview/edi_mainview.c:529
msgid "Search &amp; Replace"
msgstr "ძებნა და ჩანაცვლება"
#: src/bin/mainview/edi_mainview.c:534
msgid "Replace all occurences of text within <br>the whole project.<br>"
msgstr "ამ ტექსტის მთლიან პროექტში<br>ყველა გამოჩენის ჩანაცვლება.<br>"
#: src/bin/mainview/edi_mainview.c:545 src/bin/editor/edi_editor_search.c:514
#: src/bin/edi_main.c:497 src/bin/edi_searchpanel.c:600
#: src/bin/edi_searchpanel.c:649 src/bin/edi_searchpanel.c:677
msgid "Search"
msgstr "ძებნა"
#: src/bin/mainview/edi_mainview.c:558 src/bin/mainview/edi_mainview.c:584
#: src/bin/editor/edi_editor_search.c:522
msgid "Replace"
msgstr "შეცვლა"
#: src/bin/mainview/edi_mainview.c:577
#: src/bin/mainview/edi_mainview_panel.c:1098
#: src/bin/editor/edi_editor_search.c:530
#: src/bin/screens/edi_file_screens.c:232
#: src/bin/screens/edi_file_screens.c:293
#: src/bin/screens/edi_file_screens.c:354 src/bin/edi_searchpanel.c:633
#: src/bin/edi_scm_ui.c:877
msgid "Cancel"
msgstr "შეწყვეტა"
#: src/bin/mainview/edi_mainview_panel.c:744
msgid "Unrecognized file type"
msgstr "ფაილის უცნობი ტიპი"
#: src/bin/mainview/edi_mainview_panel.c:761
msgid ""
"To force open, select this file in the file browser, <br>and use \"open as\" "
"menu options."
msgstr ""
"ძალით გასახსნელად, მონიშნეთ ფაილი ბრაუზერში <br> და გამოიყენეთ მენიუს პუნქტი "
"\"გახსნა პროგრამით\"."
#: src/bin/mainview/edi_mainview_panel.c:1072
msgid "Enter line number"
msgstr "შეიყვანეთ ხაზის ნომერი"
#: src/bin/mainview/edi_mainview_panel.c:1104
msgid "Go"
msgstr "გადასვლა"
#: src/bin/editor/edi_editor_documentation.c:63
msgid "Parameters"
msgstr "პარამეტრები"
#: src/bin/editor/edi_editor_documentation.c:66
msgid "Returns"
msgstr "აბრუნებს"
#: src/bin/editor/edi_editor_documentation.c:69
msgid "See also"
msgstr "ასევე იხილეთ"
#: src/bin/editor/edi_editor_documentation.c:140
msgid "No help available for this term"
msgstr "ამ ელემენტისთვის დახმარება მიუწვდომელია"
#: src/bin/editor/edi_editor_documentation.c:162 src/bin/edi_main.c:1318
#: src/bin/edi_main.c:1516 src/bin/edi_scm_ui.c:670
msgid "Close"
msgstr "დაკეტვა"
#: src/bin/editor/edi_editor.c:77
msgid "Permission Denied"
msgstr "წვდომა აკრძალულია"
#: src/bin/editor/edi_editor.c:96
msgid ""
"Unable to save file. Would you like to reload <br> the contents of this file?"
msgstr ""
"ფაილის ჩაწერის შეცდომა. გნებავთ <br>ამ ფაილის შემცველობის თავიდან ჩატვირთვა?"
#: src/bin/editor/edi_editor.c:111 src/bin/editor/edi_editor.c:169
msgid "Reload"
msgstr "თავიდან ჩატვირთვა"
#: src/bin/editor/edi_editor.c:116 src/bin/editor/edi_editor.c:174
msgid "No, continue editing"
msgstr "არა, გავაგრძელოთ ჩასწორება"
#: src/bin/editor/edi_editor.c:135
msgid "Confirmation"
msgstr "დასტური"
#: src/bin/editor/edi_editor.c:154
msgid ""
"File contents have changed. Would you like to reload <br> the contents of "
"this file?"
msgstr ""
"ფაილის შემცველობა შეიცვალა. გნებავთ <br>ამ ფაილის შემცველობის თავიდან "
"ჩატვირთვა?"
#: src/bin/editor/edi_editor_search.c:463
msgid "Search term"
msgstr "ძებნის პირობა"
#: src/bin/editor/edi_editor_search.c:478
msgid "Replace term"
msgstr "ჩანაცვლების პირობა"
#: src/bin/editor/edi_editor_search.c:504
msgid "Reached end of file, starting from beginning"
msgstr "მიღწეულია ფაილის ბოლო. თავიდან დაწყება"
#: src/bin/editor/edi_editor_search.c:508
msgid "Wrap Search"
msgstr "ძებნის გადატანა"
#: src/bin/screens/edi_screens.c:46
msgid "Confirmation required"
msgstr "საჭიროა თანხმობა"
#: src/bin/screens/edi_screens.c:78
msgid "Yes"
msgstr "კი"
#: src/bin/screens/edi_screens.c:84
msgid "No"
msgstr "არა"
#: src/bin/screens/edi_screens.c:192 src/bin/edi_main.c:1321
#: src/bin/edi_main.c:1554
msgid "Settings"
msgstr "&მორგება"
#: src/bin/screens/edi_screens.c:230
#, c-format
msgid "No %s binary found, please install %s."
msgstr "%s-ის გამშვები ფაილი ვერ ვიპოვე. დააყენეთ %s."
#: src/bin/screens/edi_screens.c:233
msgid "Unable to launch SCM binary"
msgstr "SCM-ის გამშვები ფაილის შესრულების შეცდომა"
#: src/bin/screens/edi_welcome.c:93
msgid "Delete"
msgstr "წაშლა"
#: src/bin/screens/edi_welcome.c:108
msgid "That project directory no longer exists"
msgstr "პროექტის საქაღალდე აღარ არსებობს"
#: src/bin/screens/edi_welcome.c:151
msgid "Choose a Project Folder"
msgstr "აირჩიეთ პროექტის საქაღალდე"
#: src/bin/screens/edi_welcome.c:187
msgid "Select folder"
msgstr "საქაღალდეს არჩევა"
#: src/bin/screens/edi_welcome.c:421
#, c-format
msgid "%s already exists"
msgstr "%s უკვე არსებობს"
#: src/bin/screens/edi_welcome.c:494 src/bin/screens/edi_welcome.c:787
msgid "Parent Path"
msgstr "მშობელი ბილიკი"
#: src/bin/screens/edi_welcome.c:495 src/bin/screens/edi_welcome.c:788
msgid "Project Name"
msgstr "პროექტის სახელი"
#: src/bin/screens/edi_welcome.c:499
msgid "Project URL"
msgstr "პროექტი URL"
#: src/bin/screens/edi_welcome.c:501 src/bin/screens/edi_welcome.c:503
msgid "Creator Name"
msgstr "ავტორის სახელი"
#: src/bin/screens/edi_welcome.c:504
msgid "Creator Email"
msgstr "ავტორის ელფოსტა"
#: src/bin/screens/edi_welcome.c:517 src/bin/screens/edi_file_screens.c:299
#: src/bin/screens/edi_file_screens.c:360
msgid "Create"
msgstr "შექმნა"
#: src/bin/screens/edi_welcome.c:524 src/bin/screens/edi_welcome.c:974
msgid "Create New Project"
msgstr "ახალი პროექტის შექმნა"
#: src/bin/screens/edi_welcome.c:666
msgid "Templates"
msgstr "შაბლონები"
#: src/bin/screens/edi_welcome.c:678
msgid "Examples"
msgstr "მაგალითები"
#: src/bin/screens/edi_welcome.c:688
msgid "Choose"
msgstr "აირჩიეთ"
#: src/bin/screens/edi_welcome.c:698
msgid "Select Project Type"
msgstr "აირჩიეთ პროექტის ტიპი"
#: src/bin/screens/edi_welcome.c:714
msgid "Unable to clone project, please check URL or try again later"
msgstr "პროექტის კლონირების შეცდომა. გადაამოწმეთ URL და თავიდან სცადეთ"
#: src/bin/screens/edi_welcome.c:786
msgid "Source Control URL"
msgstr "კოდის კონტროლის URL"
#: src/bin/screens/edi_welcome.c:797
msgid "Checkout"
msgstr "წამოღება"
#: src/bin/screens/edi_welcome.c:809 src/bin/screens/edi_welcome.c:978
msgid "Checkout Existing Project"
msgstr "არსებული პროექტის გადმოტანა"
#: src/bin/screens/edi_welcome.c:919
msgid "Welcome to Edi"
msgstr "კეთილი იყოს თქვენი მობრძანება Edi-ში"
#: src/bin/screens/edi_welcome.c:945
msgid "Recent Projects"
msgstr "ახლახანს გახსნილი პროექტები"
#: src/bin/screens/edi_welcome.c:954
msgid "Open Existing Project"
msgstr "არსებული პროექტის გახსნა"
#: src/bin/screens/edi_welcome.c:983
msgid "Choose Project"
msgstr "აირჩიეთ პროექტი"
#: src/bin/screens/edi_file_screens.c:63
msgid "Please enter a file name."
msgstr "შეიყვანეთ ფაილის სახელი."
#: src/bin/screens/edi_file_screens.c:80
msgid "Unable to write file."
msgstr "ფაილში ჩაწერის შეცდომა."
#: src/bin/screens/edi_file_screens.c:105
msgid "Please enter a directory name."
msgstr "შეიყვანეთ საქაღალდის სწორი სახელი."
#: src/bin/screens/edi_file_screens.c:140
msgid "Please enter a valid name."
msgstr "გთხოვთ შეიყვანოთ სწორი სახელი."
#: src/bin/screens/edi_file_screens.c:151
msgid "Directory with that name already exists."
msgstr "საქაღალდე ამ სახელით უკვე არსებობს."
#: src/bin/screens/edi_file_screens.c:153
msgid "File with that name already exists."
msgstr "ფაილი ამ სახელით უკვე არსებობს."
#: src/bin/screens/edi_file_screens.c:187
msgid "Rename directory"
msgstr "საქაღალდისთვის სახელის გადარქმევა"
#: src/bin/screens/edi_file_screens.c:190
msgid "Rename file"
msgstr "ფაილის გადარქმევა"
#: src/bin/screens/edi_file_screens.c:196
msgid "Please enter a new name for this directory."
msgstr "შეიყვანეთ ამ საქაღალდის ახალი სახელი."
#: src/bin/screens/edi_file_screens.c:198
msgid "Please enter a new name for this file."
msgstr "შეიყვანეთ ამ ფაილის ახალი სახელი."
#: src/bin/screens/edi_file_screens.c:239
msgid "Rename"
msgstr "%1 სურათის სახელის გადარქმევა"
#: src/bin/screens/edi_file_screens.c:256
msgid "Enter new file name"
msgstr "შეიყვანეთ ახალი ფაილის სახელი"
#: src/bin/screens/edi_file_screens.c:266
msgid "Please enter a name for this new file."
msgstr "შეიყვანეთ ახალი ფაილის სახელი."
#: src/bin/screens/edi_file_screens.c:318
msgid "Enter new directory name"
msgstr "შეიყვანეთ ახალი საქაღალდის სახელი"
#: src/bin/screens/edi_file_screens.c:327
msgid "Please enter a name for this new directory."
msgstr "შეიყვანეთ ახალი საქაღალდის სახელი."
#: src/bin/screens/edi_settings.c:170 src/bin/screens/edi_settings.c:300
msgid "Font"
msgstr "შრიფტი"
#: src/bin/screens/edi_settings.c:287 src/bin/screens/edi_settings.c:1025
msgid "Display"
msgstr "ეკრანი"
#: src/bin/screens/edi_settings.c:319
msgid "Color theme"
msgstr "ფერის თემა"
#: src/bin/screens/edi_settings.c:352
msgid "Translucent"
msgstr "გამჭვირვალე"
#: src/bin/screens/edi_settings.c:368
msgid "Alpha"
msgstr "ალფა"
#: src/bin/screens/edi_settings.c:389
msgid "Toolbar"
msgstr "ხელსაწყოთა ზოლი"
#: src/bin/screens/edi_settings.c:401
msgid "Hide Toolbar"
msgstr "ხელსაწყოთა ზოლის დამალვა"
#: src/bin/screens/edi_settings.c:411
msgid "Horizontal Toolbar"
msgstr "ჰორიზონტალური ხელსაწყოების ზოლი"
#: src/bin/screens/edi_settings.c:422
msgid "Show Toolbar Text"
msgstr "ხელსაწყოთა ზოლის ტექსტის ჩვენება"
#: src/bin/screens/edi_settings.c:432
msgid "Internal Icons"
msgstr "შიდა ხატულები"
#: src/bin/screens/edi_settings.c:442
msgid "Editor"
msgstr "რედაქტორი"
#: src/bin/screens/edi_settings.c:454
msgid "Display line numbers"
msgstr "ხაზების ნომრების ჩვენება"
#: src/bin/screens/edi_settings.c:464
msgid "Line width marker"
msgstr "ხაზი სანიშნით"
#: src/bin/screens/edi_settings.c:484
msgid "Tabstop"
msgstr ""
#: src/bin/screens/edi_settings.c:504
msgid "Display whitespace"
msgstr "ცარიელი ადგილების ჩვეება"
#: src/bin/screens/edi_settings.c:514
msgid "Display line width marker"
msgstr "ხაზის სისქის მარკერის ჩვენება"
#: src/bin/screens/edi_settings.c:607 src/bin/screens/edi_settings.c:1027
msgid "Builds"
msgstr "აგებები"
#: src/bin/screens/edi_settings.c:618
msgid "Runtime binary"
msgstr "გამშვები ფაილი"
#: src/bin/screens/edi_settings.c:632
msgid "Select"
msgstr "აირჩიეთ"
#: src/bin/screens/edi_settings.c:652
msgid "Runtime arguments"
msgstr "გამშვების არგუმენტები"
#: src/bin/screens/edi_settings.c:671
msgid "Default debugger"
msgstr "ნაგულისხმები გამმართველი"
#: src/bin/screens/edi_settings.c:792
msgid "Project Settings"
msgstr "პროექტის პარამეტრები"
#: src/bin/screens/edi_settings.c:804
msgid "Author Name"
msgstr "ავტორის სახელი"
#: src/bin/screens/edi_settings.c:822
msgid "Author E-mail"
msgstr "ავტორის ელფოსტა"
#: src/bin/screens/edi_settings.c:843 src/bin/edi_filepanel.c:502
msgid "Source Control"
msgstr "კოდის კონტროლი"
#: src/bin/screens/edi_settings.c:859
msgid "Remote URL"
msgstr "დაშორებული URL"
#: src/bin/screens/edi_settings.c:920 src/bin/screens/edi_settings.c:1035
msgid "Behaviour"
msgstr "ქცევა"
#: src/bin/screens/edi_settings.c:924
msgid "Auto save files"
msgstr "ფაილების ავტომატური შენახვა"
#: src/bin/screens/edi_settings.c:935
msgid "Trim trailing whitespace"
msgstr "ბოლო ცარიელი ადგილის მოჭრა"
#: src/bin/screens/edi_settings.c:944
msgid "Show hidden files"
msgstr "დამალული ფაილების ჩვენება"
#: src/bin/screens/edi_settings.c:977
msgid "Edi Settings"
msgstr "Edi -ის მორგება"
#: src/bin/screens/edi_settings.c:1024 src/bin/edi_main.c:1364
msgid "Project"
msgstr "პროექტი"
#: src/bin/screens/edi_settings.c:1031
msgid "Global"
msgstr "გლობალური"
#: src/bin/screens/edi_about.c:34
#, c-format
msgid "About Edi %s"
msgstr "Edi %s-ის შესახებ"
#: src/bin/screens/edi_about.c:85
msgid ""
"<br>EDI is an IDE designed to get people into coding for Unix.<br>It's based "
"on the <b>EFL</b> and written completely natively<br>to provide a "
"<i>responsive</i> and <i>beautiful</i> UI.<br>"
msgstr ""
#: src/bin/screens/edi_about.c:94
msgid "<hilight>EDI's lovely authors</hilight>"
msgstr "<hilight>EDI-ის უსაყვარლესი ავტორები</hilight>"
#: src/bin/screens/edi_about.c:127 src/bin/edi_main.c:1379
msgid "Visit Website"
msgstr "საიტზე გადასვლა"
#: src/bin/screens/edi_about.c:139
msgid "Report Issues"
msgstr "პრობლემების შეტყობინება"
#: src/bin/edi_debugpanel.c:339 src/bin/edi_main.c:505 src/bin/edi_main.c:1548
msgid "Debug"
msgstr "პროგრამის შეცდომის პოვნა"
#: src/bin/edi_debugpanel.c:388
msgid "Start"
msgstr "გაშვება"
#: src/bin/edi_debugpanel.c:397 src/bin/edi_main.c:1323
msgid "Quit"
msgstr "&გასვლა"
#: src/bin/language/edi_language_provider_c.c:156
msgid "C header"
msgstr "C-ის თავსართი"
#: src/bin/language/edi_language_provider_c.c:158
msgid "C source"
msgstr "C-ის საწყისი კოდი"
#: src/bin/language/edi_language_provider_python.c:32
msgid "Python source"
msgstr "Python-ის კოდი"
#: src/bin/language/edi_language_provider_rust.c:32
msgid "Rust source"
msgstr "Rust-ის კოდი"
#: src/bin/edi_filepanel.c:373 src/bin/edi_filepanel.c:444
#: src/bin/edi_filepanel.c:594
#, c-format
msgid "Are you sure you want to delete <hilight>%s</hilight> ?"
msgstr "დარწმუნებული ბრძანდებით, რომ გნებავთ, წაშალოთ <hilight>%s</hilight> ?"
#: src/bin/edi_filepanel.c:482
msgid "Open"
msgstr "გახსნა"
#: src/bin/edi_filepanel.c:483
msgid "Open in New Window"
msgstr "ახალ ფანჯარაში გახსნა"
#: src/bin/edi_filepanel.c:485
msgid "Open in New Panel"
msgstr "ახალ პანელში გახსნა"
#: src/bin/edi_filepanel.c:489
msgid "Open as"
msgstr "გახსნა, როგორც"
#: src/bin/edi_filepanel.c:495
msgid "Open External"
msgstr "გარე პროგრამაში გახსნა"
#: src/bin/edi_filepanel.c:504
msgid "Undo Changes"
msgstr "ცვლილებების გაუქმება"
#: src/bin/edi_filepanel.c:510 src/bin/edi_scm_ui.c:544
msgid "Stage Changes"
msgstr "ცვლილებების რიგში ჩასმა"
#: src/bin/edi_filepanel.c:514 src/bin/edi_scm_ui.c:548
msgid "Unstage Changes"
msgstr "ცვლილებების რიგიდან მოცილება"
#: src/bin/edi_filepanel.c:519 src/bin/edi_filepanel.c:524
msgid "Rename File"
msgstr "ფაილის გადარქმევა"
#: src/bin/edi_filepanel.c:520 src/bin/edi_filepanel.c:525
msgid "Delete File"
msgstr "ფაილის წაშლა"
#: src/bin/edi_filepanel.c:639
msgid "Create File here"
msgstr "ფაილის აქ შექმნა"
#: src/bin/edi_filepanel.c:640
msgid "Create Directory here"
msgstr "საქაღალდის აქ შექმნა"
#: src/bin/edi_filepanel.c:642
msgid "Open Terminal here"
msgstr "ტერმინალის გახსნა აქ"
#: src/bin/edi_filepanel.c:646
msgid "Rename Directory"
msgstr "საქაღალდისთვის სახელის გადარქმევა"
#: src/bin/edi_filepanel.c:648
msgid "Remove Directory"
msgstr "საქაღალდის წაშლა"
#: src/bin/edi_filepanel.c:653
msgid "Open with Rage"
msgstr "Rage-ით გახსნა"
#: src/bin/edi_filepanel.c:779 src/bin/edi_scm_ui.c:291
msgid "Staged changes"
msgstr "რიგში მყოფი ცვლილებები"
#: src/bin/edi_filepanel.c:790 src/bin/edi_scm_ui.c:302
msgid "Unstaged changes"
msgstr "რიგიდან მოცილებული ცვლილებები"
#: src/bin/edi_filepanel.c:792 src/bin/edi_scm_ui.c:304
msgid "Untracked changes"
msgstr "მიუთვალყურებელი ცვლილებები"
#: src/bin/edi_filepanel.c:1229 src/bin/edi_main.c:1334
msgid "Find file"
msgstr "ფაილის ძებნა"
#: src/bin/edi_build_main.c:63
#, c-format
msgid "Project created at path %s\n"
msgstr "პროექტი შეიქმნა ბილიკზე %s\n"
#: src/bin/edi_build_main.c:66
#, c-format
msgid "Unable to create project at path %s\n"
msgstr "ბილიკზე %s პროექტის შექმნა შეუძლებელია\n"
#: src/bin/edi_build_main.c:77
#, c-format
msgid "Building \"%s\" target [%s] using [%s].\n"
msgstr "მიმდინარეობს აგება \"%s\" სამიზნე [%s] გამოიყენება [%s].\n"
#: src/bin/edi_build_main.c:83
#, c-format
msgid "Target [%s] not supported for builder [%s].\n"
msgstr "სამიზნე [%s] ამგების [%s] მიერ მხარდაჭერილი არაა.\n"
#: src/bin/edi_build_main.c:175
#, c-format
msgid "create requires 6 additional parameters:\n"
msgstr "შექმნას 6 დამატებითი პარამეტრი ესაჭიროება:\n"
#: src/bin/edi_build_main.c:190
#, c-format
msgid "example requires 3 additional parameters:\n"
msgstr "მაგალითს 3 დამატებითი პარამეტრი ესაჭიროება:\n"
#: src/bin/edi_build_main.c:203
#, c-format
msgid "Cowardly refusing to build unknown project type.\n"
msgstr "უცნობი ტიპის პროექტის აგების ცივი უარი.\n"
#: src/bin/edi_build_main.c:219
#, c-format
msgid "Unrecognized build type - try build, clean, create or test.\n"
msgstr ""
"აგების უცნობი ტიპი - სცადეთ build (აგება), clean (გასუფთავება), create "
"(შექმნა) ან test (ტესტირება).\n"
#: src/bin/edi_main.c:122
msgid "File path required"
msgstr "ფაილის ბილიკი აუცილებელია"
#: src/bin/edi_main.c:123
msgid "Please choose a file from the list."
msgstr "აირჩიეთ ფაილი სიიდან."
#: src/bin/edi_main.c:485 src/bin/edi_logpanel.c:89
msgid "Logs"
msgstr "ჟურნალი"
#: src/bin/edi_main.c:489 src/bin/edi_consolepanel.c:377
msgid "Console"
msgstr "კონსოლი"
#: src/bin/edi_main.c:493 src/bin/edi_consolepanel.c:412
msgid "Tests"
msgstr "ტესტი"
#: src/bin/edi_main.c:501 src/bin/edi_searchpanel.c:777
msgid "Tasks"
msgstr "ამოცანები"
#: src/bin/edi_main.c:640
msgid "Unable to launch"
msgstr "გაშვება შეუძლებელია"
#: src/bin/edi_main.c:641
msgid "No launch binary found, please configure in Settings."
msgstr "გამშვები ფაილები ვერ ვიპოვე. პარამეტრებში მათი მითითება აუცილებელია."
#: src/bin/edi_main.c:651
msgid "Unable to launch debugger"
msgstr "გამმართველის გაშვება შეუძლებელია"
#: src/bin/edi_main.c:652
msgid "No debug binary found, please check system configuration and Settings."
msgstr ""
"გამმართველის გამშვები ფაილები ვერ ვიპოვე. შეამოწმეთ სისტემის კონფიგურაცია და "
"პარამეტრები."
#: src/bin/edi_main.c:663
msgid "Missing user information"
msgstr "მომხმარებლის ინფორმაციის გარეშე"
#: src/bin/edi_main.c:664
msgid "No user information found, please configure in Settings."
msgstr ""
"მომხმარებლის ინფორმაცია ვერ ვიპოვე. პარამეტრებში მათი მითითება აუცილებელია."
#: src/bin/edi_main.c:777
msgid "Cowardly refusing to build unknown project type."
msgstr "უცნობი ტიპის პროექტის აგების ცივი უარი."
#: src/bin/edi_main.c:828
#, c-format
msgid "%s of project <b>%s</b> in %s failed with status code %d.\n"
msgstr "%s პროექტიდან <b>%s</b> %s-ში ავარიულად დასრულდა, კოდით: %d.\n"
#: src/bin/edi_main.c:830
#, c-format
msgid "%s of project <b>%s</b> in %s was successful.\n"
msgstr "%s პროექტიდან <b>%s</b> %s-დან წარმატებულია.\n"
#: src/bin/edi_main.c:832
#, c-format
msgid "%s %s"
msgstr "%s %s"
#: src/bin/edi_main.c:832
msgid "Failed"
msgstr "ჩაიშალა"
#: src/bin/edi_main.c:832
msgid "Passed"
msgstr "გაიარა"
#: src/bin/edi_main.c:853 src/bin/edi_main.c:1353 src/bin/edi_main.c:1354
#: src/bin/edi_main.c:1542
msgid "Build"
msgstr "აგება"
#: src/bin/edi_main.c:867 src/bin/edi_main.c:1356 src/bin/edi_main.c:1544
msgid "Clean"
msgstr "გასუფთავება"
#: src/bin/edi_main.c:881 src/bin/edi_main.c:1355 src/bin/edi_main.c:1543
msgid "Test"
msgstr "შემოწმება"
#: src/bin/edi_main.c:1231
msgid "Are you sure you wish to stash these changes?"
msgstr ""
#: src/bin/edi_main.c:1312
msgid "File"
msgstr "ფაილი"
#: src/bin/edi_main.c:1313
msgid "New Project"
msgstr "ახალი პროექტი"
#: src/bin/edi_main.c:1315
msgid "New"
msgstr "ახალი"
#: src/bin/edi_main.c:1316
msgid "New Directory"
msgstr "ახალი საქაღალდე"
#: src/bin/edi_main.c:1317 src/bin/edi_main.c:1515
msgid "Save"
msgstr "შენახვა"
#: src/bin/edi_main.c:1319
msgid "Close all"
msgstr "ყველას დახურვა"
#: src/bin/edi_main.c:1325
msgid "Edit"
msgstr "ჩასწორება"
#: src/bin/edi_main.c:1326 src/bin/edi_main.c:1521
msgid "Undo"
msgstr "დაბრუნება"
#: src/bin/edi_main.c:1327 src/bin/edi_main.c:1522
msgid "Redo"
msgstr "ბრძანების აღდგენა"
#: src/bin/edi_main.c:1329 src/bin/edi_main.c:1527
msgid "Cut"
msgstr "ამოჭრა"
#: src/bin/edi_main.c:1330 src/bin/edi_main.c:1528
msgid "Copy"
msgstr "კოპირება"
#: src/bin/edi_main.c:1331 src/bin/edi_main.c:1529
msgid "Paste"
msgstr "ჩასმა"
#: src/bin/edi_main.c:1333
msgid "Find & Replace"
msgstr "პოვნა და ჩანაცვლება"
#: src/bin/edi_main.c:1335 src/bin/edi_main.c:1535
msgid "Goto Line"
msgstr "გადასვლა ხაზზე"
#: src/bin/edi_main.c:1340
msgid "Find in project"
msgstr "პროექტში მოძებნა"
#: src/bin/edi_main.c:1341
msgid "Replace in project"
msgstr "პროექტში ჩანაცვლება"
#: src/bin/edi_main.c:1344
msgid "View"
msgstr "ნახვა"
#: src/bin/edi_main.c:1345
msgid "New Window"
msgstr "ახალი ფანჯარა"
#: src/bin/edi_main.c:1346
msgid "New Panel"
msgstr "ახალი პანელი"
#: src/bin/edi_main.c:1347
msgid "Split View"
msgstr "ხედის გაყოფა"
#: src/bin/edi_main.c:1352
msgid "Open Tasks"
msgstr "ამოცანების გახსა"
#: src/bin/edi_main.c:1358 src/bin/edi_main.c:1546
msgid "Run"
msgstr "გაშვება"
#: src/bin/edi_main.c:1359 src/bin/edi_main.c:1547
msgid "Terminate"
msgstr "შეწყვეტა"
#: src/bin/edi_main.c:1361
msgid "Debugger"
msgstr "გამმართველი"
#: src/bin/edi_main.c:1362
msgid "Memcheck"
msgstr "მეხსიერების შემოწმება"
#: src/bin/edi_main.c:1365
msgid "Init"
msgstr "ერთეული"
#: src/bin/edi_main.c:1366 src/bin/edi_scm_ui.c:887
msgid "Commit"
msgstr "გადაცემა"
#: src/bin/edi_main.c:1367
msgid "Stash"
msgstr ""
#: src/bin/edi_main.c:1369
msgid "Status"
msgstr "სტატუსი"
#: src/bin/edi_main.c:1370
msgid "Log"
msgstr "ჟურნალი"
#: src/bin/edi_main.c:1372
msgid "Push"
msgstr "გადაცემა"
#: src/bin/edi_main.c:1373
msgid "Pull"
msgstr "მიღება"
#: src/bin/edi_main.c:1376
msgid "Help"
msgstr "დახმარება"
#: src/bin/edi_main.c:1377
msgid "Documentation"
msgstr "დოკუმენტაცია"
#: src/bin/edi_main.c:1381 src/bin/edi_main.c:1555
msgid "About"
msgstr "შესახებ"
#: src/bin/edi_main.c:1514
msgid "New File"
msgstr "ახალი ფაილი"
#: src/bin/edi_main.c:1534
msgid "Find"
msgstr "მოძებნა"
#: src/bin/edi_main.c:1585
msgid "editor"
msgstr "რედაქტორი"
#: src/bin/edi_main.c:1587 src/bin/edi_scm_main.c:24
msgid "unknown"
msgstr "უცნობი"
#: src/bin/edi_main.c:1592
#, c-format
msgid "Edi :: %s (%s)"
msgstr "Edi :: %s (%s)"
#: src/bin/edi_main.c:1608
#, c-format
msgid "%s - Edi"
msgstr "%s - Edi"
#: src/bin/edi_main.c:2042
#, c-format
msgid "Could not create file (%s) (%s)\n"
msgstr "ფაილის შექმნის შეცდომა (%s) (%s)\n"
#: src/bin/edi_main.c:2048
#, c-format
msgid "Could not open file (%s) (%s)\n"
msgstr "ფაილის გახსნის შეცდომა (%s) (%s)\n"
#: src/bin/edi_main.c:2056
#, c-format
msgid "Could not open file of unsupported mime type (%s)\n"
msgstr "უცნობი mime-type-ის მქონე ფაილის გახსნა შეუძლებელია: %s\n"
#: src/bin/edi_scm_main.c:22
#, c-format
msgid "Edi Source Control :: %s (%s)"
msgstr "Edi კოდის კონტროლი :: %s (%s)"
#: src/bin/edi_scm_main.c:92
#, c-format
msgid "Root path must be a directory\n"
msgstr "საწყისი ბილიკი საქაღალდეს უნდა წარმოადგენდეს\n"
#: src/bin/edi_scm_ui.c:151
msgid "Please enter a valid commit message."
msgstr "შეიყვანეთ კომიტის სწორი შეტყობინება."
#: src/bin/edi_scm_ui.c:721
msgid "User information"
msgstr "ინფორმაცია მომხმარებელზე"
#: src/bin/edi_scm_ui.c:764
msgid "Unable to obtain user information."
msgstr "მომხმარებლის ინფორმაციის მიღების შეცდომა."
#: src/bin/edi_scm_ui.c:795
msgid "Unstaged Changes"
msgstr "რიგიდან მოცილებული ცვლილებები"
#: src/bin/edi_scm_ui.c:813
msgid "Staged Changes"
msgstr "რიგში მყოფი ცვლილებები"
#: src/bin/edi_scm_ui.c:824
msgid "Commit message"
msgstr "კომიტის შეტყობინება"
#: src/bin/edi_scm_ui.c:828
msgid "Enter commit summary<br><br>And change details<br>"
msgstr "შეიყვანეთ კომიტის მიმოხილვა<br><br>და ცვლილების დეტალები<br>"
#: src/bin/edi_scm_ui.c:844
msgid "Source changes"
msgstr "კოდის ცვლილებები"
#: src/bin/edi_consolepanel.c:160
#, c-format
msgid "Total pass %d (%d%%), fail %d)"
msgstr "სულ წარმატებული %d (%d%%), წარუმატებელი %d)"

View File

@ -534,7 +534,7 @@ _edi_project_config_load()
IFPCFG(0x0002);
_edi_project_config->font.name = eina_stringshare_add("Mono");
_edi_project_config->font.size = 10;
_edi_project_config->font.size = 11;
IFPCFGEND;
IFPCFG(0x0003);

View File

@ -37,60 +37,10 @@ edi_content_diff_add(Evas_Object *parent, Edi_Mainview_Item *item)
return diff;
}
static const char *_image_path = NULL;
static void
_item_menu_edit_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
const char *program = data;
const char *path = _image_path;
if (path)
ecore_exe_run(eina_slstr_printf("%s %s", program, path), NULL);
_image_path = NULL;
}
static Evas_Object *
_image_menu_create(const char *path)
{
Elm_Object_Item *menu_it;
Evas_Object *menu;
_image_path = path;
menu = elm_menu_add(edi_main_win_get());
menu_it = elm_menu_item_add(menu, NULL, "edit", _("Edit with..."), NULL, NULL);
if (ecore_file_app_installed("gimp"))
elm_menu_item_add(menu, menu_it, "gimp", _("Gimp"), _item_menu_edit_cb, "gimp");
if (ecore_file_app_installed("inkscape"))
elm_menu_item_add(menu, menu_it, "inkscape", _("Inkscape"), _item_menu_edit_cb, "inkscape");
return menu;
}
static void
_image_secondary_clicked_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED,
Evas_Object *obj EINA_UNUSED, void *event_info)
{
Evas_Object *menu;
Evas_Event_Mouse_Up *ev;
const char *path = data;
ev = event_info;
if (ev->button != 3) return;
menu = _image_menu_create(path);
if (!menu) return;
elm_menu_move(menu, ev->canvas.x, ev->canvas.y);
evas_object_show(menu);
}
Evas_Object *
edi_content_image_add(Evas_Object *parent, Edi_Mainview_Item *item)
{
Evas_Object *vbox, *box, *searchbar, *statusbar, *scroll, *img;
Evas_Coord w, h;
vbox = elm_box_add(parent);
evas_object_size_hint_weight_set(vbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@ -119,18 +69,13 @@ edi_content_image_add(Evas_Object *parent, Edi_Mainview_Item *item)
evas_object_size_hint_weight_set(scroll, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(scroll, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(scroll);
elm_box_pack_end(box, scroll);
img = evas_object_image_filled_add(vbox);
evas_object_image_file_set(img, item->path, NULL);
evas_object_image_size_get(img, &w, &h);
evas_object_size_hint_weight_set(img, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(img, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_aspect_set(img, EVAS_ASPECT_CONTROL_BOTH, w, h);
evas_object_size_hint_max_set(img, w, h);
evas_object_show(img);
evas_object_event_callback_add(img, EVAS_CALLBACK_MOUSE_UP, _image_secondary_clicked_cb, item->path);
img = elm_image_add(vbox);
elm_image_file_set(img, item->path, NULL);
elm_image_no_scale_set(img, EINA_TRUE);
elm_object_content_set(scroll, img);
evas_object_show(img);
elm_box_pack_end(box, scroll);
edi_content_statusbar_add(statusbar, item);
edi_content_statusbar_position_set(item->pos, 0, 0);

View File

@ -1,149 +0,0 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Eina.h>
#include <Ecore.h>
#include "edi_listen.h"
#include "mainview/edi_mainview.h"
#include "edi_private.h"
#define LISTEN_SOCKET_NAME "edi_listener"
typedef struct _Edi_Listen_Server {
Ecore_Event_Handler *handler;
Ecore_Con_Server *srv;
} Edi_Listen_Server;
static void *_edi_listener = NULL;
static Eina_Bool
_edi_listen_server_client_connect_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Con_Event_Client_Data *ev;
const char *path;
ev = event;
path = ev->data;
edi_mainview_open_path(path);
ecore_con_client_del(ev->client);
return ECORE_CALLBACK_RENEW;
}
void
edi_listen_shutdown(void)
{
Edi_Listen_Server *server = _edi_listener;
if (!server) return;
ecore_event_handler_del(server->handler);
ecore_con_server_del(server->srv);
free(server);
}
Eina_Bool
edi_listen_init(void)
{
Edi_Listen_Server *server = calloc(1, sizeof(Edi_Listen_Server));
if (!server) return EINA_FALSE;
server->srv = ecore_con_server_add(ECORE_CON_LOCAL_USER, LISTEN_SOCKET_NAME, 0, NULL);
if (!server->srv) return EINA_FALSE;
server->handler = ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_DATA, _edi_listen_server_client_connect_cb, NULL);
_edi_listener = server;
return EINA_TRUE;
}
typedef struct _Edi_Listen_Client {
Ecore_Con_Server *srv;
char *path;
Eina_Bool success;
} Edi_Listen_Client;
static Eina_Bool
_edi_listen_client_closed_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Con_Event_Server_Del *ev;
Edi_Listen_Client *client = data;
ev = event;
if (client->srv != ev->server) return ECORE_CALLBACK_RENEW;
client->success = EINA_TRUE;
return ECORE_CALLBACK_DONE;
}
static Eina_Bool
_edi_listen_client_check_timer_cb(void *data EINA_UNUSED)
{
Edi_Listen_Client *client;
static double total = 0.0;
client = data;
total += 0.1;
if (total < 3.0)
return ECORE_CALLBACK_RENEW;
if (client->success)
ecore_main_loop_quit();
else
evas_object_show(edi_main_win_get());
free(client->path);
free(client);
return ECORE_CALLBACK_DONE;
}
static Eina_Bool
_edi_listen_client_connect_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Con_Event_Server_Add *ev;
Ecore_Con_Server *srv;
Edi_Listen_Client *client;
ev = event;
srv = ev->server;
client = data;
if (client->srv != srv) return ECORE_CALLBACK_RENEW;
ecore_con_server_send(srv, client->path, 1 + strlen(client->path));
ecore_con_server_flush(srv);
return ECORE_CALLBACK_DONE;
}
Eina_Bool
edi_listen_client_add(char *path)
{
Edi_Listen_Client *client;
Ecore_Con_Server *srv = ecore_con_server_connect(ECORE_CON_LOCAL_USER, LISTEN_SOCKET_NAME, 0, NULL);
if (!srv)
{
free(path);
return EINA_FALSE;
}
client = calloc(1, sizeof(Edi_Listen_Client));
if (!client) return EINA_FALSE;
client->path = path;
client->srv = srv;
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ADD, _edi_listen_client_connect_cb, client);
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DEL, _edi_listen_client_closed_cb, client);
ecore_timer_add(0.1, _edi_listen_client_check_timer_cb, client);
return EINA_TRUE;
}

View File

@ -1,63 +0,0 @@
#ifndef EDI_LISTEN_H
#define EDI_LISTEN_H
#include <Eina.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file
* @brief Listening and sending to existing and new Edi sessions.
*/
/**
* @brief Listen communication functions.
* @defgroup Listen
*
* @{
*
* Communication between Edi sessions.
*/
/**
* Initialise and begin a listening session.
*
* @return Boolean success of initialisation.
*
* @ingroup Listen
*/
Eina_Bool
edi_listen_init();
/**
* Shutdown the listening object and any connections, freeing the object.
*
* @ingroup Listen
*/
void
edi_listen_shutdown(void);
/**
* Attempt to send a file name to an existing Edi session to open.
*
* @param path The path of the file to open.
*
* @return Boolean success of the operation.
*
* @ingroup Listen
*/
Eina_Bool
edi_listen_client_add(char *path);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif

View File

@ -12,7 +12,6 @@
#include "edi_filepanel.h"
#include "edi_file.h"
#include "edi_process.h"
#include "edi_listen.h"
#include "edi_logpanel.h"
#include "edi_consolepanel.h"
#include "edi_searchpanel.h"
@ -48,7 +47,7 @@ static Evas_Object *_edi_filepanel, *_edi_filepanel_icon;
static Evas_Object *_edi_toolbar_save, *_edi_toolbar_undo, *_edi_toolbar_redo, *_edi_toolbar_build, *_edi_toolbar_test, *_edi_toolbar_clean;
static Evas_Object *_edi_toolbar_run, *_edi_toolbar_terminate, *_edi_toolbar_hbx, *_edi_toolbar_vbx, *_edi_toolbar_main_box;
static Evas_Object *_edi_menu_save, *_edi_menu_undo, *_edi_menu_redo, *_edi_menu_build, *_edi_menu_clean, *_edi_menu_test, *_edi_menu_run, *_edi_menu_log;
static Evas_Object *_edi_menu_save, *_edi_menu_undo, *_edi_menu_redo, *_edi_menu_build, *_edi_menu_clean, *_edi_menu_test, *_edi_menu_run;
static Evas_Object *_edi_menu_init, *_edi_menu_commit, *_edi_menu_push, *_edi_menu_pull, *_edi_menu_status, *_edi_menu_stash, *_edi_menu_terminate;
static Evas_Object *_edi_main_win, *_edi_main_box;
static Eina_Bool _edi_toolbar_is_horizontal, _edi_toolbar_text_visible;
@ -232,9 +231,9 @@ _edi_slide_panel_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUS
slide = (Edi_Panel_Slide_Effect *) effect;
if (!slide->expand)
evas_object_hide(slide->content);
free(slide);
_edi_panel_size_save(slide->left);
free(slide);
}
static void
@ -472,7 +471,7 @@ edi_content_setup(Evas_Object *win, const char *path)
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
elm_toolbar_align_set(tb, 0.0);
elm_toolbar_icon_size_set(tb, 24);
elm_toolbar_icon_size_set(tb, 24 * elm_config_scale_get());
elm_object_style_set(tb, "item_horizontal");
elm_object_focus_allow_set(tb, EINA_FALSE);
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_SCROLL);
@ -626,7 +625,6 @@ _edi_icon_update()
elm_object_item_disabled_set(_edi_menu_push, !can_remote);
elm_object_item_disabled_set(_edi_menu_pull, !can_remote);
elm_object_item_disabled_set(_edi_menu_status, !can_scm);
elm_object_item_disabled_set(_edi_menu_log, !can_scm);
elm_object_item_disabled_set(_edi_menu_commit, !can_scm);
elm_object_item_disabled_set(_edi_menu_stash, !can_scm);
}
@ -1198,7 +1196,7 @@ static void
_edi_menu_scm_commit_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
char *workdir = getcwd(NULL, 0);
char *workdir = getcwd(NULL, PATH_MAX);
if (!_edi_project_credentials_check())
{
@ -1241,18 +1239,6 @@ _edi_menu_scm_status_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
edi_scm_status();
}
static void
_edi_menu_scm_log_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
char *workdir = getcwd(NULL, 0);
chdir(edi_project_get());
ecore_exe_run(eina_slstr_printf("edi_scm --log"), NULL);
chdir(workdir);
free(workdir);
}
static void
_edi_menu_scm_pull_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
@ -1345,11 +1331,11 @@ _edi_menu_setup(Evas_Object *win)
elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("window-new"), _("New Window"), _edi_menu_view_open_window_cb, NULL);
elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("object-flip-horizontal"), _("New Panel"), _edi_menu_view_new_panel_cb, NULL);
elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("object-flip-vertical"), _("Split View"), _edi_menu_view_split_cb, NULL);
elm_menu_item_separator_add(menu, menu_it);
elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("edit-find"), _("Open Tasks"), _edi_menu_view_tasks_cb, NULL);
if (edi_project_mode_get())
{
elm_menu_item_separator_add(menu, menu_it);
elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("edit-find"), _("Open Tasks"), _edi_menu_view_tasks_cb, NULL);
menu_it = elm_menu_item_add(menu, NULL, NULL, _("Build"), NULL, NULL);
_edi_menu_build = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("system-run"), _("Build"), _edi_menu_build_cb, NULL);
_edi_menu_test = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("media-record"), _("Test"), _edi_menu_test_cb, NULL);
@ -1365,10 +1351,7 @@ _edi_menu_setup(Evas_Object *win)
_edi_menu_init = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("media-playback-start"), _("Init"), _edi_menu_scm_init_cb, NULL);
_edi_menu_commit = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("mail-send"), _("Commit"), _edi_menu_scm_commit_cb, NULL);
_edi_menu_stash = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("edit-undo"), _("Stash"), _edi_menu_scm_stash_cb, NULL);
elm_menu_item_separator_add(menu, menu_it);
_edi_menu_status = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("dialog-error"), _("Status"), _edi_menu_scm_status_cb, NULL);
_edi_menu_log = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("dialog-information"), _("Log"), _edi_menu_scm_log_cb, NULL);
elm_menu_item_separator_add(menu, menu_it);
_edi_menu_push = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("go-up"), _("Push"), _edi_menu_scm_push_cb, NULL);
_edi_menu_pull = elm_menu_item_add(menu, menu_it, edi_theme_icon_path_get("go-down"), _("Pull"), _edi_menu_scm_pull_cb, NULL);
}
@ -1501,7 +1484,7 @@ edi_toolbar_setup(void)
elm_toolbar_horizontal_set(tb, _edi_project_config->gui.toolbar_horizontal);
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
elm_object_focus_allow_set(tb, EINA_TRUE);
elm_toolbar_icon_size_set(tb, 32);
elm_toolbar_icon_size_set(tb, 32 * elm_config_scale_get());
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL);
if (is_horizontal)
@ -1761,8 +1744,7 @@ _win_delete_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
edi_close();
}
Evas_Object *
edi_main_win_get(void)
Evas_Object *edi_main_win_get(void)
{
return _edi_main_win;
}
@ -1774,7 +1756,6 @@ edi_open(const char *inputpath)
Evas_Object *vbx_tb, *hbx_tb;
char *winname;
char *path;
Eina_Bool show = EINA_TRUE;
edi_project_mode_set(EINA_TRUE);
@ -1782,14 +1763,6 @@ edi_open(const char *inputpath)
{
edi_project_set(eina_environment_home_get());
edi_project_mode_set(EINA_FALSE);
path = realpath(inputpath, NULL);
if (!path) return EINA_FALSE;
if (!edi_listen_client_add(path))
edi_listen_init();
else
show = EINA_FALSE;
}
path = realpath(inputpath, NULL);
@ -1806,6 +1779,7 @@ edi_open(const char *inputpath)
if (!win) return EINA_FALSE;
_edi_main_win = win;
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
evas_object_smart_callback_add(win, "delete,request", _edi_exit, NULL);
evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _edi_resize_cb, NULL);
evas_object_smart_callback_add(win, "focused", _edi_focused_cb, NULL);
@ -1882,8 +1856,7 @@ edi_open(const char *inputpath)
ERR("Loaded project at %s", path);
evas_object_resize(win, _edi_project_config->gui.width * elm_config_scale_get(),
_edi_project_config->gui.height * elm_config_scale_get());
if (show)
evas_object_show(win);
evas_object_show(win);
if (!edi_project_mode_get())
{
@ -2066,7 +2039,6 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
end:
_edi_log_shutdown();
edi_listen_shutdown();
elm_shutdown();
edi_scm_shutdown();
edi_shutdown();

View File

@ -46,59 +46,60 @@ _win_add(Edi_Scm_Engine *engine)
return win;
}
static void
usage(void)
{
printf("Usage: edi_scm [directory]\n\n");
printf("The Enlightened IDE Source Control\n\n");
printf("Options:\n");
printf(" -c, --commit\t\topen with the commit screen.\n");
printf(" -l, --log\t\tshow scm log.\n");
printf(" -h, --help\t\tshow this message.\n");
exit(0);
}
int main(int argc, char **argv)
{
Evas_Object *win;
Edi_Scm_Engine *engine;
const char *arg, *root;
Edi_Scm_Ui_Opts options;
memset(&options, 0, sizeof(Edi_Scm_Ui_Opts));
root = NULL;
for (int i = 1; i < argc; i++)
{
arg = argv[i];
if (!strcmp("-h", arg) || !strcmp("--help", arg))
usage();
else if (!strcmp("-c", arg) || !strcmp("--commit", arg))
options.commit = EINA_TRUE;
else if (!strcmp("-l", arg) || !strcmp("--log", arg))
options.log = EINA_TRUE;
else
root = arg;
}
if (!root) root = getcwd(NULL, 0);
ecore_init();
elm_init(argc, argv);
root = NULL;
if (!ecore_file_is_dir(root))
if (argc >= 2)
{
fprintf(stderr, _("Root path must be a directory\n"));
exit(1);
arg = argv[1];
if (!strcmp("-h", arg) || !strcmp("--help", arg))
{
printf("Usage: edi_scm [directory]\n\n");
printf("The Enlightened IDE Source Control\n\n");
printf("Options:\n");
printf(" -c, --commit\t\topen with the commit screen.\n");
printf(" -h, --help\t\tshow this message.\n");
return 0;
}
if (!strcmp("-c", arg) || !strcmp("--commit", arg))
{
if (argc >= 3)
root = argv[2];
}
else
{
root = arg;
}
}
if (root)
{
if (!ecore_file_is_dir(root))
{
fprintf(stderr, _("Root path must be a directory\n"));
exit(1 << 0);
}
engine = edi_scm_init_path(realpath(root, NULL));
}
else
{
engine = edi_scm_init();
}
engine = edi_scm_init_path(realpath(root, NULL));
if (!engine)
exit(1 << 7);
exit(1 << 2);
win = _win_add(engine);
edi_scm_ui_add(win, options);
edi_scm_ui_add(win);
elm_win_center(win, EINA_TRUE, EINA_TRUE);
evas_object_show(win);

View File

@ -601,82 +601,8 @@ _avatar_effect(Evas_Object *avatar)
evas_map_free(map);
}
static void
_edi_scm_ui_close_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
ecore_main_loop_quit();
}
static Eina_Bool
_edi_scm_ui_log_fill_cb(void *data)
{
Edi_Scm_Engine *engine;
Evas_Object *entry;
Eina_List *log;
char *line;
entry = data;
engine = edi_scm_engine_get();
log = engine->log();
EINA_LIST_FREE(log, line)
{
elm_entry_entry_insert(entry, eina_slstr_printf("%s<br>", line));
free(line);
}
return ECORE_CALLBACK_CANCEL;
}
static void
_edi_scm_ui_log(Evas_Object *parent)
{
Evas_Object *bx, *hbx, *pad, *entry, *btn;
bx = elm_box_add(parent);
evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(bx);
elm_object_content_set(parent, bx);
entry = elm_entry_add(parent);
elm_entry_editable_set(entry, EINA_FALSE);
elm_entry_single_line_set(entry, EINA_FALSE);
elm_entry_scrollable_set(entry, EINA_TRUE);
elm_scroller_policy_set(entry, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_AUTO);
evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(entry);
elm_box_pack_end(bx, entry);
hbx = elm_box_add(bx);
elm_box_horizontal_set(hbx, EINA_TRUE);
evas_object_size_hint_align_set(hbx, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(hbx, EVAS_HINT_EXPAND, 0.0);
evas_object_show(hbx);
elm_box_pack_end(bx, hbx);
pad = elm_box_add(hbx);
elm_box_horizontal_set(pad, EINA_TRUE);
evas_object_size_hint_align_set(pad, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(pad, EVAS_HINT_EXPAND, 0.0);
evas_object_show(pad);
elm_box_pack_end(hbx, pad);
btn = elm_button_add(hbx);
evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(btn, 0.2, EVAS_HINT_EXPAND);
elm_object_text_set(btn, _("Close"));
evas_object_smart_callback_add(btn, "clicked", _edi_scm_ui_close_cb, NULL);
ecore_timer_add(0.1, _edi_scm_ui_log_fill_cb, entry);
evas_object_show(btn);
elm_box_pack_end(hbx, btn);
}
void
edi_scm_ui_add(Evas_Object *parent, Edi_Scm_Ui_Opts options)
edi_scm_ui_add(Evas_Object *parent)
{
Evas_Object *layout, *frame, *hbox, *cbox, *label, *avatar, *input, *button;
Evas_Object *list, *pbox;
@ -690,13 +616,7 @@ edi_scm_ui_add(Evas_Object *parent, Edi_Scm_Ui_Opts options)
engine = edi_scm_engine_get();
if (!engine)
exit(1 << 7);
if (options.log)
{
_edi_scm_ui_log(parent);
return;
}
exit(1 << 1);
pd = calloc(1, sizeof(Edi_Scm_Ui_Data));
pd->workdir = engine->root_directory;

View File

@ -12,11 +12,6 @@ extern "C" {
* @brief These routines used for managing Edi SCM UI actions.
*/
typedef struct _Edi_Scm_Ui_Opts {
Eina_Bool log;
Eina_Bool commit;
} Edi_Scm_Ui_Opts;
/**
* @brief SCM management functions.
* @defgroup SCM
@ -33,7 +28,7 @@ typedef struct _Edi_Scm_Ui_Opts {
* @param parent Parent object to add the commit UI to.
* @ingroup SCM
*/
void edi_scm_ui_add(Evas_Object *parent, Edi_Scm_Ui_Opts opts);
void edi_scm_ui_add(Evas_Object *parent);
/**
* @}
*/

View File

@ -184,6 +184,5 @@ edi_theme_internal_icons_set(Eina_Bool enabled)
Eina_Bool
edi_theme_internal_icons_get(void)
{
return EINA_FALSE;
// return _edi_theme_internal_icons;
return _edi_theme_internal_icons;
}

View File

@ -461,7 +461,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
lbl = elm_label_add(parent);
elm_object_text_set(lbl, _("Search term"));
evas_object_size_hint_align_set(lbl, 1.0, 0.5);
evas_object_size_hint_align_set(lbl, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(lbl, 0.0, 0.0);
elm_table_pack(table, lbl, 0, 0, 1, 1);
evas_object_show(lbl);
@ -476,7 +476,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
replace_lbl = elm_label_add(parent);
elm_object_text_set(replace_lbl, _("Replace term"));
evas_object_size_hint_align_set(replace_lbl, 1.0, 0.5);
evas_object_size_hint_align_set(replace_lbl, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(replace_lbl, 0.0, 0.0);
elm_table_pack(table, replace_lbl, 0, 1, 1, 1);
evas_object_show(replace_lbl);
@ -492,9 +492,10 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
box = elm_box_add(parent);
elm_box_homogeneous_set(box, EINA_FALSE);
elm_box_padding_set(box, 15, 0);
elm_box_horizontal_set(box, EINA_TRUE);
evas_object_size_hint_align_set(box, 1.0, 0.5);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(box, 1.0, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(box, 0.0, 0.0);
evas_object_show(box);
elm_box_pack_end(big_box, box);
@ -505,7 +506,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
elm_box_pack_end(box, wrapped_text);
checkbox = elm_check_add(parent);
elm_object_text_set(checkbox, _("Wrap Search"));
elm_object_text_set(checkbox, _("Wrap search?"));
elm_check_state_set(checkbox, EINA_TRUE);
evas_object_show(checkbox);
elm_box_pack_end(box, checkbox);
@ -513,7 +514,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
btn = elm_button_add(parent);
elm_object_text_set(btn, _("Search"));
evas_object_size_hint_align_set(btn, 1.0, 0.0);
evas_object_size_hint_weight_set(btn,EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(btn, 0.0, 0.0);
evas_object_show(btn);
elm_box_pack_end(box, btn);
evas_object_smart_callback_add(btn, "clicked", _edi_search_clicked, editor);
@ -521,7 +522,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
replace_btn = elm_button_add(parent);
elm_object_text_set(replace_btn, _("Replace"));
evas_object_size_hint_align_set(replace_btn, 1.0, 0.0);
evas_object_size_hint_weight_set(replace_btn, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(replace_btn, 0.0, 0.0);
evas_object_show(replace_btn);
elm_box_pack_end(box, replace_btn);
evas_object_smart_callback_add(replace_btn, "clicked", _edi_replace_clicked, editor);
@ -529,7 +530,7 @@ edi_editor_search_add(Evas_Object *parent, Edi_Editor *editor)
btn = elm_button_add(parent);
elm_object_text_set(btn, _("Cancel"));
evas_object_size_hint_align_set(btn, 1.0, 0.0);
evas_object_size_hint_weight_set(btn, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(btn, 0.0, 0.0);
evas_object_show(btn);
elm_box_pack_end(box, btn);
evas_object_smart_callback_add(btn, "clicked", _edi_cancel_clicked, editor);

View File

@ -13,7 +13,6 @@
#include "edi_language_provider_rust.c"
#include "edi_language_provider_go.c"
#include "edi_language_provider_csharp.c"
#include "edi_language_provider_shell.c"
static Edi_Language_Provider _edi_language_provider_registry[] =
{
@ -42,11 +41,6 @@ static Edi_Language_Provider _edi_language_provider_registry[] =
_edi_language_csharp_mime_name, _edi_language_csharp_snippet_get,
NULL, NULL
},
{
"shell", _edi_language_shell_add, _edi_language_shell_refresh, _edi_language_shell_del,
_edi_language_shell_mime_name, _edi_language_shell_snippet_get,
NULL, NULL
},
{NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
@ -77,8 +71,6 @@ Edi_Language_Provider *edi_language_provider_for_mime_get(const char *mime)
id = "go";
if (!strcasecmp(mime, "text/x-csharp"))
id = "csharp";
if (!strcasecmp(mime, "application/x-shellscript"))
id = "shell";
if (!id)
return NULL;

View File

@ -1,43 +0,0 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Eina.h>
#include "edi_language_provider.h"
#include "edi_config.h"
#include "edi_private.h"
void
_edi_language_shell_add(Edi_Editor *editor EINA_UNUSED)
{
}
void
_edi_language_shell_refresh(Edi_Editor *editor EINA_UNUSED)
{
}
void
_edi_language_shell_del(Edi_Editor *editor EINA_UNUSED)
{
}
const char *
_edi_language_shell_mime_name(const char *mime)
{
if (!strcasecmp(mime, "application/x-shellscript"))
return _("Shell source");
return NULL;
}
const char *
_edi_language_shell_snippet_get(const char *key)
{
(void) key;
return NULL;
}

View File

@ -371,7 +371,6 @@ edi_mainview_panel_item_select(Edi_Mainview_Panel *panel, Edi_Mainview_Item *ite
}
edi_mainview_panel_focus(panel);
_edi_mainview_panel_current_tab_show(panel);
ecore_event_add(EDI_EVENT_TAB_CHANGED, NULL, NULL, NULL);
}

View File

@ -17,8 +17,6 @@ src = files([
'edi_file.h',
'edi_filepanel.c',
'edi_filepanel.h',
'edi_listen.c',
'edi_listen.h',
'edi_logpanel.c',
'edi_logpanel.h',
'edi_main.c',

View File

@ -33,6 +33,7 @@ edi_about_show(Evas_Object *mainwin)
title_text = eina_slstr_printf(_("About Edi %s"), PACKAGE_VERSION);
elm_win_title_set(win, title_text);
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
evas_object_smart_callback_add(win, "delete,request", _edi_about_exit, win);
table = elm_table_add(win);
@ -126,7 +127,7 @@ edi_about_show(Evas_Object *mainwin)
button = elm_button_add(box);
elm_object_text_set(button, _("Visit Website"));
evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
"https://www.enlightenment.org/about-edi.md");
"http://edi-ide.com");
elm_box_pack_end(buttonbox, button);
evas_object_show(button);
@ -136,9 +137,9 @@ edi_about_show(Evas_Object *mainwin)
evas_object_show(space);
button = elm_button_add(box);
elm_object_text_set(button, _("Report Issues"));
elm_object_text_set(button, _("Report Issue"));
evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
"https://phab.enlightenment.org");
"https://github.com/Enlightenment/edi/issues/new");
elm_box_pack_end(buttonbox, button);
evas_object_show(button);
@ -147,11 +148,25 @@ edi_about_show(Evas_Object *mainwin)
elm_box_pack_end(buttonbox, space);
evas_object_show(space);
button = elm_button_add(box);
elm_object_text_set(button, _("Help Translate"));
evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
"https://www.transifex.com/enlightenment/edi-ide/languages/");
elm_box_pack_end(buttonbox, button);
evas_object_show(button);
space = elm_box_add(box);
evas_object_size_hint_min_set(space, 20 * elm_config_scale_get(), 0);
elm_box_pack_end(buttonbox, space);
evas_object_show(space);
button = elm_button_add(box);
elm_object_text_set(button, _("Donate Now"));
evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
"https://www.bountysource.com/teams/edi-ide");
elm_box_pack_end(buttonbox, button);
evas_object_show(button);
evas_object_resize(win, 520 * elm_config_scale_get(), 360 * elm_config_scale_get());
evas_object_show(win);

View File

@ -44,16 +44,16 @@ _edi_settings_panel_create(Evas_Object *parent, const char *title)
box = elm_box_add(parent);
elm_box_horizontal_set(box, EINA_FALSE);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(box);
frame = elm_frame_add(parent);
elm_object_text_set(frame, title);
elm_object_style_set(frame, "outdent_top");
elm_object_part_content_set(frame, "default", box);
evas_object_size_hint_weight_set(frame, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(frame, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(frame, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(frame, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(frame);
return frame;
@ -173,18 +173,9 @@ _edi_settings_font_choose_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
static Evas_Object *
_edi_settings_font_preview_add(Evas_Object *parent, const char *font_name, int font_size)
{
Elm_Code_Widget *widget, *table, *rect;
Elm_Code_Widget *widget;
Elm_Code *code;
table = elm_table_add(parent);
rect = evas_object_rectangle_add(evas_object_evas_get(parent));
evas_object_color_set(rect, 0, 0, 0, 0);
evas_object_size_hint_min_set(rect, 240 * elm_config_scale_get(), 40 * elm_config_scale_get());
evas_object_size_hint_weight_set(rect, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rect, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(table, rect, 0, 0, 1, 1);
code = elm_code_create();
elm_code_file_line_append(code->file, FONT_PREVIEW, 35, NULL);
@ -195,11 +186,9 @@ _edi_settings_font_preview_add(Evas_Object *parent, const char *font_name, int f
elm_code_widget_policy_set(widget, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_pass_events_set(widget, EINA_TRUE);
elm_table_pack(table, widget, 0, 0, 1, 1);
evas_object_show(widget);
return table;
return widget;
}
static void
@ -280,7 +269,7 @@ _edi_settings_display_create(Evas_Object *parent)
Eina_List *themes, *l;
container = elm_box_add(parent);
evas_object_size_hint_weight_set(container, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(container, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(container, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(container);
@ -290,7 +279,7 @@ _edi_settings_display_create(Evas_Object *parent)
elm_box_pack_end(container, frame);
table = elm_table_add(parent);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_padding_set(table, EDI_SETTINGS_TABLE_PADDING, EDI_SETTINGS_TABLE_PADDING);
evas_object_show(table);
@ -371,8 +360,8 @@ _edi_settings_display_create(Evas_Object *parent)
evas_object_show(label);
elm_object_disabled_set(slider, !_edi_project_config->gui.translucent);
evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_slider_min_max_set(slider, 0, 255);
elm_slider_value_set(slider, _edi_project_config->gui.alpha);
elm_slider_span_size_set(slider, 255);
@ -391,51 +380,71 @@ _edi_settings_display_create(Evas_Object *parent)
elm_box_pack_end(container, frame);
table = elm_table_add(parent);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_padding_set(table, EDI_SETTINGS_TABLE_PADDING, EDI_SETTINGS_TABLE_PADDING);
evas_object_show(table);
elm_box_pack_end(box, table);
check = elm_check_add(box);
elm_object_text_set(check, _("Hide Toolbar"));
elm_check_state_set(check, _edi_project_config->gui.toolbar_hidden);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_toolbar_hidden_cb, NULL);
elm_table_pack(table, check, 0, 0, 1, 1);
evas_object_show(check);
label = elm_label_add(table);
elm_object_text_set(label, _("Hide Toolbar"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 0, 0, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_check_state_set(check, _edi_project_config->gui.toolbar_hidden);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.0);
evas_object_smart_callback_add(check, "changed",
_edi_settings_toolbar_hidden_cb, NULL);
elm_table_pack(table, check, 1, 0, 1, 1);
evas_object_show(check);
label = elm_label_add(table);
elm_object_text_set(label, _("Horizontal Toolbar"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 0, 1, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_object_text_set(check, _("Horizontal Toolbar"));
elm_check_state_set(check, _edi_project_config->gui.toolbar_horizontal);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.0);
evas_object_smart_callback_add(check, "changed",
_edi_settings_toolbar_horizontal_cb, NULL);
elm_table_pack(table, check, 0, 1, 1, 1);
elm_table_pack(table, check, 1, 1, 1, 1);
evas_object_show(check);
elm_box_pack_end(box, table);
label = elm_label_add(table);
elm_object_text_set(label, _("Show Toolbar Text"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 0, 2, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_object_text_set(check, _("Show Toolbar Text"));
elm_check_state_set(check, _edi_project_config->gui.toolbar_text_visible);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.0);
evas_object_smart_callback_add(check, "changed",
_edi_settings_toolbar_text_visible_cb, NULL);
evas_object_show(check);
elm_table_pack(table, check, 0, 2, 1, 1);
elm_table_pack(table, check, 1, 2, 1, 1);
label = elm_label_add(table);
elm_object_text_set(label, _("Internal Icons"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 0, 3, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_object_text_set(check, _("Internal Icons"));
elm_check_state_set(check, _edi_project_config->gui.internal_icons);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.0);
evas_object_smart_callback_add(check, "changed",
_edi_settings_internal_icons_changed_cb, NULL);
elm_table_pack(table, check, 0, 3, 1, 1);
elm_table_pack(table, check, 1, 3, 1, 1);
evas_object_show(check);
elm_box_pack_end(box, table);
@ -444,25 +453,62 @@ _edi_settings_display_create(Evas_Object *parent)
elm_box_pack_end(container, frame);
table = elm_table_add(parent);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, 0.0);
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_padding_set(table, EDI_SETTINGS_TABLE_PADDING, EDI_SETTINGS_TABLE_PADDING);
evas_object_show(table);
elm_box_pack_end(box, table);
label = elm_label_add(table);
elm_object_text_set(label, _("Display line numbers"));
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(label, EVAS_HINT_FILL, 0.5);
elm_table_pack(table, label, 0, 0, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_object_text_set(check, _("Display line numbers"));
elm_check_state_set(check, _edi_project_config->gui.show_line_numbers);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(check, 0.0, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_display_line_numbers_cb, NULL);
elm_table_pack(table, check, 0, 0, 2, 1);
elm_table_pack(table, check, 1, 0, 1, 1);
evas_object_show(check);
label = elm_label_add(table);
elm_object_text_set(label, _("Display whitespace"));
evas_object_size_hint_align_set(label, 0.0, 0.5);
elm_table_pack(table, label, 3, 0, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_check_state_set(check, _edi_project_config->gui.show_whitespace);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_display_whitespace_cb, NULL);
elm_table_pack(table, check, 2, 0, 1, 1);
evas_object_show(check);
label = elm_label_add(box);
elm_object_text_set(label, _("Display line width marker"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(label, 0.0, 0.5);
evas_object_show(label);
elm_table_pack(table, label, 3, 1, 1, 1);
check = elm_check_add(box);
elm_check_state_set(check, _edi_project_config->gui.show_width_marker);
evas_object_size_hint_weight_set(check, 0, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_display_show_width_marker_cb, NULL);
evas_object_show(check);
elm_table_pack(table, check, 2, 1, 1, 1);
label = elm_label_add(box);
elm_object_text_set(label, _("Line width marker"));
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(label, 1.0, 0.5);
elm_table_pack(table, label, 0, 1, 1, 1);
evas_object_show(label);
@ -474,7 +520,7 @@ _edi_settings_display_create(Evas_Object *parent)
elm_spinner_wrap_set(spinner, EINA_FALSE);
elm_spinner_min_max_set(spinner, 0, 1024);
evas_object_size_hint_weight_set(spinner, 0.0, 0.0);
evas_object_size_hint_align_set(spinner, 0.0, 0.5);
evas_object_size_hint_align_set(spinner, 0.0, 0.95);
evas_object_smart_callback_add(spinner, "changed",
_edi_settings_display_width_marker_cb, NULL);
elm_table_pack(table, spinner, 1, 1, 1, 1);
@ -482,8 +528,7 @@ _edi_settings_display_create(Evas_Object *parent)
label = elm_label_add(box);
elm_object_text_set(label, _("Tabstop"));
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(label, 1.0, 0.5);
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 0, 2, 1, 1);
evas_object_show(label);
@ -494,34 +539,19 @@ _edi_settings_display_create(Evas_Object *parent)
elm_spinner_wrap_set(spinner, EINA_FALSE);
elm_spinner_min_max_set(spinner, 1, 32);
evas_object_size_hint_weight_set(spinner, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(spinner, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_align_set(spinner, 0.0, 0.95);
evas_object_smart_callback_add(spinner, "changed",
_edi_settings_display_tabstop_cb, NULL);
elm_table_pack(table, spinner, 1, 2, 1, 1);
evas_object_show(spinner);
check = elm_check_add(box);
elm_object_text_set(check, _("Display whitespace"));
elm_check_state_set(check, _edi_project_config->gui.show_whitespace);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_display_whitespace_cb, NULL);
elm_table_pack(table, check, 2, 0, 1, 1);
evas_object_show(check);
label = elm_label_add(box);
elm_object_text_set(label, ("Insert spaces when tab is pressed"));
evas_object_size_hint_align_set(label, EVAS_HINT_EXPAND, 0.5);
elm_table_pack(table, label, 3, 2, 1, 1);
evas_object_show(label);
check = elm_check_add(box);
elm_object_text_set(check, _("Display line width marker"));
elm_check_state_set(check, _edi_project_config->gui.show_width_marker);
evas_object_size_hint_weight_set(check, 0.0, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_display_show_width_marker_cb, NULL);
evas_object_show(check);
elm_table_pack(table, check, 2, 1, 1, 1);
check = elm_check_add(box);
elm_object_text_set(check, ("Insert spaces when tab is pressed"));
elm_check_state_set(check, _edi_project_config->gui.tab_inserts_spaces);
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(check, 0.0, 0.5);
@ -529,7 +559,6 @@ _edi_settings_display_create(Evas_Object *parent)
_edi_settings_display_tab_inserts_spaces_cb, NULL);
elm_table_pack(table, check, 2, 2, 1, 1);
evas_object_show(check);
elm_box_pack_end(box, table);
return container;
@ -923,8 +952,8 @@ _edi_settings_behaviour_create(Evas_Object *parent)
check = elm_check_add(box);
elm_object_text_set(check, _("Auto save files"));
elm_check_state_set(check, _edi_config->autosave);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
elm_box_pack_end(box, check);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_behaviour_autosave_cb, NULL);
evas_object_show(check);
@ -934,8 +963,8 @@ _edi_settings_behaviour_create(Evas_Object *parent)
check = elm_check_add(box);
elm_object_text_set(check, _("Trim trailing whitespace"));
elm_check_state_set(check, _edi_config->trim_whitespace);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
elm_box_pack_end(box, check);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_behaviour_trim_whitespace_cb, NULL);
evas_object_show(check);
@ -943,8 +972,8 @@ _edi_settings_behaviour_create(Evas_Object *parent)
check = elm_check_add(box);
elm_object_text_set(check, _("Show hidden files"));
elm_check_state_set(check, _edi_config->show_hidden);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
elm_box_pack_end(box, check);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, 0.5);
evas_object_smart_callback_add(check, "changed",
_edi_settings_behaviour_show_hidden_cb, NULL);
evas_object_show(check);

View File

@ -36,18 +36,9 @@ static Eina_Hash *fonthash = NULL;
static Evas_Object *
_edi_settings_font_preview_add(Evas_Object *parent, const char *font_name, int font_size)
{
Elm_Code_Widget *widget, *table, *rect;
Elm_Code_Widget *widget;
Elm_Code *code;
table = elm_table_add(parent);
rect = evas_object_rectangle_add(evas_object_evas_get(parent));
evas_object_color_set(rect, 0, 0, 0, 0);
evas_object_size_hint_min_set(rect, 240 * elm_config_scale_get(), 40 * elm_config_scale_get());
evas_object_size_hint_weight_set(rect, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rect, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(table, rect, 0, 0, 1, 1);
code = elm_code_create();
elm_code_file_line_append(code->file, FONT_PREVIEW, 35, NULL);
@ -56,15 +47,11 @@ _edi_settings_font_preview_add(Evas_Object *parent, const char *font_name, int f
elm_code_widget_line_numbers_set(widget, EINA_TRUE);
elm_code_widget_editable_set(widget, EINA_FALSE);
elm_code_widget_policy_set(widget, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_weight_set(widget, 0.5, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_pass_events_set(widget, EINA_TRUE);
elm_table_pack(table, widget, 0, 0, 1, 1);
evas_object_show(widget);
evas_object_data_set(table, "code", widget);
return table;
return widget;
}
#if 0
@ -217,15 +204,30 @@ _cb_op_font_sort(const void *d1, const void *d2)
static Evas_Object *
_cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
{
Evas_Object *o;
Evas_Object *box, *label;
Font *f = data;
if (strcmp(part, "elm.swallow.end")) return NULL;
if (strcmp(part, "elm.swallow.content"))
return NULL;
o = _edi_settings_font_preview_add(obj, f->full_name,
_edi_project_config->font.size);
f->widget = evas_object_data_get(o, "code");
return o;
box = elm_box_add(obj);
elm_box_horizontal_set(box, EINA_TRUE);
elm_box_homogeneous_set(box, EINA_TRUE);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(box);
label = elm_label_add(obj);
elm_object_text_set(label, f->pretty_name);
evas_object_size_hint_weight_set(label, 0.5, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(label, 0.0, EVAS_HINT_FILL);
evas_object_show(label);
elm_box_pack_end(box, label);
f->widget = _edi_settings_font_preview_add(box, f->full_name,
_edi_project_config->font.size);
elm_box_pack_end(box, f->widget);
return box;
}
static char *
@ -316,7 +318,7 @@ edi_settings_font_add(Evas_Object *opbox)
evas_object_show(bx);
it_class = elm_genlist_item_class_new();
it_class->item_style = "default";
it_class->item_style = "full";
it_class->func.text_get = _cb_op_font_text_get;
it_class->func.content_get = _cb_op_font_content_get;
@ -336,6 +338,11 @@ edi_settings_font_add(Evas_Object *opbox)
{
f = calloc(1, sizeof(Font));
_parse_font_name(fname, &f->full_name, &f->pretty_name);
if (!strcasestr(f->full_name, "mono"))
{
free(f);
continue;
}
eina_hash_add(fonthash, eina_stringshare_add(fname), f);
fonts = eina_list_append(fonts, f);
f->item = it = elm_genlist_item_append(o, it_class, f, NULL,

View File

@ -151,6 +151,7 @@ _edi_welcome_project_choose_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNU
win = elm_win_util_standard_add("projectselector", _("Choose a Project Folder"));
if (!win) return;
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
evas_object_smart_callback_add(win, "delete,request", _edi_welcome_choose_exit, win);
fs = elm_fileselector_add(win);
@ -508,8 +509,6 @@ _edi_welcome_project_details(Evas_Object *naviframe, Edi_Template *template)
elm_table_pack(content, label, _EDI_WELCOME_PROJECT_NEW_TABLE_WIDTH - 4, row, 2, 1);
_edi_create_progress = pb = elm_progressbar_add(content);
evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_progressbar_pulse_set(pb, EINA_TRUE);
elm_table_pack(content, pb, _EDI_WELCOME_PROJECT_NEW_TABLE_WIDTH - 4, row, 2, 1);
@ -555,51 +554,47 @@ _content_get(void *data, Evas_Object *obj, const char *source)
frame = elm_frame_add(obj);
elm_object_style_set(frame, "pad_medium");
evas_object_size_hint_weight_set(frame, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(frame, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(frame, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(frame);
box = elm_box_add(obj);
elm_box_horizontal_set(box, EINA_TRUE);
elm_box_align_set(box, 0, 0);
elm_object_content_set(frame, box);
evas_object_show(box);
lbox = elm_box_add(box);
evas_object_size_hint_weight_set(lbox, 0.0, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(lbox, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_horizontal_set(lbox, EINA_TRUE);
evas_object_show(lbox);
elm_object_content_set(frame, box);
image = elm_image_add(box);
evas_object_size_hint_weight_set(image, 0.0, 0.0);
evas_object_size_hint_align_set(image, 0.5, 0.5);
evas_object_size_hint_min_set(image, 80 * elm_config_scale_get(), 80 * elm_config_scale_get());
evas_object_size_hint_min_set(image, 96 * elm_config_scale_get(), 96 * elm_config_scale_get());
elm_image_file_set(image, template->edje_path, template->edje_id);
elm_box_pack_end(lbox, image);
evas_object_show(image);
elm_box_pack_end(lbox, image);
rbox = elm_box_add(box);
elm_box_horizontal_set(box, EINA_TRUE);
evas_object_size_hint_weight_set(rbox, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(rbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rbox, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(rbox);
entry = elm_entry_add(box);
evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_entry_editable_set(entry, EINA_FALSE);
elm_entry_scrollable_set(entry, EINA_FALSE);
elm_entry_single_line_set(entry, EINA_FALSE);
elm_entry_line_wrap_set(entry, ELM_WRAP_WORD);
evas_object_show(entry);
content = eina_slstr_printf("<b>%s</b><br><br>%s", template->title, template->desc);
elm_object_text_set(entry, content);
elm_box_pack_end(rbox, entry);
evas_object_show(entry);
elm_box_pack_end(box, lbox);
evas_object_show(lbox);
elm_box_pack_end(box, rbox);
evas_object_show(rbox);
return frame;
}
@ -686,7 +681,7 @@ _edi_welcome_project_new_cb(void *data, Evas_Object *obj EINA_UNUSED, void *even
button = elm_button_add(content);
elm_object_text_set(button, _("Choose"));
evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, 0.1);
evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_data_set(button, "selected", list);
evas_object_smart_callback_add(button, "clicked", _edi_welcome_button_clicked_cb, naviframe);
@ -920,6 +915,7 @@ Evas_Object *edi_welcome_show()
if (!win) return NULL;
_welcome_window = win;
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
evas_object_smart_callback_add(win, "delete,request", _edi_welcome_exit, win);
naviframe = elm_naviframe_add(win);

View File

@ -54,8 +54,7 @@ edi_mime_type_get(const char *path)
eina_file_close(f);
mime = efreet_mime_type_get(path);
if (!strcmp(mime, "application/x-shellscript")) return mime;
if ((mime) && (strncmp(mime, "text/", 5)) && (likely_text))
if (mime && (strncmp(mime, "text/", 5)) && likely_text)
{
return "text/plain";
}

View File

@ -17,33 +17,6 @@
*/
#include <Eina.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_EDI_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
# else
# define EAPI __declspec(dllimport)
# endif /* ! EFL_EDI_BUILD */
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
# else
# define EAPI
# endif
#endif /* ! _WIN32 */
#include <stdint.h>
#include <unistd.h>
@ -78,7 +51,7 @@ typedef struct _Edi_Proc_Stats
*
* @return Pointer to object containing the process information or NULL if non-existent.
*/
EAPI Edi_Proc_Stats *edi_process_stats_by_pid(int pid);
Edi_Proc_Stats *edi_process_stats_by_pid(int pid);
/**

View File

@ -25,7 +25,7 @@ _edi_scm_exec(const char *command)
if (!self) return -1;
oldpwd = getcwd(NULL, 0);
oldpwd = getcwd(NULL, PATH_MAX);
chdir(self->root_directory);
code = edi_exe_wait(command);
@ -44,7 +44,7 @@ _edi_scm_exec_response(const char *command)
if (!self) return NULL;
oldpwd = getcwd(NULL, 0);
oldpwd = getcwd(NULL, PATH_MAX);
chdir(self->root_directory);
response = edi_exe_response(command);
@ -61,7 +61,7 @@ edi_scm_git_new(void)
int code;
char *oldpwd;
oldpwd = getcwd(NULL, 0);
oldpwd = getcwd(NULL, PATH_MAX);
chdir(edi_project_get());
code = edi_exe_wait("git init .");
@ -95,7 +95,7 @@ edi_scm_git_update(const char *dir)
char *oldpwd;
int code;
oldpwd = getcwd(NULL, 0);
oldpwd = getcwd(NULL, PATH_MAX);
chdir(dir);
code = edi_exe_wait("git fetch origin && git reset --hard origin/master");
@ -220,48 +220,6 @@ _edi_scm_git_status(void)
return code;
}
static void
_chomp(char *s)
{
while (*s)
{
if (*s == '\r' || *s == '\n')
{
*s = 0;
return;
}
++s;
}
}
static Eina_List *
_edi_scm_git_log(void)
{
FILE *p;
Eina_Strbuf *command;
char buf[4096];
Eina_List *lines = NULL;
command = eina_strbuf_new();
eina_strbuf_append(command, "git log");
p = popen(eina_strbuf_string_get(command), "r");
if (!p) return NULL;
while ((fgets(buf, sizeof(buf), p)) != NULL)
{
_chomp(buf);
lines = eina_list_append(lines, strdup(buf));
}
eina_strbuf_free(command);
pclose(p);
return lines;
}
static Edi_Scm_Status *
_parse_line(char *line)
{
@ -811,14 +769,6 @@ edi_scm_diff(Eina_Bool cached)
return e->diff(cached);
}
EAPI Eina_List *
edi_scm_log(void)
{
Edi_Scm_Engine *e = edi_scm_engine_get();
return e->log();
}
EAPI void
edi_scm_stash(void)
{
@ -897,7 +847,6 @@ _edi_scm_git_init(const char *rootdir)
engine->file_undo = _edi_scm_git_file_undo;
engine->move = _edi_scm_git_file_move;
engine->status = _edi_scm_git_status;
engine->log = _edi_scm_git_log;
engine->diff = _edi_scm_git_diff;
engine->commit = _edi_scm_git_commit;
engine->pull = _edi_scm_git_pull;
@ -972,7 +921,7 @@ edi_scm_init(void)
if (edi_project_get())
return edi_scm_init_path(edi_project_get());
cwd = getcwd(NULL, 0);
cwd = getcwd(NULL, PATH_MAX);
engine = edi_scm_init_path(cwd);
free(cwd);
return engine;

View File

@ -41,7 +41,6 @@ typedef int (scm_fn_del)(const char *path);
typedef int (scm_fn_move)(const char *src, const char *dest);
typedef int (scm_fn_commit)(const char *message);
typedef int (scm_fn_status)(void);
typedef Eina_List *(scm_fn_log)(void);
typedef char *(scm_fn_diff)(Eina_Bool);
typedef int (scm_fn_push)(void);
typedef int (scm_fn_pull)(void);
@ -71,7 +70,6 @@ typedef struct _Edi_Scm_Engine
scm_fn_move *move;
scm_fn_commit *commit;
scm_fn_status *status;
scm_fn_log *log;
scm_fn_diff *diff;
scm_fn_file_status *file_status;
scm_fn_push *push;
@ -102,7 +100,7 @@ typedef struct _Edi_Scm_Engine
*
* @ingroup Scm
*/
EAPI Edi_Scm_Engine *edi_scm_init();
Edi_Scm_Engine *edi_scm_init();
/**
* Init the SCM system for the specified path.
@ -118,7 +116,7 @@ EAPI Edi_Scm_Engine *edi_scm_init_path(const char *path);
*
* @ingroup Scm
*/
EAPI void edi_scm_shutdown();
void edi_scm_shutdown();
/**
* Set up a new git repository for the current project.
@ -160,7 +158,7 @@ EAPI int edi_scm_git_update(const char *dir);
*
* @ingroup Scm
*/
EAPI Edi_Scm_Engine *edi_scm_engine_get(void);
Edi_Scm_Engine *edi_scm_engine_get(void);
/**
* Stage file for commit with SCM.
@ -170,7 +168,7 @@ EAPI Edi_Scm_Engine *edi_scm_engine_get(void);
*
* @ingroup Scm
*/
EAPI int edi_scm_stage(const char *path);
int edi_scm_stage(const char *path);
/**
* Unstage file from commit.
@ -180,7 +178,7 @@ EAPI int edi_scm_stage(const char *path);
*
* @ingroup Scm
*/
EAPI int edi_scm_unstage(const char *path);
int edi_scm_unstage(const char *path);
/**
* Reset file changes to last commit state.
@ -190,7 +188,7 @@ EAPI int edi_scm_unstage(const char *path);
*
* @ingroup Scm
*/
EAPI int edi_scm_undo(const char *path);
int edi_scm_undo(const char *path);
/**
* Del file from those monitored by SCM.
@ -200,7 +198,7 @@ EAPI int edi_scm_undo(const char *path);
*
* @ingroup Scm
*/
EAPI int edi_scm_del(const char *path);
int edi_scm_del(const char *path);
/**
* Set commit message for next commit to SCM.
@ -209,24 +207,16 @@ EAPI int edi_scm_del(const char *path);
*
* @ingroup Scm
*/
EAPI void edi_scm_commit(const char *message);
void edi_scm_commit(const char *message);
/**
* Get status of repository.
*
* @ingroup Scm
*/
EAPI void edi_scm_status(void);
void edi_scm_status(void);
/**
* Get log of repository.
*
* @ingroup Scm
*/
EAPI Eina_List *edi_scm_log(void);
/**
*
* Get file status within repository.
*
* @param path The file path.
@ -234,14 +224,14 @@ EAPI Eina_List *edi_scm_log(void);
*
* @ingroup Scm
*/
EAPI Edi_Scm_Status_Code edi_scm_file_status(const char *path);
Edi_Scm_Status_Code edi_scm_file_status(const char *path);
/**
* Get status of repository.
*
* @return State whether a change was registered (true/false).
*/
EAPI Eina_Bool edi_scm_status_get(void);
Eina_Bool edi_scm_status_get(void);
/**
* Get diff of changes in repository.
@ -250,7 +240,7 @@ EAPI Eina_Bool edi_scm_status_get(void);
*
* @return diff output as a string.
*/
EAPI char *edi_scm_diff(Eina_Bool cached);
char *edi_scm_diff(Eina_Bool cached);
/**
* Move from src to dest.
@ -261,7 +251,7 @@ EAPI char *edi_scm_diff(Eina_Bool cached);
* @return The status code of command executed.
* @ingroup Scm
*/
EAPI int edi_scm_move(const char *src, const char *dest);
int edi_scm_move(const char *src, const char *dest);
/**
* Set user credentials for the SCM system.
@ -273,28 +263,28 @@ EAPI int edi_scm_move(const char *src, const char *dest);
*
* @ingroup Scm
*/
EAPI int edi_scm_credentials_set(const char *user, const char *email);
int edi_scm_credentials_set(const char *user, const char *email);
/**
* Push to SCM remote repository.
*
* @ingroup Scm
*/
EAPI void edi_scm_push(void);
void edi_scm_push(void);
/**
* Pull from SCM remote repository.
*
* @ingroup Scm
*/
EAPI void edi_scm_pull(void);
void edi_scm_pull(void);
/**
* Stash local changes.
*
* @ingroup Scm
*/
EAPI void edi_scm_stash(void);
void edi_scm_stash(void);
/**
* Set remote url for SCM.
@ -305,7 +295,7 @@ EAPI void edi_scm_stash(void);
*
* @ingroup Scm
*/
EAPI int edi_scm_remote_add(const char *remote_url);
int edi_scm_remote_add(const char *remote_url);
/**
* Test whether SCM is enabled for this project.
@ -314,7 +304,7 @@ EAPI int edi_scm_remote_add(const char *remote_url);
*
* @ingroup Scm
*/
EAPI Eina_Bool edi_scm_enabled(void);
Eina_Bool edi_scm_enabled(void);
/**
* Test whether SCM has a remote enabled for this project.
@ -323,7 +313,7 @@ EAPI Eina_Bool edi_scm_enabled(void);
*
* @ingroup Scm
*/
EAPI Eina_Bool edi_scm_remote_enabled(void);
Eina_Bool edi_scm_remote_enabled(void);
/**
* Get the URL to an avatar image for the user (based on email).
@ -332,7 +322,7 @@ EAPI Eina_Bool edi_scm_remote_enabled(void);
*
* @ingroup Scm
*/
EAPI const char *edi_scm_avatar_url_get(const char *email);
const char *edi_scm_avatar_url_get(const char *email);
/**
@ -342,7 +332,7 @@ EAPI const char *edi_scm_avatar_url_get(const char *email);
*
* @ingroup Scm
*/
EAPI const char *edi_scm_root_directory_get(void);
const char *edi_scm_root_directory_get(void);
/**
* @}