Skip to content

Commit

Permalink
Updated locale
Browse files Browse the repository at this point in the history
  • Loading branch information
szczyglis-dev committed Dec 9, 2023
1 parent c2b9867 commit 640870b
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 21 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PYGPT v2

Release: **2.0.9** build: **2023.12.09** | Official website: https://pygpt.net | Docs: https://pygpt.readthedocs.io
Release: **2.0.10** build: **2023.12.09** | Official website: https://pygpt.net | Docs: https://pygpt.readthedocs.io

PyPi: https://pypi.org/project/pygpt-net

Expand Down Expand Up @@ -618,11 +618,11 @@ Allows system commands execution. *Default:* `True`

## Command: Custom Commands

With the `Custom Commands` plugin, you can integrate PYGPT with your operating system and scripts or applications. You can define an unlimited number of custom commands and instruct GPT on when and how to execute them. Configuration is straightforward, and PYGPT includes a simple tutorial command for testing and learning how it works:
With the `Custom Commands` plugin, you can integrate **PYGPT** with your operating system and scripts or applications. You can define an unlimited number of custom commands and instruct GPT on when and how to execute them. Configuration is straightforward, and **PYGPT** includes a simple tutorial command for testing and learning how it works:

![v2_custom_cmd](https://github.com/szczyglis-dev/py-gpt/assets/61396542/f236a30e-3c17-49f4-94df-597cf41feed7)

To add a new custom command, click the 'ADD' button and then:
To add a new custom command, click the **ADD** button and then:

1. Provide a name for your command: this is a unique identifier for GPT.
2. Provide an `instruction` explaining what this command does; GPT will know when to use the command based on this instruction.
Expand All @@ -647,11 +647,11 @@ You can define as many placeholders and parameters as you desire.

Here are some predefined system placeholders for use:

- `{_time}` - current time in `Y-m-d` format
- `{_date}` - current date in `H:M:S` format
- `{_time}` - current time in `H:M:S` format
- `{_date}` - current date in `Y-m-d` format
- `{_datetime}` - current date and time in `Y-m-d H:M:S` format
- `{_file}` - path to the file from which the command is invoked
- `{_home}` - path to PYGPT's home/workworking directory
- `{_home}` - path to PYGPT's home/working directory

You can connect predefined placeholders with your own params.

Expand All @@ -676,7 +676,7 @@ PYGPT provides simple tutorial command to show how it work, to run it just ask G

```> please execute tutorial test command```

![v2_code_execute_example](https://github.com/szczyglis-dev/py-gpt/assets/61396542/acd16409-c66f-461b-ba6f-69ba682805f7)
![v2_code_execute_example](https://github.com/szczyglis-dev/py-gpt/assets/61396542/df94b500-d6fe-462f-98d8-6c8a9e42f9f4)


## Command: Google Web Search
Expand Down Expand Up @@ -1042,6 +1042,10 @@ may consume additional tokens that are not displayed in the main window.

# CHANGELOG

## 2.0.10 (2023-12-09)

- Updated locale

## 2.0.9 (2023-12-09)

- Added `Command: Custom Commands` feature; plugin allows to easily create and execute custom commands
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = 'PYGPT'
copyright = '2023, pygpt.net'
author = 'szczyglis-dev, Marcin Szczygliński'
release = '2.0.9'
release = '2.0.10'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
Binary file modified docs/source/images/v2_code_execute_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PYGPT v2 - pygpt.net
| **Project website:** https://pygpt.net
| **GitHub:** https://github.com/szczyglis-dev/py-gpt
| **PyPI:** https://pypi.org/project/pygpt-net
| **Release:** 2.0.9 (2023-12-08)
| **Release:** 2.0.10 (2023-12-08)
.. toctree::
:maxdepth: 3
Expand Down
4 changes: 2 additions & 2 deletions docs/source/plugins_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ You can define as many placeholders and parameters as you desire.

Here are some predefined system placeholders for use:

- ``{_time}`` - current time in ``Y-m-d`` format
- ``{_date}`` - current date in ``H:M:S`` format
- ``{_time}`` - current time in ``H:M:S`` format
- ``{_date}`` - current date in ``Y-m-d`` format
- ``{_datetime}`` - current date and time in ``Y-m-d H:M:S`` format
- ``{_file}`` - path to the file from which the command is invoked
- ``{_home}`` - path to PYGPT's home/working directory
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pygpt-net"
version = "2.0.9"
version = "2.0.10"
description = "Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, vision and image generation, real-time internet access, commands and code execution, files upload and download and more"
readme = "README.md"
authors = [{ name = "Marcin Szczygliński", email = "info@pygpt.net" }]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = '2.0.9'
VERSION = '2.0.10'
DESCRIPTION = 'Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, ' \
'vision and image generation, real-time internet access, commands and code execution, files upload and download and more'
LONG_DESCRIPTION = 'Package containing a GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 AI desktop assistant with chatbot, ' \
Expand Down
4 changes: 4 additions & 0 deletions src/pygpt_net/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.0.10 (2023-12-09)

- Updated locale

2.0.9 (2023-12-09)

- Added Command: Custom Commands feature; plugin allows to easily create and execute custom commands
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
# GitHub: https://github.com/szczyglis-dev/py-gpt #
# MIT License #
# Created By : Marcin Szczygliński #
# Updated Date: 2023.12.08 22:00:00 #
# Updated Date: 2023.12.09 12:00:00 #
# ================================================== #

__author__ = "Marcin Szczygliński"
__copyright__ = "Copyright 2023, Marcin Szczygliński"
__credits__ = ["Marcin Szczygliński"]
__license__ = "MIT"
__version__ = "2.0.9"
__version__ = "2.0.10"
__build__ = "2023.12.09"
__maintainer__ = "Marcin Szczygliński"
__github__ = "https://github.com/szczyglis-dev/py-gpt"
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/core/ui/widget/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# GitHub: https://github.com/szczyglis-dev/py-gpt #
# MIT License #
# Created By : Marcin Szczygliński #
# Updated Date: 2023.12.08 22:00:00 #
# Updated Date: 2023.12.09 12:00:00 #
# ================================================== #

from PySide6.QtCore import Qt, QAbstractItemModel, QModelIndex
Expand Down Expand Up @@ -432,7 +432,7 @@ def __init__(self, window=None, option_id=None, autoupdate=True, section=None, p
lambda: self.window.controller.context.selection_change())

# add button
add_btn = QPushButton('ADD', self)
add_btn = QPushButton(trans('action.add'), self)
add_btn.clicked.connect(self.add)

# layout
Expand Down
1 change: 1 addition & 0 deletions src/pygpt_net/data/locale/locale.en.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[LOCALE]
about.thanks = Special thanks to GitHub community
action.add = Add
action.delete = Delete
action.open_dir = Open in directory...
action.rename = Rename
Expand Down
1 change: 1 addition & 0 deletions src/pygpt_net/data/locale/locale.pl.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[LOCALE]
about.thanks = Specjalne podziękowania dla społeczności GitHub-a
action.add = Dodaj
action.delete = Usuń
action.open_dir = Otwórz w katalogu...
action.rename = Zmień nazwę
Expand Down
8 changes: 4 additions & 4 deletions version.rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(2, 0, 9, 0),
prodvers=(2, 0, 9, 0),
filevers=(2, 0, 10, 0),
prodvers=(2, 0, 10, 0),
mask=0x3f,
flags=0x0,
OS=0x4,
Expand All @@ -16,12 +16,12 @@ StringFileInfo(
u'040904B0',
[StringStruct(u'CompanyName', u'pygpt.net'),
StringStruct(u'FileDescription', u'Desktop AI Assistant powered by GPT-4, GPT-3 and DALL-E 3: assistant, chatbot, text completion, image generation and analyze and more'),
StringStruct(u'FileVersion', u'2.0.9'),
StringStruct(u'FileVersion', u'2.0.10'),
StringStruct(u'InternalName', u'Py-GPT'),
StringStruct(u'LegalCopyright', u'(c) 2023 pygpt.net, Marcin Szczygliński'),
StringStruct(u'OriginalFilename', u'Py-GPT.exe'),
StringStruct(u'ProductName', u'pygpt.net'),
StringStruct(u'ProductVersion', u'2.0.9')])
StringStruct(u'ProductVersion', u'2.0.10')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
Expand Down

0 comments on commit 640870b

Please sign in to comment.