Giter VIP home page Giter VIP logo

trans-calc's Introduction

Trans-Calc

Trans-Calc is a very simple rate calculator for freelance translators.

Translation agencies often apply word discounts depending on translation memory matches. Therefore, it's not always very straightforward to calculate your total rate for an assignment.

A typical discount matrix from an agency can look like this:

ICE match -> 25% of rate
100% match -> 25% of rate
95-99 Fuzzy match -> 30% of rate
50-94 Fuzzy match -> 60% of rate
50-0 New words -> 100% of rate

With Trans-Calc, you can define specific matrices for each client, and insert the word count for each type of match.

If you would like to see a specific feature, please create an issue.

How to use Trans-Calc

  1. Clone the repository with git clone https://github.com/ThePhilgrim/trans-calc.
  2. Install the necessary dependencies with pip install -r requirements.txt (if you want to do this in a virtual environment, see step two below)

For developers

If you would like to contribute to Trans-Calc, thank you! You are most welcome to do so.

To start, please follow these steps:

  1. Fork the repository and git clone it to your local machine
  2. Create a virtual environment and activate it
    • Mac/Linux: python3 -m venv env -> source env/bin/activate
    • Windows: py -m venv env -> env\Scripts\activate
  3. Download the necessary dependencies for development
    • Mac/Linux/Windows pip install -r requirements-dev.txt requirements.txt
  4. Happy coding!

trans-calc's People

Contributors

thephilgrim avatar akuli avatar

Watchers

 avatar

trans-calc's Issues

Editing a client creates a new one

When a client is edited, a new instance is created. That way, the edited client is added in addition to the old client instead of replacing it.

Clear entries button

If I need to calculate the rate for several projects, I need to manually delete the text in all entries before inserting a new value.

Make it possible to move client order in drop down

I added client X first and client Y second. However, most of my work comes from client Y. When I open the program, it would therefore be better if client Y was pre-selected. At the moment, I need to either go into the config file and adjust this and then restart the program, or delete client X and remake it.

29% discount doesn't work

  1. Add a client. Set one of the match ranges (doesn't matter how it's named) to 29% discount
  2. Click "Save Client".
  3. Click "Edit Client". The discount has changed to 28% instead of 29%.

Entry fields are not validated in any way

Currently, entry fields are not properly validated, which could lead to unexpected bugs. There are also no error messages when entering invalid data.

This is both for when adding a client, or when entering words counts in the TM matrix

Close edit client window on save

It would be better to close the edit client window when you save an edit. That way users don't start creating new clients in the edit client window. Might cause bugs in the future.

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.