Git Product home page Git Product logo

ve's People

Contributors

pryds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ve's Issues

Ve puts newline in long header entry

Hi,
thanks for a very useful program.

I noticed that when i save a .po file from Gnome in Ve, it has an extra newline character added that breaks up a header entry and makes other editors like poedit complain.

Minimal testing file: https://l10n.gnome.org/POT/gnome-themes-standard.master/gnome-themes-standard.master.sv.po

That file has a header entry named ""Report-Msgid-Bugs-To" that is separated in two lines due to its length. This looks like:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"themes-standard&keywords=I18N+L10N&component=general\n"

Note that the first line does not have a "\n". If I now open that file in Ve and save it, that line now gets a "\n" added. This makes it look like this:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-\n"
"themes-standard&keywords=I18N+L10N&component=general\n"

This is now treated as two header entries, causing poedit to complain about "Malformed header: 'themes-standard&keywords=I18N+L10N&component=general'"

Regards,
Anders Jonsson

Save as

Possibility to save a file under another name (with file chooser) than it was loaded; a "Save as". Also, if "Save" fails due to e.g. write permissions, the user should be presented with the file chooser.

Insert default values in ve.pot

Currently, 've.pot' is generated with default words like PROJECT, ORGANIZATION, PROJECT VERSION, EMAIL@ADDRESS. The problem of it, at least for "Report-Msgid-Bugs-To", is that TranslationProject won't allow set another one (PO files kept the default value, because the TranslationProject Robot forced this way)

It would be nice to replace them with unvariable values like PROJECT with 'Vé', ORGANIZATION with your name, "PROJECT VERSION" with Ve 0.2 (actually would be awesome to fetch the current version in source code) and EMAIL@ADDRESS (related to bug reports) with https://github.com/pryds/ve/issues

Possible wrong word in string

In the string "If you like this app, please consider donating an amount of your choice to the developer. (....) Every donation through the app goes directly to the developer of Vé, except for Google's usual 30% share."

The part "Every donation through the app" shouldn't be TO or FOR the app? Maybe Iǜe got it wrong, but I'd expect "through" google wallet or in-app or "for" referring to the destination of the donation.

"fuzzy" in header

If a file header has a "fuzzy" tag (seems to be normal for newly created pot files), it is not removed. It should always be.

Also, headerinfo might contain "FIRST AUTHOR EMAIL@ADDRESS, YEAR." which can be removed since Vé's own such lines is added.

goto string nr text input box

Hello! I work on a large file with many thousands of strings, would be nice to be able to jump to string nr instead of scroll all the way. Give a text input option besides the scroll wheel. Hope you like the idea.

Remember file chooser dir

The file chooser should open in the directory where it was last (if still applicaple; otherwise the default dir) -- at least upon previous succesful file read.

Website

Basic website -- basically containing the same info as README.md

Typo in translatable string

in msgctxt "play_description4b":

"please consider donating an amount of your choise"

In this string "choise" should be replaced with "choice"

abandoned project

Hi, since this seems like an abandoned project, does anyone know an alternative?

Thanks!

Umwanted changes in the header after saving a file

Ve changes the header of a po file in a way which is not desired, and there is obviously no configuration option to change the behavior. Example:

Before saving the file:

# German translation of foo.
# Copyright (C) 2014-2018 the authors of foo
# This file is distributed under the same license as the foo package.
#
# Here are some translator comments.
# 
# Mario Blättermann <[email protected]>, 2014-2018.
#

After saving the file:

# German translation of foo.
# Copyright (C) 2014-2018 the authors of foo
# This file is distributed under the same license as the foo package.
# Here are some translator comments.
# Mario Blättermann <[email protected]>, 2014-2018, 2018.

Ve removes empty comment lines which have been set for better readability. Moreover, it doesn't detect the years correctly, instead of accepting "2014-2018" as is, an extra "2018" will be added. So I'm forced to use a plain text editor to fix this again. Not that what I would expect.

String navigation buttons

Needed: Buttons for next (and previous?) string that needs attention (either not translated or fuzzy).

Double quotes not escaped

Strings are surrounded with "" doublequotes. If a doublequote appears inside a string, it must be escaped by a backslash.

Show already configs set by user in config screen

In the Settings screen, would be nice to be able to see in the very same screen what was already set in each field. Currently, one needs to enter each option to see what was set.

example.: Currently, "Name" has a explanation right below "Your Name". Maybe the explanation could be in the right side of the word "Name" between parenthesis and a little bit grayed out, and below could be the translator name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.