diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d20ef271..9090e51f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: image: ghcr.io/elementary/docker:${{ matrix.version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: | apt update @@ -46,11 +46,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU for aarch64 emulation if: ${{ matrix.arch != 'x86_64' }} - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: arm64 @@ -73,7 +73,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint run: io.elementary.vala-lint -d . diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 7800ff902..3f5087d51 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -17,7 +17,7 @@ jobs: apt-get install git -y - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GIT_USER_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc7c64885..6d9a340a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: elementary/actions/release@master env: GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" diff --git a/data/Application.css b/data/Application.css index 4020d41d6..f607b3d3e 100644 --- a/data/Application.css +++ b/data/Application.css @@ -20,3 +20,52 @@ textview.scrubber { border: 0; } +.fuzzy-popover { + padding-top: 0.5rem; + padding-bottom: 1rem; +} + +.fuzzy-popover entry { + margin-left: 1rem; + margin-right: 1rem; +} + +.fuzzy-popover scrolledwindow { + margin-top: 1rem; +} + +.fuzzy-list { + background-color: transparent; +} + +.fuzzy-item { + padding: 0.5rem; + margin-left: 10px; + margin-right: 10px; + background-color: transparent; +} + +.fuzzy-item.preselect-fuzzy, +.fuzzy-item:hover { + border-radius: 0.5rem; +} + +.fuzzy-item:hover { + background-color: @theme_unfocused_selected_bg_color; +} + +.fuzzy-item.preselect-fuzzy { + background-color: @selected_bg_color; +} + +.fuzzy-item .fuzzy-file-icon { + margin-right: 0.5rem; +} + +.fuzzy-item label:nth-child(1) { + font-weight: 700; +} + +.fuzzy-item.preselect-fuzzy label { + opacity: 0.7; +} diff --git a/data/code.metainfo.xml.in b/data/code.metainfo.xml.in index d4ded035c..0e3fa26c8 100644 --- a/data/code.metainfo.xml.in +++ b/data/code.metainfo.xml.in @@ -29,10 +29,10 @@ - https://raw.githubusercontent.com/elementary/code/7.1.0/data/screenshot.png + https://raw.githubusercontent.com/elementary/code/7.2.0/data/screenshot.png - https://raw.githubusercontent.com/elementary/code/7.1.0/data/screenshot-dark.png + https://raw.githubusercontent.com/elementary/code/7.2.0/data/screenshot-dark.png @@ -66,6 +66,45 @@ contact_AT_elementary.io + + +

Improvements:

+
    +
  • When opening a file in Code from the commandline or another app, a line/char position or selection range may be specified
  • +
  • Add a fuzzy-find plugin which finds files in all open projects
  • +
  • Save and restore the state of the terminal pane
  • +
+

Minor updates:

+
    +
  • "Find in Folder" now works for all folders and text files, not only ".vala" files
  • +
  • "Follow System Style" is now fully respected
  • +
  • The "--new-tab" commandline option now works
  • +
  • The symbol pane width is now synchronised and saved
  • +
  • Project folders are automatically closed if they are externally renamed, moved or deleted
  • +
  • Fixed temporary backup files persisting under some circumstances
  • +
  • The Show-Replace action has been improved
  • +
  • Updated translations
  • +
+
+ + Terminal extension open in current directory + Add fuzzy-finder-like way of opening documents within the active project + Leave terminal open when all tabs are closed + Expose "Go To Line" feature externally + Terminal automatically "cd" to project folder in the sidebar + Sidebar may show incorrect project structure + Searching within a folder should ignore global filters + New Document tab label changes when another tab is closed + Synchronise and save symbol outline width + A backup file remains after closing a document that has trailing spaces + System theme change not fully respected if Code already running + Highlighted text isn't used with Ctrl-R shortcut + "new-tab" command line option not working + Text view not refocused after pressing Escape in Search bar + Open Folder Button in Welcome View doesn't work + +
+

Improvements:

diff --git a/data/io.elementary.code.gschema.xml b/data/io.elementary.code.gschema.xml index d0bad47f8..f390b8b18 100644 --- a/data/io.elementary.code.gschema.xml +++ b/data/io.elementary.code.gschema.xml @@ -22,11 +22,6 @@ The saved state of the window. The saved state of the window. - - (-1, -1) - Window position - Most recent window position (x, y) - (850, 550) Most recent window size @@ -52,6 +47,16 @@ Symbol outline visibility Whether or not the symbol outline is visible + + 160 + Symbol outline width + Width of the symbol outline sidebar + + + false + Terminal visibility + Whether or not the terminal pane is visible + '' Last opened path diff --git a/meson.build b/meson.build index 57876f8ce..76541ff9d 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project( 'io.elementary.code', 'vala', 'c', meson_version: '>= 0.58.0', - version: '7.1.0' + version: '7.2.0' ) add_project_arguments([ diff --git a/plugins/fuzzy-search/file-item.vala b/plugins/fuzzy-search/file-item.vala new file mode 100644 index 000000000..62d5a6e46 --- /dev/null +++ b/plugins/fuzzy-search/file-item.vala @@ -0,0 +1,58 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + * Colin Kiama + */ + +public class FileItem : Gtk.ListBoxRow { + private SearchResult result; + + public string filepath { + get { + return result.full_path; + } + } + public FileItem (SearchResult res, bool should_distinguish_project = false) { + this.get_style_context ().add_class ("fuzzy-item"); + this.get_style_context ().add_class ("flat"); + + result = res; + Icon icon; + var path_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 1); + path_box.valign = Gtk.Align.CENTER; + + var path_label = new Gtk.Label ( + @"$(should_distinguish_project ? result.project + " • " : "")$(result.relative_path)" + ); + + path_label.halign = Gtk.Align.START; + + var filename_label = new Gtk.Label (Path.get_basename (result.relative_path)); + filename_label.halign = Gtk.Align.START; + + try { + var fi = File.new_for_path (result.full_path); + var info = fi.query_info ("standard::*", 0); + icon = ContentType.get_icon (info.get_content_type ()); + } catch (Error e) { + icon = ContentType.get_icon ("text/plain"); + } + + var image = new Gtk.Image.from_gicon (icon, Gtk.IconSize.DND); + image.get_style_context ().add_class ("fuzzy-file-icon"); + + path_box.add (filename_label); + path_box.add (path_label); + + var container_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 1) { + valign = Gtk.Align.CENTER + }; + + container_box.add (image); + container_box.add (path_box); + + this.child = container_box; + } +} diff --git a/plugins/fuzzy-search/fuzzy-finder.vala b/plugins/fuzzy-search/fuzzy-finder.vala new file mode 100644 index 000000000..770f46d57 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-finder.vala @@ -0,0 +1,315 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + * Colin Kiama + */ + +const int SEPARATOR_BONUS = 30; // bonus if match occurs after a separator +const int SEQUENTIAL_BONUS = 40; // bonus for adjacent matches +const int CURRENT_PROJECT_PRIORITY_BONUS = 40; // Bonus if search result is for current project +const int CAMEL_BONUS = 30; // bonus if match is uppercase and prev is lower +const int FIRST_LETTER_BONUS = 15; // bonus if the first letter is matched +const int LEADING_LETTER_PENALTY = -5; // penalty applied for every letter in str before the first match +const int MAX_LEADING_LETTER_PENALTY = -15; // maximum penalty for leading letters +const int UNMATCHED_LETTER_PENALTY = -1; + +public class Scratch.Services.FuzzyFinder { + private class RecursiveFinder { + int recursion_limit; + int max_matches; + int recursion_count; + + public RecursiveFinder (int limit = 10, int mx_mtchs = 40) { + recursion_limit = limit; + max_matches = mx_mtchs; + recursion_count = 0; + } + + private bool limit_reached () { + return recursion_count >= recursion_limit; + } + + public SearchResult fuzzy_match_recursive (string pattern, uint dir_length, string str, GLib.Cancellable cancellable) { + var matches = new Gee.ArrayList (); + return fuzzy_match_recursive_internal (pattern, dir_length, str, 0, 0, 0, cancellable, matches); + } + + private SearchResult fuzzy_match_recursive_internal (string pattern, + uint dir_length, + string str, + int pattern_current_index, + int str_current_index, + int next_match, + GLib.Cancellable cancellable, + Gee.ArrayList matches, + Gee.ArrayList? src_matches = null) { + var out_score = 0; + // Recursion params + bool recursive_match = false; + var best_recursive_matches = new Gee.ArrayList (); + var best_recursive_score = 0; + // Loop through pattern and str looking for a match. + bool first_match = true; + bool allowed_separators = true; + recursion_count++; + if (cancellable.is_cancelled () || limit_reached ()) { + return new SearchResult (false, out_score); + } + + // Return if we reached ends of strings. + if (pattern_current_index == pattern.length || str_current_index == str.length) { + return new SearchResult (false, out_score); + } + + while (pattern_current_index < pattern.length && str_current_index < str.length) { + if (cancellable.is_cancelled ()) { + return new SearchResult (false, out_score); + } + + var lower_case_char = pattern.get_char (pattern_current_index).tolower (); + var lower_case_str_char = str.get_char (str_current_index).tolower (); + + + // Match found. + if (lower_case_char == lower_case_str_char) { + // specified directory must match at start + if (dir_length > 0 && pattern_current_index == 0) { + if ( str_current_index > 0 && str.get_char (str_current_index - 1).tolower () != Path.DIR_SEPARATOR) { + break; + } + } + + allowed_separators = false; + if (next_match >= max_matches) { + return new SearchResult (false, out_score); + } + + if (first_match && src_matches != null) { + matches.clear (); + matches.insert_all (0, src_matches); + first_match = false; + } + + var recursive_matches = new Gee.ArrayList (); + var recursive_result_search = fuzzy_match_recursive_internal ( + pattern, + dir_length, + str, + pattern_current_index, + str_current_index + 1, + next_match, + cancellable, + recursive_matches, + matches + ); + + if (recursive_result_search.found) { + // Pick best recursive score. + if (!recursive_match || recursive_result_search.score > best_recursive_score) { + best_recursive_matches.clear (); + best_recursive_matches.insert_all (0, recursive_matches); + best_recursive_score = recursive_result_search.score; + } + recursive_match = true; + } + + if (matches.size <= next_match) { + matches.add (str_current_index); + } + + ++next_match; + ++pattern_current_index; + } else if (pattern_current_index > 0 && pattern_current_index <= dir_length) { // specified dir must match sequentially + break; + } else if (lower_case_str_char == Path.DIR_SEPARATOR && !allowed_separators) { // no splitting across directories + break; + } + + ++str_current_index; + } + + var matched = pattern_current_index == pattern.length; + if (matched) { + out_score = 100; + + // Apply leading letter penalty + var penalty = LEADING_LETTER_PENALTY * matches[0]; + penalty = + penalty < MAX_LEADING_LETTER_PENALTY + ? MAX_LEADING_LETTER_PENALTY + : penalty; + out_score += penalty; + + //Apply unmatched penalty + var unmatched = str.length - next_match; + out_score += UNMATCHED_LETTER_PENALTY * unmatched; + + // Apply ordering bonuses + for (var i = 0; i < next_match; i++) { + if (cancellable.is_cancelled ()) { + return new SearchResult (false, out_score); + } + + var current_index = matches[i]; + + if (i > 0) { + var previous_index = matches[i - 1]; + + if (current_index == previous_index + 1) { + out_score += SEQUENTIAL_BONUS; + } + } + + // Check for bonuses based on neighbor character value. + if (current_index > 0) { + // Camel case + var neighbor = str[current_index - 1]; + var curr = str[current_index]; + if (neighbor != neighbor.toupper () && curr != curr.tolower ()) { + out_score += CAMEL_BONUS; + } + + bool is_neighbour_separator = neighbor == '_' || neighbor == ' '; + if (is_neighbour_separator) { + out_score += SEPARATOR_BONUS; + } + } else { + // First letter + out_score += FIRST_LETTER_BONUS; + } + } + + // Return best result + if (out_score <= 0) { + return new SearchResult (false, out_score); + } else if (recursive_match && (!matched || best_recursive_score > out_score)) { + // Recursive score is better than "this" + matches.insert_all (0, best_recursive_matches); + out_score = best_recursive_score; + return new SearchResult (true, out_score); + } else if (matched) { + // "this" score is better than recursive + return new SearchResult (true, out_score); + } else { + return new SearchResult (false, out_score); + } + } + return new SearchResult (false, out_score); + } + } + + int recursion_limit; + int max_matches; + Gee.HashMap project_paths; + + public FuzzyFinder (Gee.HashMap pps, int limit = 10, int mx_mtchs = 256) { + max_matches = mx_mtchs; + recursion_limit = limit; + project_paths = pps; + } + + public async Gee.ArrayList fuzzy_find_async (string search_str, uint dir_length, + string current_project, + GLib.Cancellable cancellable) { + var results = new Gee.ArrayList (); + + SourceFunc callback = fuzzy_find_async.callback; + new Thread ("fuzzy-find", () => { + results = fuzzy_find (search_str, dir_length, current_project, cancellable); + Idle.add ((owned) callback); + }); + + yield; + return results; + } + + public Gee.ArrayList fuzzy_find (string search_str, uint dir_length, + string current_project, + GLib.Cancellable cancellable) { + var results = new Gee.ArrayList (); + var projects = project_paths.values.to_array (); + + for (int i = 0; i < projects.length; i++) { + if (cancellable.is_cancelled ()) { + if (results.size <= 20) { + return results; + } + + return (Gee.ArrayList) results.slice (0, 20); + } + + var project = projects[i]; + + for (int j = 0; j < project.relative_file_paths.size; j++) { + if (cancellable.is_cancelled ()) { + return results; + } + + var path = project.relative_file_paths[j]; + SearchResult path_search_result; + SearchResult filename_search_result; + + // If there is more than one project prepend the project name + // to the front of the path + // This helps to search for specific files only in one project, e.g. + // "code/fuzfind" will probably only return fuzzy_finder.vala from this project + // even if their is a "fuzzy_finder" file in another project + string project_name = ""; + + project_name = project_paths.size > 1 ? Path.get_basename (project.root_path) : ""; + if (dir_length > 0 || project_paths.size == 1) { + path_search_result = fuzzy_match (search_str, dir_length, path, cancellable); + } else { + path_search_result = fuzzy_match (search_str, dir_length, @"$project_name/$path", cancellable); + } + + if (dir_length == 0) { + string filename = Path.get_basename (path); + filename_search_result = fuzzy_match (search_str, dir_length, filename, cancellable); + } else { + filename_search_result = new SearchResult (false, 0); + } + + var root_path = project.root_path; + + if (filename_search_result.found) { + filename_search_result.relative_path = path; + filename_search_result.full_path = @"$root_path/$path"; + filename_search_result.project = project_name; + filename_search_result.score += project.root_path == current_project + ? CURRENT_PROJECT_PRIORITY_BONUS + : 0; + + results.add (filename_search_result); + } else if (path_search_result.found) { + path_search_result.relative_path = path; + path_search_result.full_path = @"$root_path/$path"; + path_search_result.project = project_name; + path_search_result.score = (int) (path_search_result.score * 0.2) + + (project.root_path == current_project + ? CURRENT_PROJECT_PRIORITY_BONUS + : 0); + + results.add (path_search_result); + } + } + } + + results.sort ((a, b) => { + return b.score - a.score; + }); + + if (results.size <= 20) { + return results; + } + + return (Gee.ArrayList) results.slice (0, 20); + } + + private SearchResult fuzzy_match (string pattern, uint dir_length, string str, GLib.Cancellable cancellable) { + var finder = new RecursiveFinder (recursion_limit, max_matches); + return finder.fuzzy_match_recursive (pattern, dir_length, str, cancellable); + } +} diff --git a/plugins/fuzzy-search/fuzzy-search-indexer.vala b/plugins/fuzzy-search/fuzzy-search-indexer.vala new file mode 100644 index 000000000..4c02bd344 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-search-indexer.vala @@ -0,0 +1,315 @@ +/* +* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-FileCopyrightText: 2023 elementary, Inc. +* +* Authored by: Colin Kiama +*/ +const long SECONDS_IN_MICROSECONDS = 1000000; // 1 Million microseconds = 1 second; + +public enum IndexerMessageType { + INITIAL, + PROJECT_UPDATE +} + +public enum IndexerStatus { + INITIALISING, + INITIAL_PROCESSING, + IDLE, + PROCESSING +} + +public enum ProjectUpdateType { + ADDED, + REMOVED, + FILE_CREATED, + DIRECTORY_CREATED, + FILE_DELETED +} + +public interface IndexerMessage : GLib.Object { + public abstract IndexerMessageType message_type { get; construct; } +} + +public class InitialIndexRequest : GLib.Object, IndexerMessage { + public IndexerMessageType message_type { get; construct; } + public string project_path { get; construct; } + + public InitialIndexRequest (string project_path) { + Object ( + message_type: IndexerMessageType.INITIAL, + project_path: project_path + ); + } +} + +public class ProjectUpdate : GLib.Object, IndexerMessage { + public IndexerMessageType message_type { get; construct; } + public ProjectUpdateType update_type { get; construct; } + public string source_path { get; construct; } + public string? destination_path { get; construct; } + public string? project_path { get; construct; } + + public ProjectUpdate (ProjectUpdateType update_type, string source_path, string? destination_path = null) { + Object ( + message_type: IndexerMessageType.PROJECT_UPDATE, + update_type: update_type, + source_path: source_path, + destination_path: destination_path + ); + } +} + +public class Scratch.Services.FuzzySearchIndexer : GLib.Object { + public Gee.HashMap project_paths { get; private set; } + + private Gee.ArrayList initial_indexing_queue; + private GLib.Settings folder_settings; + private GLib.Cancellable cancellable; + private Gee.ConcurrentList processing_queue; + private IndexerStatus status; + + public FuzzySearchIndexer (GLib.Cancellable cancellable) { + this.cancellable = cancellable; + status = IndexerStatus.INITIALISING; + initial_indexing_queue = new Gee.ArrayList (); + processing_queue = new Gee.ConcurrentList (); + project_paths = new Gee.HashMap (); + + folder_settings = new GLib.Settings ("io.elementary.code.folder-manager"); + folder_settings.changed["opened-folders"].connect (handle_opened_projects_change); + } + + public void handle_folder_item_change (GLib.File source, GLib.File? dest, GLib.FileMonitorEvent event) { + switch (event) { + case GLib.FileMonitorEvent.CREATED: + string path = source.get_path (); + bool is_directory = FileUtils.test (path, GLib.FileTest.IS_DIR); + + var project_update = new ProjectUpdate ( + is_directory ? ProjectUpdateType.DIRECTORY_CREATED : ProjectUpdateType.FILE_CREATED, + path + ); + + processing_queue.add (project_update); + break; + case GLib.FileMonitorEvent.DELETED: + string path = source.get_path (); + + var project_update = new ProjectUpdate (ProjectUpdateType.FILE_DELETED, path); + processing_queue.add (project_update); + break; + default: + break; + } + } + + public async void start_async () { + string[] initial_projects = folder_settings.get_strv ("opened-folders"); + if (initial_projects != null) { + foreach (unowned string path in initial_projects) { + initial_indexing_queue.add (new InitialIndexRequest (path)); + } + } + + new Thread (null, () => { + while (cancellable.is_cancelled () == false) { + switch (status) { + case IndexerStatus.INITIALISING: + if (initial_indexing_queue.size < 1 ) { + status = IndexerStatus.IDLE; + debug ("Find Project Files: Indexer is now idle!\n"); + break; + } + + if (initial_indexing_queue.size > 0) { + process_initial_indexing_requests_async.begin ( + initial_indexing_queue, + project_paths, + (obj, res) => { + process_initial_indexing_requests_async.end (res); + status = IndexerStatus.IDLE; + }); + + status = IndexerStatus.INITIAL_PROCESSING; + debug ("Find Project Files: Indexer is now doing initial processing!"); + } + + break; + // Indexer initialization is complete, now waiting for incoming messages to process. + case IndexerStatus.IDLE: + if (processing_queue.size > 0) { + var first_item = processing_queue.get (0); + process_next_message_async.begin (first_item, (obj, res) => { + process_next_message_async.end (res); + processing_queue.remove (first_item); + status = IndexerStatus.IDLE; + debug ("Find Project Files: Indexer is now idle!"); + }); + + status = IndexerStatus.PROCESSING; + debug ("Find Project Files: Indexer now processing!"); + } + break; + case IndexerStatus.INITIAL_PROCESSING: + case IndexerStatus.PROCESSING: + break; + default: + break; + } + + Thread.usleep (1 * SECONDS_IN_MICROSECONDS); + } + + folder_settings.changed["opened-folders"].disconnect (handle_opened_projects_change); + Idle.add (start_async.callback); + }); + + yield; + } + + private async void process_next_message_async (IndexerMessage message) { + switch (message.message_type) { + case IndexerMessageType.PROJECT_UPDATE: + process_project_update_async.begin ((ProjectUpdate) message, (obj, res) => { + process_project_update_async.end (res); + }); + + break; + default: + break; + } + } + + private async void process_project_update_async (ProjectUpdate message) { + switch (message.update_type) { + case ProjectUpdateType.ADDED: + add_project_async.begin (message, (obj, res) => { + add_project_async.end (res); + debug ("Find Project Files: Added project: %s", message.source_path); + }); + + break; + case ProjectUpdateType.REMOVED: + remove_project (message); + debug ("Find Project Files: Removed project: %s", message.source_path); + break; + case ProjectUpdateType.FILE_CREATED: + add_file (message); + debug ("Find Project Files: Added file: %s", message.source_path); + + break; + case ProjectUpdateType.DIRECTORY_CREATED: + add_directory_async.begin (message, (obj, res) => { + add_directory_async.end (res); + debug ("Find Project Files: Added directory: %s", message.source_path); + }); + + break; + case ProjectUpdateType.FILE_DELETED: + remove_file (message); + debug ("Find Project Files: Deleted directory: %s", message.source_path); + break; + } + } + + private void remove_file (ProjectUpdate message) { + string path = message.source_path; + string project_key = get_project_path_of_file (path); + if (project_key == null) { + return; + } + + Services.SearchProject project_search = project_paths[project_key]; + project_search.remove_file (path, this.cancellable); + processing_queue.remove (message); + } + + private void add_file (ProjectUpdate message) { + string path = message.source_path; + string project_key = get_project_path_of_file (path); + if (project_key == null) { + return; + } + + Services.SearchProject project_search = project_paths[project_key]; + project_search.add_file (path, this.cancellable); + processing_queue.remove (message); + } + + private async void add_directory_async (ProjectUpdate message) { + string path = message.source_path; + string project_key = get_project_path_of_file (path); + if (project_key == null) { + return; + } + + Services.SearchProject project_search = project_paths[project_key]; + project_search.add_directory_async.begin (path, this.cancellable, (obj, res) => { + project_search.add_directory_async.end (res); + processing_queue.remove (message); + }); + } + + private async void add_project_async (ProjectUpdate message) { + string path = message.source_path; + var monitor = Services.GitManager.get_monitored_repository (path); + var project_search = new Services.SearchProject (path, monitor); + project_paths[path] = project_search; + + project_search.parse_async.begin (path, this.cancellable, (obj, res) => { + project_search.parse_async.end (res); + processing_queue.remove (message); + }); + } + + private void remove_project (ProjectUpdate message) { + string path = message.source_path; + project_paths.unset (path); + } + + private void handle_opened_projects_change () { + string[] opened_projects_array = folder_settings.get_strv ("opened-folders"); + var opened_projects = new Gee.ArrayList.wrap (opened_projects_array); + // Handle project additions + foreach (string project in opened_projects) { + if (project_paths.keys.contains (project) == false) { + processing_queue.add (new ProjectUpdate (ProjectUpdateType.ADDED, project)); + } + } + + // Handle project removals + foreach (string project in project_paths.keys) { + if (opened_projects.contains (project) == false) { + processing_queue.add ( new ProjectUpdate (ProjectUpdateType.REMOVED, project)); + } + } + } + + private async void process_initial_indexing_requests_async ( + Gee.ArrayList request_queue, + Gee.HashMap project_paths) { + for (int i = 0; i < request_queue.size; i++) { + var request = request_queue[i]; + var monitor = Services.GitManager.get_monitored_repository (request.project_path); + var project_search = new Services.SearchProject (request.project_path, monitor); + + project_paths[request.project_path] = project_search; + project_search.parse_async.begin (request.project_path, cancellable, (obj, res) => { + project_search.parse_async.end (res); + request_queue.remove (request); + }); + } + } + + private string? get_project_path_of_file (string file_path) { + var iter = project_paths.keys.iterator (); + while (iter.next ()) { + string project_path = iter.get (); + if (file_path.has_prefix (project_path)) { + return project_path; + } + } + + return null; + } +} diff --git a/plugins/fuzzy-search/fuzzy-search-popover.vala b/plugins/fuzzy-search/fuzzy-search-popover.vala new file mode 100644 index 000000000..a6e5f8d53 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-search-popover.vala @@ -0,0 +1,298 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + * Colin Kiama + */ + +public class Scratch.FuzzySearchPopover : Gtk.Popover { + private Gtk.SearchEntry search_term_entry; + private Services.FuzzyFinder fuzzy_finder; + private Gtk.ListBox search_result_container; + private int preselected_index; + private Gtk.ScrolledWindow scrolled; + private Gee.ArrayList items; + private Scratch.Services.FuzzySearchIndexer indexer; + private int window_height; + private int max_items; + private Gee.LinkedList cancellables; + private Gtk.EventControllerKey search_term_entry_key_controller; + private Gtk.Label title_label; + public Scratch.MainWindow current_window { get; construct; } + public bool sidebar_is_visible { get; set; } + + public signal void open_file (string filepath); + public signal void close_search (); + + public FuzzySearchPopover (Scratch.Services.FuzzySearchIndexer search_indexer, Scratch.MainWindow window) { + Object ( + modal: true, + relative_to: window.document_view, + width_request: 500, + current_window: window + ); + + int height; + current_window.get_size (null, out height); + window_height = height; + + fuzzy_finder = new Services.FuzzyFinder (search_indexer.project_paths); + indexer = search_indexer; + items = new Gee.ArrayList (); + cancellables = new Gee.LinkedList (); + + // Limit the shown results if the window height is too small + if (window_height > 400) { + max_items = 5; + } else { + max_items = 3; + } + + scrolled.set_max_content_height (45 /* height */ * max_items); + } + + private void calculate_scroll_offset (int old_position, int new_position) { + // Shortcut if jumping from first to last or the other way round + if (new_position == 0 && old_position > new_position) { + scrolled.vadjustment.value = 0; + return; + } else if (old_position == 0 && new_position == items.size - 1) { + scrolled.vadjustment.value = scrolled.vadjustment.get_upper (); + return; + } + + var size_box = scrolled.vadjustment.get_upper () / items.size; + var current_top = scrolled.vadjustment.value; + var current_bottom = current_top + size_box * (max_items - 2); + if (old_position < new_position) { + // Down movement + var new_adjust = size_box * (preselected_index); + if (new_adjust >= current_bottom) { + scrolled.vadjustment.value = size_box * (preselected_index - (max_items - 1)); + } + } else if (old_position > new_position) { + // Up movement + var new_adjust = size_box * (preselected_index); + if (new_adjust < current_top) { + scrolled.vadjustment.value = new_adjust; + } + } + } + + construct { + pointing_to = { 0, 32, 1, 1 }; + this.get_style_context ().add_class ("fuzzy-popover"); + + title_label = new Gtk.Label (_("Find project files")); + title_label.halign = Gtk.Align.START; + title_label.get_style_context ().add_class ("h4"); + + search_term_entry = new Gtk.SearchEntry (); + search_term_entry.halign = Gtk.Align.FILL; + search_term_entry.hexpand = true; + + search_result_container = new Gtk.ListBox () { + selection_mode = Gtk.SelectionMode.NONE, + activate_on_single_click = true, + can_focus = false + }; + + search_result_container.get_style_context ().add_class ("fuzzy-list"); + + search_result_container.row_activated.connect ((row) => { + var file_item = row as FileItem; + if (file_item == null) { + return; + } + + handle_item_selection (items.index_of (file_item)); + }); + + search_term_entry_key_controller = new Gtk.EventControllerKey (search_term_entry); + search_term_entry_key_controller.key_pressed.connect ((keyval, keycode, state) => { + // Handle key up/down to select other files found by fuzzy search + switch (keyval) { + case Gdk.Key.Down: + if (items.size > 0) { + var old_index = preselected_index; + var item = items.get (preselected_index++); + if (preselected_index >= items.size) { + preselected_index = 0; + } + + var next_item = items.get (preselected_index); + preselect_new_item (item, next_item); + calculate_scroll_offset (old_index, preselected_index); + } + + return true; + case Gdk.Key.Up: + if (items.size > 0) { + var old_index = preselected_index; + var item = items.get (preselected_index--); + if (preselected_index < 0) { + preselected_index = items.size - 1; + } + + var next_item = items.get (preselected_index); + preselect_new_item (item, next_item); + calculate_scroll_offset (old_index, preselected_index); + } + return true; + case Gdk.Key.Escape: + // Handle seperately, otherwise it takes 2 escape hits to close the modal + close_search (); + return true; + default: + break; + } + + return false; + }); + + search_term_entry.activate.connect (() => { + if (items.size > 0) { + handle_item_selection (preselected_index); + } + }); + + search_term_entry.changed.connect ((e) => { + if (search_term_entry.text.length >= 1) { + var previous_text = search_term_entry.text; + if (cancellables.size > 0) { + var last_cancellable = cancellables.last (); + last_cancellable.cancel (); + } + + Timeout.add (1, () => { + // If the entry is empty or the text has changed + // since searching, do nothing + if (previous_text.length == 0 || previous_text != search_term_entry.text) { + return Source.REMOVE; + } + + var next_cancellable = new GLib.Cancellable (); + cancellables.add (next_cancellable); + + var dir_length = 0, term = search_term_entry.text; + var parts = term.split (Path.DIR_SEPARATOR_S, 0); + var rev_parts = term.reverse ().split (Path.DIR_SEPARATOR_S, 2); + if (rev_parts.length == 2) { + dir_length = rev_parts[0].length + 1; + } + + fuzzy_finder.fuzzy_find_async.begin (term, dir_length, + get_current_project (), + next_cancellable, + (obj, res) => { + if (next_cancellable.is_cancelled ()) { + cancellables.remove (next_cancellable); + return; + } + + var results = fuzzy_finder.fuzzy_find_async.end (res); + if (results == null) { + return; + } + + bool first = true; + + + + foreach (var c in search_result_container.get_children ()) { + search_result_container.remove (c); + } + + items.clear (); + + foreach (var result in results) { + var file_item = new FileItem (result, indexer.project_paths.size > 1); + file_item.can_focus = false; + + if (first) { + first = false; + file_item.get_style_context ().add_class ("preselect-fuzzy"); + preselected_index = 0; + } + + search_result_container.add (file_item); + items.add (file_item); + } + + scrolled.hide (); + scrolled.show_all (); + + // Reset scrolling + scrolled.vadjustment.value = 0; + }); + + return Source.REMOVE; + }); + } else { + foreach (var c in search_result_container.get_children ()) { + search_result_container.remove (c); + } + + items.clear (); + scrolled.hide (); + } + }); + + var entry_layout = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); + entry_layout.valign = Gtk.Align.START; + + entry_layout.add (title_label); + entry_layout.add (search_term_entry); + search_term_entry.valign = Gtk.Align.START; + + scrolled = new Gtk.ScrolledWindow (null, null) { + propagate_natural_height = true, + hexpand = true, + }; + + scrolled.add (search_result_container); + + var box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); + box.pack_start (entry_layout, false, false); + box.pack_end (scrolled, true, true); + box.show_all (); + + scrolled.hide (); + this.add (box); + } + + private void handle_item_selection (int index) { + var item = items.get (index); + open_file (item.filepath.strip ()); + } + + private void preselect_new_item (FileItem old_item, FileItem new_item) { + var class_name = "preselect-fuzzy"; + old_item.get_style_context ().remove_class (class_name); + new_item.get_style_context ().add_class (class_name); + } + + private string get_current_project () { + Scratch.Services.Document current_document = current_window.document_view.current_document; + if (current_document == null) { + return ""; + } + + if (current_document.is_file_temporary) { + return ""; + } + + string file_path = current_document.file.get_path (); + + var iter = indexer.project_paths.keys.iterator (); + while (iter.next ()) { + string project_path = iter.get (); + if (file_path.has_prefix (project_path)) { + return project_path; + } + } + + return ""; + } + } diff --git a/plugins/fuzzy-search/fuzzy-search-project.vala b/plugins/fuzzy-search/fuzzy-search-project.vala new file mode 100644 index 000000000..a87430683 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-search-project.vala @@ -0,0 +1,148 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + * Authored by: Colin Kiama + */ + +public class Scratch.Services.SearchProject { + public string root_path { get; private set; } + public Gee.ArrayList relative_file_paths { get; private set; } + private MonitoredRepository? monitored_repo; + + public SearchProject (string root, MonitoredRepository? repo) { + root_path = root; + monitored_repo = repo; + relative_file_paths = new Gee.ArrayList (); + } + + public async void parse_async (string path, GLib.Cancellable cancellable) { + new Thread (null, () => { + parse_async_internal.begin (path, cancellable, (obj, res) => { + parse_async_internal.end (res); + }); + + Idle.add (parse_async.callback); + }); + + yield; + } + + public void remove_file (string path, GLib.Cancellable cancellable) { + if (cancellable.is_cancelled ()) { + return; + } + + string subpath = path.replace (root_path, ""); + string deleted_path = subpath.substring (1, subpath.length - 1); + + // Remove File + if (relative_file_paths.contains (deleted_path)) { + relative_file_paths.remove (deleted_path); + return; + } + + int start_length = relative_file_paths.size; + // Remove directory + for (int i = start_length - 1; i > -1; i--) { + string relative_path = relative_file_paths[i]; + if (relative_path.has_prefix (deleted_path)) { + relative_file_paths.remove (relative_path); + } + } + + } + + public void add_file (string path, GLib.Cancellable cancellable) { + if (cancellable.is_cancelled ()) { + return; + } + + try { + // Don't use paths which are ignored from .gitignore + if (monitored_repo != null && monitored_repo.path_is_ignored (path)) { + return; + } + } catch (Error e) { + warning ("An error occurred while checking if item '%s' is git-ignored: %s", path, e.message); + } + + string subpath = path.replace (root_path, ""); + relative_file_paths.add (subpath.substring (1, subpath.length - 1)); + } + + public async void add_directory_async (string path, GLib.Cancellable cancellable) { + parse_async_internal.begin (path, cancellable, (obj, res) => { + parse_async_internal.end (res); + }); + } + + private async void parse_async_internal (string path, GLib.Cancellable cancellable) { + if (cancellable.is_cancelled ()) { + return; + } + + try { + // Ignore dot-prefixed directories + string path_basename = Path.get_basename (path); + if (FileUtils.test (path, GLib.FileTest.IS_DIR) && path_basename.has_prefix (".")) { + return; + } + + try { + // Don't use paths which are ignored from .gitignore + if (monitored_repo != null && monitored_repo.path_is_ignored (path)) { + return; + } + } catch (Error e) { + warning ("An error occurred while checking if item '%s' is git-ignored: %s", path, e.message); + } + + var dir = Dir.open (path); + var name = dir.read_name (); + + while (name != null) { + if (cancellable.is_cancelled ()) { + return; + } + + var new_search_path = ""; + if (path.has_suffix (GLib.Path.DIR_SEPARATOR_S)) { + new_search_path = path.substring (0, path.length - 1); + } else { + new_search_path = path; + } + + parse_async_internal.begin ( + new_search_path + GLib.Path.DIR_SEPARATOR_S + name, + cancellable, + (obj, res) => { + parse_async_internal.end (res); + }); + + name = dir.read_name (); + } + } catch (FileError e) { + // This adds branch is reached when a non-directory was reached, i.e. is a file + // If a file was reached, add it's relative path (starting after the project root path) + // to the list. + + // Relative paths are used because the longer the path is the less accurate are the results + if (check_if_valid_path_to_add (path)) { + string subpath = path.replace (root_path, ""); + relative_file_paths.add (subpath.substring (1, subpath.length - 1)); + } + } + } + + private bool check_if_valid_path_to_add (string path) { + try { + File file = File.new_for_path (path); + var file_info = file.query_info ("standard::*", 0); + return Utils.check_if_valid_text_file (path, file_info); + } catch (Error e) { + return false; + } + } +} diff --git a/plugins/fuzzy-search/fuzzy-search.plugin b/plugins/fuzzy-search/fuzzy-search.plugin new file mode 100644 index 000000000..57b3e4f42 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-search.plugin @@ -0,0 +1,9 @@ +[Plugin] +Module=fuzzy-search +Loader=C +IAge=1 +Name=Find Project Files +Description=Fuzzy search for files in all open projects (Show using ALT + F) +Icon=system-search +Authors=Marvin Ahlgrimm;Colin Kiama +Copyright=Copyright © 2021 Marvin Ahlgrimm diff --git a/plugins/fuzzy-search/fuzzy-search.vala b/plugins/fuzzy-search/fuzzy-search.vala new file mode 100644 index 000000000..ea07cd4e5 --- /dev/null +++ b/plugins/fuzzy-search/fuzzy-search.vala @@ -0,0 +1,121 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + */ + + +public class Scratch.Plugins.FuzzySearch: Peas.ExtensionBase, Peas.Activatable { + public Object object { owned get; construct; } + private const uint ACCEL_KEY = Gdk.Key.F; + private const Gdk.ModifierType ACCEL_MODTYPE = Gdk.ModifierType.MOD1_MASK; + + private Scratch.Services.FuzzySearchIndexer indexer; + private MainWindow window = null; + private Scratch.Services.Interface plugins; + private Gtk.EventControllerKey key_controller; + private Gtk.MenuItem fuzzy_menuitem; + private GLib.Cancellable cancellable; + + public void update_state () { + + } + + public void activate () { + plugins = (Scratch.Services.Interface) object; + + plugins.hook_window.connect ((w) => { + if (window != null) { + return; + } + + cancellable = new GLib.Cancellable (); + indexer = new Scratch.Services.FuzzySearchIndexer (cancellable); + + indexer.start_async.begin ((obj, res) => { + indexer.start_async.end (res); + }); + + window = w; + key_controller = new Gtk.EventControllerKey (window) { + propagation_phase = BUBBLE + }; + + key_controller.key_pressed.connect (on_window_key_press_event); + + fuzzy_menuitem = new Gtk.MenuItem.with_label (_("Find Project Files")); + var child = ((Gtk.Bin)fuzzy_menuitem).get_child (); + if (child is Gtk.AccelLabel) { + ((Gtk.AccelLabel)child).set_accel (ACCEL_KEY, ACCEL_MODTYPE); + } + + fuzzy_menuitem.activate.connect (fuzzy_find); + fuzzy_menuitem.show (); + window.sidebar.project_menu.append (fuzzy_menuitem); + }); + + plugins.hook_folder_item_change.connect ((src, dest, event) => { + if (indexer == null) { + return; + } + + indexer.handle_folder_item_change (src, dest, event); + }); + } + + bool on_window_key_press_event (uint keyval, uint keycode, Gdk.ModifierType state) { + /* f shows fuzzy search dialog */ + switch (Gdk.keyval_to_upper (keyval)) { + case ACCEL_KEY: + if (state == ACCEL_MODTYPE) { + fuzzy_find (); + return true; + } + + break; + default: + return false; + } + + return false; + } + + private void fuzzy_find () { + var settings = new GLib.Settings ("io.elementary.code.folder-manager"); + + string[] opened_folders = settings.get_strv ("opened-folders"); + if (opened_folders == null || opened_folders.length < 1) { + return; + } + + var popover = new Scratch.FuzzySearchPopover (indexer, window); + popover.open_file.connect ((filepath) => { + var file = new Scratch.FolderManager.File (filepath); + var doc = new Scratch.Services.Document (window.actions, file.file); + + window.open_document (doc); + popover.popdown (); + }); + + popover.close_search.connect (() => popover.popdown ()); + popover.popup (); + } + + public void deactivate () { + key_controller.key_pressed.disconnect (on_window_key_press_event); + window.sidebar.project_menu.remove (fuzzy_menuitem); + if (cancellable != null) { + cancellable.cancel (); + } + } +} + +[ModuleInit] +public void peas_register_types (GLib.TypeModule module) { + var objmodule = module as Peas.ObjectModule; + objmodule.register_extension_type ( + typeof (Peas.Activatable), + typeof (Scratch.Plugins.FuzzySearch) + ); +} diff --git a/plugins/fuzzy-search/meson.build b/plugins/fuzzy-search/meson.build new file mode 100644 index 000000000..5a717fcd1 --- /dev/null +++ b/plugins/fuzzy-search/meson.build @@ -0,0 +1,38 @@ +module_name = 'fuzzy-search' + +module_files = [ + 'file-item.vala', + 'fuzzy-search.vala', + 'fuzzy-finder.vala', + 'fuzzy-search-indexer.vala', + 'fuzzy-search-popover.vala', + 'fuzzy-search-project.vala', + 'search-result.vala', +] + +module_deps = [ + codecore_dep, +] + +shared_module( + module_name, + module_files, + dependencies: module_deps, + install: true, + install_dir: join_paths(pluginsdir, module_name), +) + +custom_target(module_name + '.plugin_merge', + input: module_name + '.plugin', + output: module_name + '.plugin', + command : [msgfmt, + '--desktop', + '--keyword=Description', + '--keyword=Name', + '-d' + join_paths(meson.source_root (), 'po', 'plugins'), + '--template=@INPUT@', + '-o@OUTPUT@', + ], + install : true, + install_dir: join_paths(pluginsdir, module_name), +) diff --git a/plugins/fuzzy-search/search-result.vala b/plugins/fuzzy-search/search-result.vala new file mode 100644 index 000000000..62105ad71 --- /dev/null +++ b/plugins/fuzzy-search/search-result.vala @@ -0,0 +1,22 @@ +/* + * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2023 elementary, Inc. + * + * Authored by: Marvin Ahlgrimm + */ + +public class SearchResult { + public string full_path; + public string relative_path; + public string project; + public bool found; + public int score; + + public SearchResult (bool fo, int sc) { + full_path = ""; + relative_path = ""; + project = ""; + found = fo; + score = sc; + } +} diff --git a/plugins/meson.build b/plugins/meson.build index aa8891eb7..906dcd078 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -10,3 +10,4 @@ subdir('preserve-indent') subdir('spell') subdir('vim-emulation') subdir('word-completion') +subdir('fuzzy-search') diff --git a/po/aa.po b/po/aa.po index 9a3c6c930..3e1660c66 100644 --- a/po/aa.po +++ b/po/aa.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ab.po b/po/ab.po index 9a3c6c930..3e1660c66 100644 --- a/po/ab.po +++ b/po/ab.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ae.po b/po/ae.po index 0660a1f87..c1c0b410f 100644 --- a/po/ae.po +++ b/po/ae.po @@ -1,94 +1,102 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -127,7 +135,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -234,251 +242,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -508,7 +521,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -563,71 +576,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -691,20 +696,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/af.po b/po/af.po index c1df44f0c..d17ff938d 100644 --- a/po/af.po +++ b/po/af.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: scratch\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2017-04-09 21:07+0000\n" "Last-Translator: Mario Guerriero \n" "Language-Team: Afrikaans \n" @@ -18,92 +18,100 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "Nuwe Blad" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "Nuwe Venster" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 #, fuzzy #| msgid "Find…" msgid "Find on Page…" msgstr "Vind…" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "Steek terminaal weg" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "Wys terminaal" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "Alle lêers" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "Teks lêers" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "Kanselleer" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -142,7 +150,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -249,78 +257,83 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 #, fuzzy msgid "Other Actions" msgstr "Ander formate" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 #, fuzzy msgid "New" msgstr "Nuwe Blad" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 #, fuzzy msgid "new file" msgstr "Teks lêers" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, fuzzy, c-format #| msgid "New Document" msgid "Hide %u Open Document" @@ -328,120 +341,120 @@ msgid_plural "Hide %u Open Documents" msgstr[0] "Nuwe dokument" msgstr[1] "Nuwe dokument" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 #, fuzzy msgid "Cancel Loading" msgstr "Kanselleer" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, fuzzy, c-format msgid "Save changes to “%s” before closing?" msgstr "Stoor wysigings voor dokument %s toegemaak word" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 #, fuzzy msgid "Close Without Saving" msgstr "Maak toe sonder om te stoor" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "Stoor" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, fuzzy, c-format msgid "Saving to “%s” failed." msgstr "Stoor wysigings voor dokument %s toegemaak word" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "Stoor lêer" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "Nuwe dokument" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 #, fuzzy msgid "You may not have permission to read the file." msgstr "Die \"%s\" lêer kan nie gelees word nie. Dalk is dit korrup" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, fuzzy, c-format #| msgid "" #| "The location containing the file \"%s\" was unmounted. Do you want to " @@ -453,7 +466,7 @@ msgstr "" "Die plek wat die \"%s\" lêer bevat is ontkoppel. Wil jy op 'n ander plek " "stoor?" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, fuzzy, c-format #| msgid "File \"%s\" was deleted. Do you want to save it anyway?" msgid "File “%s” was deleted and there are unsaved changes." @@ -461,55 +474,55 @@ msgstr "Die \"%s\" lêer was verwyder. Wil jy dit in elk geval stoor?" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, fuzzy, c-format #| msgid "File \"%s\" was deleted. Do you want to save it anyway?" msgid "File “%s” does not have write permission." msgstr "Die \"%s\" lêer was verwyder. Wil jy dit in elk geval stoor?" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 #, fuzzy #| msgid "Upload" msgid "Reload" msgstr "Oplaai" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 #, fuzzy #| msgid "Save changes elsewhere" msgid "Save Document elsewhere" @@ -541,7 +554,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, fuzzy, c-format msgid "Text file from %s:%d" msgstr "Teks lêers" @@ -601,72 +614,64 @@ msgid_plural "%d Tabs" msgstr[0] "Nuwe Blad" msgstr[1] "Nuwe Blad" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "Wys terminaal" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "Steek terminaal weg" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 #, fuzzy msgid "Open Folder…" msgstr "Stoor lêer" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -730,20 +735,20 @@ msgstr "Vervang" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ak.po b/po/ak.po index 2e4bda477..a06a87a72 100644 --- a/po/ak.po +++ b/po/ak.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2017-04-09 20:11+0000\n" "Last-Translator: aberba \n" "Language-Team: LANGUAGE \n" @@ -13,92 +13,100 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "Tab Foforɔ" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "Window Foforɔ" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "Printe" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 #, fuzzy msgid "Find on Page…" msgstr "Bue file" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 #, fuzzy msgid "Hide Projects Sidebar" msgstr "Bue file" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "Gyae" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -137,7 +145,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -244,80 +252,85 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 #, fuzzy msgid "Open In" msgstr "Bue file" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 #, fuzzy msgid "Find in Folder…" msgstr "Bue file" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 #, fuzzy msgid "New" msgstr "Tab Foforɔ" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 #, fuzzy msgid "new file" msgstr "File foforɔ" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 #, fuzzy msgid "Close Other Folders" msgstr "Bue file" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, fuzzy, c-format #| msgid "New Document" msgid "Hide %u Open Document" @@ -325,124 +338,124 @@ msgid_plural "Hide %u Open Documents" msgstr[0] "Document Foforɔ" msgstr[1] "Document Foforɔ" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 #, fuzzy msgid "Find in Project…" msgstr "Bue file" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 #, fuzzy msgid "Cancel Loading" msgstr "Gyae" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, fuzzy, c-format msgid "Save changes to “%s” before closing?" msgstr "Wopɛ sɛ wo kora %s to hɔ ansa wadum no anaa?" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 #, fuzzy msgid "If you don't save, changes will be permanently lost." msgstr "" "Sɛ wo ankora anto hɔ a, wo bɛ hwere nsesayɛ a waya no animmoho 4 a atwam no " "koraa." -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 #, fuzzy msgid "Close Without Saving" msgstr "Dum no. Mempɛ sɛ wo kora no" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "Kora" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, fuzzy, c-format msgid "Saving to “%s” failed." msgstr "Wopɛ sɛ wo kora %s to hɔ ansa wadum no anaa?" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "Kora file no" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "Document Foforɔ" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 #, fuzzy msgid "You may not have permission to read the file." msgstr "File %s antumi ambue. Ebia na asɛe anaa wo nni ho kwan sɛ wo bue." -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, fuzzy, c-format #| msgid "" #| "The location containing the file \"%s\" was unmounted. Do you want to " @@ -453,7 +466,7 @@ msgid "" msgstr "" "Bɛbi a file %s wɔ no nnya mmounte yɛ. Wopɛ sɛ wo kora no baabi fofor anaa?" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, fuzzy, c-format #| msgid "" #| "File \"%s\" was modified by an external application. Do you want to load " @@ -465,13 +478,13 @@ msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, fuzzy, c-format #| msgid "File \"%s\" was deleted. Do you want to save it anyway?" msgid "File “%s” does not have write permission." msgstr "File %s nni akoraɛ biara mu. Wo pɛ sɛ wo kora to hɔ anna?" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, fuzzy, c-format #| msgid "" #| "File \"%s\" was modified by an external application. Do you want to load " @@ -481,42 +494,42 @@ msgstr "" "Dwumadi foforɔ ayɛ nsesaɛ wɔ %s mu. Wopɛ sɛ wo hwɛ nsesaɛ no ansa na wakora " "no bio anaa?" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "Toa so" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 #, fuzzy #| msgid "Save changes elsewhere" msgid "Save Document elsewhere" @@ -548,7 +561,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, fuzzy, c-format msgid "Text file from %s:%d" msgstr "Yɛ ntwerɛe foforɔ firi " @@ -603,72 +616,64 @@ msgid_plural "%d Tabs" msgstr[0] "Tab Foforɔ" msgstr[1] "Tab Foforɔ" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "Fa ma" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 #, fuzzy msgid "Open Folder…" msgstr "Bue file" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -732,20 +737,20 @@ msgstr "Si ananmu" msgid "Replace all" msgstr "Sesa ne nyinaa" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/am.po b/po/am.po index 02744e0e1..1705faeb2 100644 --- a/po/am.po +++ b/po/am.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: scratch\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-21 13:39+0000\n" "Last-Translator: Mario Guerriero \n" "Language-Team: Amharic \n" @@ -18,98 +18,106 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "አዲስ ንዑስ መስኮት" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "አዲስ መስኮት" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "የ እትሙን መረጃ ማተሚያ እና መውጫ" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "የመፈለጊያ ባሩን መደበቂያ" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 #, fuzzy #| msgid "Open a folder" msgid "Find on Page…" msgstr "ፎልደር መክፈቻ" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 #, fuzzy #| msgid "Hide search bar" msgid "Hide Projects Sidebar" msgstr "የመፈለጊያ ባሩን መደበቂያ" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 #, fuzzy #| msgid "Project templates" msgid "Show Projects Sidebar" msgstr "የ እቅድ ቴምፕሌቶች" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 #, fuzzy #| msgid "Symbols" msgid "Show Symbol Outline" msgstr "ምልክቶች" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "ሁሉንም ፋይሎች" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "የጽሁፍ ፋይሎች" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "አንዳንድ ፋይሎች መክፈቻ" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "መክፈቻ" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "መሰረዣ" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "_መክፈቻ" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "_መሰረዣ" @@ -151,7 +159,7 @@ msgstr "" msgid "Create Branch" msgstr "የ ስክራች ማሰናጃዎች መቀየሪያ" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "ምርጫዎች" @@ -258,84 +266,89 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 #, fuzzy msgid "Open In" msgstr "መክፈቻ" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 #, fuzzy msgid "Other Actions" msgstr "ለሎች አቀራረቦች" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "ፎልደሮች" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 #, fuzzy #| msgid "Open a folder" msgid "Find in Folder…" msgstr "ፎልደር መክፈቻ" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 #, fuzzy msgid "Folder" msgstr "ፎልደሮች" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 #, fuzzy msgid "New" msgstr "አዲስ ንዑስ መስኮት" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 #, fuzzy msgid "new file" msgstr "አዲስ ፋይል" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "ፎልደር መዝጊያ" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 #, fuzzy #| msgid "Close Folder" msgid "Close Other Folders" msgstr "ፎልደር መዝጊያ" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, fuzzy, c-format #| msgid "New Document" msgid "Hide %u Open Document" @@ -343,184 +356,184 @@ msgid_plural "Hide %u Open Documents" msgstr[0] "አዲስ ሰነድ" msgstr[1] "አዲስ ሰነድ" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 #, fuzzy #| msgid "Open a folder" msgid "Find in Project…" msgstr "ፎልደር መክፈቻ" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 #, fuzzy msgid "New Branch…" msgstr "የ ስክራች ማሰናጃዎች መቀየሪያ" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 #, fuzzy msgid "Branch" msgstr "የ ስክራች ማሰናጃዎች መቀየሪያ" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 #, fuzzy msgid "Cancel Loading" msgstr "መሰረዣ" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 #, fuzzy msgid "Close Without Saving" msgstr "ሳያስቀምጡ መዝጊያ" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "ማስቀመጫ" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "ፋይል ማስቀመጫ" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "አዲስ ሰነድ" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "ይቀጥሉ" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 #, fuzzy #| msgid "Upload" msgid "Reload" msgstr "መጫኛ" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 #, fuzzy #| msgid "Save the current file" msgid "Save Document elsewhere" @@ -554,7 +567,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, fuzzy, c-format msgid "Text file from %s:%d" msgstr "የጽሁፍ ፋይሎች" @@ -614,74 +627,66 @@ msgid_plural "%d Tabs" msgstr[0] "አዲስ ንዑስ መስኮት" msgstr[1] "አዲስ ንዑስ መስኮት" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "ፋይል መክፈቻ" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "የ እቅድ ቴምፕሌቶች" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "ይህን ፋይል ማስቀመጫ" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "ይህን ፋይል በ ሌላ ስም ማስቀመጫ" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "ይህን ፋይል እንደነበር መመለሻ" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "ማካፈያ" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 #, fuzzy msgid "Zoom Out" msgstr "ማሳያ" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "ማሳያ 1:1" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 #, fuzzy msgid "Zoom In" msgstr "ማሳያ" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 #, fuzzy msgid "Open Folder…" msgstr "ፎልደር መክፈቻ" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -747,20 +752,20 @@ msgstr "መቀየሪያ" msgid "Replace all" msgstr "ኩሉንም መቀየሪያ" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/an.po b/po/an.po index 60134dd40..97b158998 100644 --- a/po/an.po +++ b/po/an.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-21 13:36+0000\n" "Last-Translator: Mario Guerriero \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,75 +250,80 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, fuzzy, c-format #| msgid "New Document" msgid "Hide %u Open Document" @@ -318,178 +331,178 @@ msgid_plural "Hide %u Open Documents" msgstr[0] "Nueu Decumento" msgstr[1] "Nueu Decumento" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, fuzzy, c-format msgid "Save changes to “%s” before closing?" msgstr "Alzar os camios de o decumento dinantes de trancar" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 #, fuzzy msgid "If you don't save, changes will be permanently lost." msgstr "Si no alzas, os camios d´os 4 segundos zaguers se ´n trafegueran" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 #, fuzzy msgid "Close Without Saving" msgstr "Trancar sin alzar" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, fuzzy, c-format msgid "Saving to “%s” failed." msgstr "Alzar os camios de o decumento dinantes de trancar" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "Nueu Decumento" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -519,7 +532,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -574,71 +587,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -702,20 +707,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ar.po b/po/ar.po index 2a5b1948d..c61cbfd94 100644 --- a/po/ar.po +++ b/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: scratch\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2021-09-06 18:12+0000\n" "Last-Translator: aalhaif \n" "Language-Team: Arabic \n" @@ -20,99 +20,107 @@ msgstr "" "X-Generator: Weblate 4.4.2\n" "X-Launchpad-Export-Date: 2017-05-03 06:00+0000\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "لسان جديد" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "نافذة جديدة" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "اطبع معلومات الاصدار وقم بالاغلاق" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "[ملف...]" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, fuzzy, c-format #| msgid "Code" msgid "Code (%s)" msgstr "كود" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "كود" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "إخفاء شريط البحث" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 #, fuzzy #| msgid "Open project folder…" msgid "Find on Page…" msgstr "فتح مجلد المشروع…" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 #, fuzzy #| msgid "Hide search bar" msgid "Hide Projects Sidebar" msgstr "إخفاء شريط البحث" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 #, fuzzy #| msgid "Show Preview" msgid "Show Projects Sidebar" msgstr "اظهر المعاينة" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 #, fuzzy #| msgid "Symbols" msgid "Show Symbol Outline" msgstr "ازالة الاماكن الوهمية المنشأة من قبل ( vala parser )" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "اخفي الطرفية" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "اظهر الطرفية" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "كل الملفات" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "ملفات نصية" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "فتح بعض الملفات" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "إفتح" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "الغاء" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "_فتح" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "_الغاء" @@ -151,7 +159,7 @@ msgstr "اسم الفرع يجب أن يكون مميز وأن يتبع قواع msgid "Create Branch" msgstr "إنشاء فرع" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "التفضيلات" @@ -259,70 +267,75 @@ msgstr "لا تسترجعه" msgid "Restore Anyway" msgstr "استرجع على اية حال" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "تطبيقات أخرى…" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "إفتح في" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "اجراءات اخرى" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "إعادة التسمية" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "انقل الى سلة المهملات" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "المجلدات" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 #, fuzzy #| msgid "Open project folder…" msgid "Find in Folder…" msgstr "فتح مجلد المشروع…" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "مجلد" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "ملف فارغ" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "جديد" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "ملف غير مسمى" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "ملف جديد" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "أغلق المجلد" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "اغلق المجلدات الاخرى" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" @@ -333,7 +346,7 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, fuzzy, c-format #| msgid "New Document" msgid "Hide %u Open Document" @@ -345,7 +358,7 @@ msgstr[3] "مُستند جديد" msgstr[4] "مُستند جديد" msgstr[5] "مُستند جديد" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" @@ -356,124 +369,124 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 #, fuzzy #| msgid "Open project folder…" msgid "Find in Project…" msgstr "فتح مجلد المشروع…" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 #, fuzzy #| msgid "%s, Modified" msgid "Modified" msgstr "%s, المعدل" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 #, fuzzy #| msgid "Branch" msgid "New Branch…" msgstr "تفرع" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "تفرع" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "%s ليس بملف نصي" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "الشيفرة البرمجية لن يحمل نوع الملفات هذا." -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "حمل على أي حال" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, fuzzy, c-format #| msgid "Loading File \"%s\" Is Taking a Long Time" msgid "Loading File “%s” Is Taking a Long Time" msgstr "جاري العمل على الملف “%s” قد يستغرق بعض الوقت" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "الرجاء الانتظار بينما الشيفرة البرمجية يقوم بتحميل الملف." -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "الغاء التحميل" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, fuzzy, c-format #| msgid "Save changes to \"%s\" before closing?" msgid "Save changes to “%s” before closing?" msgstr "حفظ التغيرات الخاصة بـ “%s” قبل اﻹغلاق؟" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "إن لم تحفظ فستختفى نهائيا جميع التغيرات." -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "اغلق بدون حفظ" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "إحفظ" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, fuzzy, c-format #| msgid "Save changes to \"%s\" before closing?" msgid "Saving to “%s” failed." msgstr "حفظ التغيرات الخاصة بـ “%s” قبل اﻹغلاق؟" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "حفظ الملف" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "مُستند جديد" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, fuzzy, c-format #| msgid "Search for text in “%s”" msgid "Cannot read text in file “%s”" msgstr "بحث عن نص في ”%s“" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 #, fuzzy #| msgid "It may be corrupt or you don't have permission to read it." msgid "You may not have permission to read the file." msgstr "قد يكون تالفا أو أنك ليس لديك الصلاحيات لقراءته." -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 #, fuzzy #| msgid "Load Anyway" msgid "Show Anyway" msgstr "حمل على أي حال" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, fuzzy, c-format #| msgid "" #| "The location containing the file \"%s\" was unmounted. Do you want to " @@ -483,7 +496,7 @@ msgid "" "changes." msgstr "المكان يحتوي على الملف “%s” ولم يكن مركبا. هل تريد حفظه فيه مكان آخر؟" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, fuzzy, c-format #| msgid "" #| "File \"%s\" was modified by an external application. Do you want to load " @@ -495,13 +508,13 @@ msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, fuzzy, c-format #| msgid "File \"%s\" was deleted. Do you want to save it anyway?" msgid "File “%s” does not have write permission." msgstr "الملف “%s” قد تم حذفه. هل تريد حفظه على اية حال؟" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, fuzzy, c-format #| msgid "" #| "File \"%s\" was modified by an external application. Do you want to load " @@ -511,44 +524,44 @@ msgstr "" "الملف “%s” قد تم تعديله من طرف خارجي. هل تريد إعادة تحميله أم تريد اكمال " "التعديل عليه؟" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "استمرار" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 #, fuzzy #| msgid "Upload" msgid "Reload" msgstr "رفع" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 #, fuzzy #| msgid "Save the current file" msgid "Save Document elsewhere" @@ -582,7 +595,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "ملف نصي من %s:%d" @@ -651,73 +664,65 @@ msgstr[3] "%d تبويبات" msgstr[4] "%d تبويبات" msgstr[5] "%d تبويبات" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "إفتح ملفاً" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "قوالب المشروع" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "حفظ هذا الملف" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "احفظ هذا الملف باسم آخر" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "إستعد هذا الملف" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "المشاركه" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "تصغير للخارج" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "تكبير مقاس 1:1" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "تكبير للداخل" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "اظهر الطرفية" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "القائمة" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "اخفي الطرفية" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 #, fuzzy #| msgid "Open Folder" msgid "Open Folder…" msgstr "افتح مجلد" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "طي الكل" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "ترتيب بالأبجدية" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "إدارة مجلدات المشروع" @@ -785,20 +790,20 @@ msgstr "إستبدال" msgid "Replace all" msgstr "استبدال الكل" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "رتب الأسطر التي تم اختيارها" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "تحويل لتعليق" diff --git a/po/as.po b/po/as.po index c189ddece..66231813a 100644 --- a/po/as.po +++ b/po/as.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:01+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ast.po b/po/ast.po index c189ddece..66231813a 100644 --- a/po/ast.po +++ b/po/ast.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:01+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/av.po b/po/av.po index c189ddece..66231813a 100644 --- a/po/av.po +++ b/po/av.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:01+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/ay.po b/po/ay.po index c189ddece..66231813a 100644 --- a/po/ay.po +++ b/po/ay.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2015-12-18 20:01+0000\n" "Last-Translator: Launchpad Translations Administrators \n" "Language-Team: LANGUAGE \n" @@ -13,90 +13,98 @@ msgstr "" "X-Launchpad-Export-Date: 2017-05-03 06:01+0000\n" "X-Generator: Launchpad (build 18366)\n" -#: src/Application.vala:37 +#: src/Application.vala:38 msgid "New Tab" msgstr "" -#: src/Application.vala:38 src/FolderManager/FileItem.vala:31 +#: src/Application.vala:39 src/FolderManager/FileItem.vala:35 msgid "New Window" msgstr "" -#: src/Application.vala:39 +#: src/Application.vala:40 msgid "Print version info and exit" msgstr "" -#: src/Application.vala:40 +#: src/Application.vala:42 msgid "[FILE…]" msgstr "" -#: src/MainWindow.vala:207 +#: src/MainWindow.vala:222 #, c-format msgid "Code (%s)" msgstr "" -#: src/MainWindow.vala:209 +#: src/MainWindow.vala:224 msgid "Code" msgstr "" -#: src/MainWindow.vala:321 +#: src/MainWindow.vala:360 msgid "Hide search bar" msgstr "" -#: src/MainWindow.vala:326 src/Widgets/HeaderBar.vala:121 +#: src/MainWindow.vala:365 src/Widgets/HeaderBar.vala:122 msgid "Find on Page…" msgstr "" -#: src/MainWindow.vala:337 +#: src/MainWindow.vala:376 msgid "Hide Projects Sidebar" msgstr "" -#: src/MainWindow.vala:342 +#: src/MainWindow.vala:381 msgid "Show Projects Sidebar" msgstr "" -#: src/MainWindow.vala:351 +#: src/MainWindow.vala:390 msgid "Hide Symbol Outline" msgstr "" -#: src/MainWindow.vala:356 +#: src/MainWindow.vala:395 msgid "Show Symbol Outline" msgstr "" +#: src/MainWindow.vala:404 +msgid "Hide Terminal" +msgstr "" + +#: src/MainWindow.vala:409 src/Widgets/HeaderBar.vala:196 +msgid "Show Terminal" +msgstr "" + #. Update MainWindow title #. / TRANSLATORS: First placeholder is document name, second placeholder is app name -#: src/MainWindow.vala:533 +#: src/MainWindow.vala:586 #, c-format msgid "%s - %s" msgstr "" -#: src/MainWindow.vala:838 src/Services/Document.vala:597 +#: src/MainWindow.vala:913 src/Services/Document.vala:605 msgid "All files" msgstr "" -#: src/MainWindow.vala:842 src/Services/Document.vala:601 +#: src/MainWindow.vala:917 src/Services/Document.vala:609 msgid "Text files" msgstr "" -#: src/MainWindow.vala:846 +#: src/MainWindow.vala:921 msgid "Open some files" msgstr "" -#: src/MainWindow.vala:849 +#: src/MainWindow.vala:924 msgid "Open" msgstr "" -#: src/MainWindow.vala:850 src/Dialogs/GlobalSearchDialog.vala:109 -#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:441 -#: src/Services/Document.vala:609 plugins/pastebin/pastebin_dialog.vala:327 +#: src/MainWindow.vala:925 src/Dialogs/GlobalSearchDialog.vala:109 +#: src/Dialogs/NewBranchDialog.vala:42 src/Services/Document.vala:448 +#: src/Services/Document.vala:617 plugins/pastebin/pastebin_dialog.vala:327 #: plugins/pastebin/pastebin_dialog.vala:378 msgid "Cancel" msgstr "" -#: src/MainWindow.vala:875 +#: src/MainWindow.vala:952 msgid "_Open" msgstr "" -#: src/MainWindow.vala:876 +#: src/MainWindow.vala:953 msgid "_Cancel" msgstr "" @@ -135,7 +143,7 @@ msgstr "" msgid "Create Branch" msgstr "" -#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:217 +#: src/Dialogs/PreferencesDialog.vala:37 src/Widgets/HeaderBar.vala:218 msgid "Preferences" msgstr "" @@ -242,251 +250,256 @@ msgstr "" msgid "Restore Anyway" msgstr "" -#: src/FolderManager/FileItem.vala:52 src/FolderManager/FolderItem.vala:148 +#: src/FolderManager/FileItem.vala:31 src/FolderManager/FolderItem.vala:91 +#: src/FolderManager/ProjectFolderItem.vala:120 +msgid "Open in Terminal Pane" +msgstr "" + +#: src/FolderManager/FileItem.vala:56 src/FolderManager/FolderItem.vala:154 msgid "Other Application…" msgstr "" -#: src/FolderManager/FileItem.vala:113 src/FolderManager/FolderItem.vala:188 +#: src/FolderManager/FileItem.vala:117 src/FolderManager/FolderItem.vala:194 msgid "Open In" msgstr "" -#: src/FolderManager/FileItem.vala:116 src/FolderManager/FolderItem.vala:116 +#: src/FolderManager/FileItem.vala:120 src/FolderManager/FolderItem.vala:121 msgid "Other Actions" msgstr "" -#: src/FolderManager/FileItem.vala:119 src/FolderManager/FolderItem.vala:119 +#: src/FolderManager/FileItem.vala:123 src/FolderManager/FolderItem.vala:124 msgid "Rename" msgstr "" -#: src/FolderManager/FileItem.vala:125 src/FolderManager/FolderItem.vala:125 -#: src/FolderManager/ProjectFolderItem.vala:163 +#: src/FolderManager/FileItem.vala:129 src/FolderManager/FolderItem.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:181 msgid "Move to Trash" msgstr "" -#: src/FolderManager/FileView.vala:42 +#: src/FolderManager/FileView.vala:47 msgid "Folders" msgstr "" -#: src/FolderManager/FolderItem.vala:128 +#: src/FolderManager/FolderItem.vala:133 msgid "Find in Folder…" msgstr "" -#: src/FolderManager/FolderItem.vala:195 +#: src/FolderManager/FolderItem.vala:201 msgid "Folder" msgstr "" -#: src/FolderManager/FolderItem.vala:198 +#: src/FolderManager/FolderItem.vala:204 msgid "Empty File" msgstr "" #. scan all children #. No need to show status when children shown -#: src/FolderManager/FolderItem.vala:205 -#: src/FolderManager/ProjectFolderItem.vala:251 -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/FolderItem.vala:211 +#: src/FolderManager/ProjectFolderItem.vala:270 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "New" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "untitled folder" msgstr "" -#: src/FolderManager/FolderItem.vala:360 +#: src/FolderManager/FolderItem.vala:370 msgid "new file" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:111 +#: src/FolderManager/ProjectFolderItem.vala:129 msgid "Close Folder" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:116 +#: src/FolderManager/ProjectFolderItem.vala:134 msgid "Close Other Folders" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:121 +#: src/FolderManager/ProjectFolderItem.vala:139 #, c-format msgid "Close %u Open Document" msgid_plural "Close %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:135 +#: src/FolderManager/ProjectFolderItem.vala:153 #, c-format msgid "Hide %u Open Document" msgid_plural "Hide %u Open Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:150 +#: src/FolderManager/ProjectFolderItem.vala:168 #, c-format msgid "Restore %u Hidden Document" msgid_plural "Restore %u Hidden Documents" msgstr[0] "" msgstr[1] "" -#: src/FolderManager/ProjectFolderItem.vala:170 src/Widgets/HeaderBar.vala:130 +#: src/FolderManager/ProjectFolderItem.vala:188 src/Widgets/HeaderBar.vala:131 msgid "Find in Project…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:257 +#: src/FolderManager/ProjectFolderItem.vala:276 msgid "Modified" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:295 +#: src/FolderManager/ProjectFolderItem.vala:314 #, c-format msgid "Error while creating new branch: “%s”" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:577 +#: src/FolderManager/ProjectFolderItem.vala:600 msgid "New Branch…" msgstr "" -#: src/FolderManager/ProjectFolderItem.vala:590 +#: src/FolderManager/ProjectFolderItem.vala:613 msgid "Branch" msgstr "" -#: src/Services/Document.vala:317 +#: src/Services/Document.vala:324 #, c-format msgid "%s Is Not a Text File" msgstr "" -#: src/Services/Document.vala:318 +#: src/Services/Document.vala:325 msgid "Code will not load this type of file." msgstr "" -#: src/Services/Document.vala:320 +#: src/Services/Document.vala:327 msgid "Load Anyway" msgstr "" -#: src/Services/Document.vala:341 +#: src/Services/Document.vala:348 #, c-format msgid "Loading File “%s” Is Taking a Long Time" msgstr "" -#: src/Services/Document.vala:342 +#: src/Services/Document.vala:349 msgid "Please wait while Code is loading the file." msgstr "" -#: src/Services/Document.vala:344 +#: src/Services/Document.vala:351 msgid "Cancel Loading" msgstr "" -#: src/Services/Document.vala:431 +#: src/Services/Document.vala:438 #, c-format msgid "Save changes to “%s” before closing?" msgstr "" -#: src/Services/Document.vala:432 +#: src/Services/Document.vala:439 msgid "If you don't save, changes will be permanently lost." msgstr "" -#: src/Services/Document.vala:438 +#: src/Services/Document.vala:445 msgid "Close Without Saving" msgstr "" -#: src/Services/Document.vala:442 src/Services/Document.vala:608 +#: src/Services/Document.vala:449 src/Services/Document.vala:616 msgid "Save" msgstr "" -#: src/Services/Document.vala:567 +#: src/Services/Document.vala:575 #, c-format msgid "Saving to “%s” failed." msgstr "" -#: src/Services/Document.vala:605 +#: src/Services/Document.vala:613 msgid "Save File" msgstr "" -#: src/Services/Document.vala:692 src/Services/Document.vala:710 +#: src/Services/Document.vala:700 src/Services/Document.vala:718 msgid "New Document" msgstr "" #. No path for a new document -#: src/Services/Document.vala:712 +#: src/Services/Document.vala:720 #, c-format msgid "Cannot save this document to %s" msgstr "" #. Show an error view which says "Hey, I cannot read that file!" -#: src/Services/Document.vala:778 +#: src/Services/Document.vala:786 #, c-format msgid "Cannot read text in file “%s”" msgstr "" -#: src/Services/Document.vala:781 +#: src/Services/Document.vala:789 msgid "You may not have permission to read the file." msgstr "" -#: src/Services/Document.vala:783 +#: src/Services/Document.vala:791 msgid "The file may be corrupt or may not be a text file" msgstr "" #. Lack of read permission results in empty content string. Do not give option to open #. in new document in that case. -#: src/Services/Document.vala:789 +#: src/Services/Document.vala:797 msgid "Show Anyway" msgstr "" -#: src/Services/Document.vala:820 +#: src/Services/Document.vala:828 #, c-format msgid "" "The location containing the file “%s” was unmounted and there are unsaved " "changes." msgstr "" -#: src/Services/Document.vala:822 +#: src/Services/Document.vala:830 #, c-format msgid "File “%s” was deleted and there are unsaved changes." msgstr "" #. Check external changes after loading #. The file has become unwritable while changes are pending -#: src/Services/Document.vala:836 +#: src/Services/Document.vala:844 #, c-format msgid "File “%s” does not have write permission." msgstr "" -#: src/Services/Document.vala:882 +#: src/Services/Document.vala:890 #, c-format msgid "File “%s” was modified by an external application" msgstr "" -#: src/Services/Document.vala:887 +#: src/Services/Document.vala:895 msgid "" "There are also unsaved changes. Reloading the document will overwrite the " "unsaved changes." msgstr "" -#: src/Services/Document.vala:891 +#: src/Services/Document.vala:899 msgid "The document changed externally since you last saved it." msgstr "" -#: src/Services/Document.vala:907 +#: src/Services/Document.vala:915 #, c-format msgid "“%s” can't be saved here. Save a duplicate somewhere else?" msgstr "" -#: src/Services/Document.vala:916 +#: src/Services/Document.vala:924 msgid "Ignore" msgstr "" -#: src/Services/Document.vala:918 +#: src/Services/Document.vala:926 msgid "Save Duplicate…" msgstr "" -#: src/Services/Document.vala:967 +#: src/Services/Document.vala:975 msgid "Continue" msgstr "" -#: src/Services/Document.vala:969 +#: src/Services/Document.vala:977 msgid "Reload" msgstr "" -#: src/Services/Document.vala:972 +#: src/Services/Document.vala:980 msgid "Overwrite" msgstr "" -#: src/Services/Document.vala:975 +#: src/Services/Document.vala:983 msgid "Save Document elsewhere" msgstr "" @@ -516,7 +529,7 @@ msgstr "" msgid "Filter projects" msgstr "" -#: src/Widgets/DocumentView.vala:161 +#: src/Widgets/DocumentView.vala:167 #, c-format msgid "Text file from %s:%d" msgstr "" @@ -571,71 +584,63 @@ msgid_plural "%d Tabs" msgstr[0] "" msgstr[1] "" -#: src/Widgets/HeaderBar.vala:37 +#: src/Widgets/HeaderBar.vala:38 msgid "Open a file" msgstr "" -#: src/Widgets/HeaderBar.vala:43 +#: src/Widgets/HeaderBar.vala:44 msgid "Project templates" msgstr "" -#: src/Widgets/HeaderBar.vala:50 +#: src/Widgets/HeaderBar.vala:51 msgid "Save this file" msgstr "" -#: src/Widgets/HeaderBar.vala:58 +#: src/Widgets/HeaderBar.vala:59 msgid "Save this file with a different name" msgstr "" -#: src/Widgets/HeaderBar.vala:66 +#: src/Widgets/HeaderBar.vala:67 msgid "Restore this file" msgstr "" -#: src/Widgets/HeaderBar.vala:75 +#: src/Widgets/HeaderBar.vala:76 msgid "Share" msgstr "" -#: src/Widgets/HeaderBar.vala:83 +#: src/Widgets/HeaderBar.vala:84 msgid "Zoom Out" msgstr "" -#: src/Widgets/HeaderBar.vala:91 +#: src/Widgets/HeaderBar.vala:92 msgid "Zoom 1:1" msgstr "" -#: src/Widgets/HeaderBar.vala:99 +#: src/Widgets/HeaderBar.vala:100 msgid "Zoom In" msgstr "" -#: src/Widgets/HeaderBar.vala:144 +#: src/Widgets/HeaderBar.vala:145 msgid "Follow System Style" msgstr "" -#: src/Widgets/HeaderBar.vala:195 src/Widgets/HeaderBar.vala:265 -msgid "Show Terminal" -msgstr "" - -#: src/Widgets/HeaderBar.vala:239 +#: src/Widgets/HeaderBar.vala:240 msgid "Menu" msgstr "" -#: src/Widgets/HeaderBar.vala:260 -msgid "Hide Terminal" -msgstr "" - -#: src/Widgets/Sidebar.vala:57 +#: src/Widgets/Sidebar.vala:63 msgid "Open Folder…" msgstr "" -#: src/Widgets/Sidebar.vala:60 +#: src/Widgets/Sidebar.vala:66 msgid "Collapse All" msgstr "" -#: src/Widgets/Sidebar.vala:64 +#: src/Widgets/Sidebar.vala:70 msgid "Alphabetize" msgstr "" -#: src/Widgets/Sidebar.vala:76 +#: src/Widgets/Sidebar.vala:82 msgid "Manage project folders" msgstr "" @@ -699,20 +704,20 @@ msgstr "" msgid "Replace all" msgstr "" -#: src/Widgets/SearchBar.vala:576 +#: src/Widgets/SearchBar.vala:569 #, c-format msgid "%d of %d" msgstr "" -#: src/Widgets/SearchBar.vala:581 +#: src/Widgets/SearchBar.vala:574 msgid "no results" msgstr "" -#: src/Widgets/SourceView.vala:522 +#: src/Widgets/SourceView.vala:551 msgid "Sort Selected Lines" msgstr "" -#: src/Widgets/SourceView.vala:535 +#: src/Widgets/SourceView.vala:564 msgid "Toggle Comment" msgstr "" diff --git a/po/az.po b/po/az.po index e34017d44..deb5377a0 100644 --- a/po/az.po +++ b/po/az.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-01 20:46+0000\n" +"POT-Creation-Date: 2024-01-17 18:03+0000\n" "PO-Revision-Date: 2023-03-17 16:03+0000\n" "Last-Translator: David Hewitt \n" "Language-Team: Azerbaijani