Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

german-words #146

Merged
merged 18 commits into from
Dec 27, 2024
Merged

german-words #146

merged 18 commits into from
Dec 27, 2024

Conversation

Fatih5252
Copy link
Contributor

New Package with german words

@Fatih5252
Copy link
Contributor Author

Its not fully done so updates will come soon

@Fatih5252
Copy link
Contributor Author

here are more changes

@smeech smeech marked this pull request as draft December 25, 2024 23:27
@smeech
Copy link
Collaborator

smeech commented Dec 25, 2024

A simple package of some 250 trigger/replace pairs. No script, shell, or potentially malicious code.

The replacement capitalisation varies, and there are some duplicates which are or aren't capitalised. I did wonder if Word Triggers and some instances of Case Propagation might add something to the package, but most of the words are not likely to occur at the beginning of sentences, I guess, and the latter is difficult to implement using a prefix character.

Would you have a look at the Hub and add a few more tags to help users find your package, please? languages is an obvious, popular example.

As you have suggested this is still a work in progress I've marked it as Draft, so we don't merge it prematurely, but let me know when you think it's ready.

@Fatih5252
Copy link
Contributor Author

Im on my way!

@Fatih5252
Copy link
Contributor Author

sorry, i forgot to change some words at the first commit

@Fatih5252
Copy link
Contributor Author

now solved everything, for now its okay but i will put more words.

Copy link
Collaborator

@smeech smeech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've enjoyed watching this evolve!

You're welcome to ignore my comments, and we can sort things out at the end, but there are a few things you might like to consider as we go along.

Best wishes!

packages/german-words/0.0.3/package.yml Outdated Show resolved Hide resolved
packages/german-words/0.0.3/_manifest.yml Outdated Show resolved Hide resolved
packages/german-words/0.0.3/README.md Outdated Show resolved Hide resolved
@Fatih5252
Copy link
Contributor Author

there you have it! i did everything, fixed the "potato" trigger at line 488, did add the propagate_case: true feature and added more tags!

Removed the "y" on the end of "German" so that it can be grouped with other packages with the same tag in the Hub.
@smeech
Copy link
Collaborator

smeech commented Dec 26, 2024

We're nearly there.

I downloaded your package to test, and find that, because :o, :a, and :u trigger first, all other words beginning with these letters won't ever be triggered. Try: :only, :on, :ocean, :old, :open, and similarly :apple etc. and :ugly etc.. There are various possible remedies, such as a double-prefix ::o, or a prefix/suffix, :a:, or a different prefix character, or add the word: true key/value to the other triggers in the file, etc..

Would you also kindly expand the README.md file a little, please? If you look at some of the examples in the Hub (and I'm sorry they don't all work!) e.g. https://hub.espanso.org/greetings-german. I see these as the shopfront of the package for anyone browsing. It doesn't need to be a lot more to make it interesting.

@Fatih5252
Copy link
Contributor Author

sorry for the "ä, ü, ö" mistake. i forgot about that.

@smeech
Copy link
Collaborator

smeech commented Dec 27, 2024

sorry for the "ä, ü, ö" mistake. i forgot about that.

Just spotted :sß, I'm afraid - same problem!

BTW, potato doesn't have a prefix : - only spotted it when I sorted the file (it would be neat to publish it that way, as it makes it easier to find specific triggers).

- trigger: ":visa"
replace: "visum"
propagate_case: true
- trigger: ":bagage"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"baggage" (spelling)?

@smeech smeech marked this pull request as ready for review December 27, 2024 11:49
@Fatih5252
Copy link
Contributor Author

sorry again! there we go now

@smeech
Copy link
Collaborator

smeech commented Dec 27, 2024

Thank you.

When you're happy with it, let me know, and I will go ahead and merge (after I've sorted it alphabetically! 😆 ).
If you're still working on it and want to wait, there's no rush. I note you've been diligently updating the version, so you can easily submit an update once it's in the Hub.

@Fatih5252
Copy link
Contributor Author

ok thats it! im guessing that this is all the basic words i could find and think!

Sorted by triggers, alphabetically.
@smeech smeech merged commit 89ec1b3 into espanso:main Dec 27, 2024
1 check passed
@smeech
Copy link
Collaborator

smeech commented Dec 27, 2024

Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants