-
-
Notifications
You must be signed in to change notification settings - Fork 811
Use gettext for recurring phrases!!!!! #684
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
Open
johnzhou721
wants to merge
71
commits into
beeware:lektor
Choose a base branch
from
johnzhou721:jinjai18n
base: lektor
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
331ee2b
switch to gettext
johnzhou721 86d0e9f
verify that all |trans statements without bag specification are replaced
johnzhou721 af41d4f
translate most chinese strings
johnzhou721 d9499db
more context
johnzhou721 13540dd
Update templates/project.html
johnzhou721 e6b1e27
start filling in arabic translations, also correct badge macro
johnzhou721 2936cf9
work done today... still no fix for missing strings
johnzhou721 e6ba812
workaround a translaiton bug
johnzhou721 88d637a
restore pluralization
johnzhou721 42a8f3c
update the plugin a bit
johnzhou721 5dc5542
add plural forms
johnzhou721 69ac875
plural forms (filled in missing ones, need the sprinting mentor part)
johnzhou721 07ed969
add comment
johnzhou721 84e158c
use an older gettext on a gnu/linux vm
johnzhou721 14ab6aa
add all arabic strings;
johnzhou721 337817e
add more arabic translations... but don't know why they aren't showign
johnzhou721 f3ddfd5
fuzzy out strings whose last git blame is not a translation commit
johnzhou721 78395ff
clean out unused plugin functions, fix bug w/ languages
johnzhou721 258f9cd
fill in portugese translations
johnzhou721 499d8fc
extract title labels, bugfix to allow opening in GNOME Translation Ed…
johnzhou721 13e9255
revmoe a test file, proper header to arabic version, fix some bugs, u…
johnzhou721 1ee8352
Add some zh_TW translations.
johnzhou721 1c02080
arabic: fuzzy everything
johnzhou721 3ab4928
portugese: missing translations filled in, fuzzy everything, correct …
johnzhou721 4e2c8f3
update zh_CN a bit
johnzhou721 0e189dc
es translation copy paste
johnzhou721 a5b3674
Update templates/event.html
johnzhou721 53be59d
rebuild
johnzhou721 b3e8e89
Apply suggestions from code review
johnzhou721 78ff267
¡Hurra! (this commit msg is translated w/ google)
johnzhou721 7c6a6a6
fuzzy fixup in arabic, entre french translations
johnzhou721 008b007
Apply suggestions from code review
johnzhou721 e982c82
start putting in italian translations
johnzhou721 b8608bb
put in italiian translations
johnzhou721 897b54e
fill in rest of translations, fuzzy appropriate navigation labels
johnzhou721 d6c7fcc
bugfix on labels to translate the colon, remove databags
johnzhou721 299d10d
ban plurals in auto translate
johnzhou721 2490f90
Update i18n/contents+ar.po
johnzhou721 1a7b793
Apply suggestions from code review
johnzhou721 612ae21
Update i18n/contents+pt.po
johnzhou721 f0fa78d
Update i18n/contents+es.po
johnzhou721 9139c13
Update i18n/contents+it.po
johnzhou721 a10dfca
Update i18n/contents+pl.po
johnzhou721 13da75b
Update i18n/contents+zh_CN.po
johnzhou721 4033dae
workign copy
johnzhou721 59ffdb7
why did i forget to reinstall plugin... look at this huge diff :(
johnzhou721 8341403
fill labels
johnzhou721 8b2bcdc
add german
johnzhou721 1c7ee08
finish off this PR
johnzhou721 deeb7cb
fixups
johnzhou721 5c41130
Update i18n/contents+fr.po
johnzhou721 d8f0054
Update i18n/contents+pt.po
johnzhou721 d68c101
Update i18n/contents+fr.po
johnzhou721 672a326
rebuild site
johnzhou721 1eaf59c
Merge remote-tracking branch 'origin/lektor' into jinjai18n
johnzhou721 6c94a6d
reformat
johnzhou721 1c71bce
persian basics from #516
johnzhou721 962af73
Update i18n/contents+fa.po
johnzhou721 bafc25e
Update i18n/contents+fa.po
johnzhou721 9e9e1fd
Update i18n/contents+fa.po
johnzhou721 4052723
Update i18n/contents+fa.po
johnzhou721 b7c3fcd
Merge remote-tracking branch 'upstream/lektor' into jinjai18n
johnzhou721 8f316f2
Merge remote-tracking branch 'upstream/lektor' into jinjai18n
johnzhou721 79edb56
Merge remote-tracking branch 'upstream' into jinjai18n
johnzhou721 2ae5660
Update packages/lektor_beeware_plugin/pyproject.toml
johnzhou721 a21b22d
Remove workaround
johnzhou721 1324d11
fix a bug, rebuild to reformat
johnzhou721 639c7ad
Merge remote-tracking branch 'upstream/lektor' into jinjai18n
johnzhou721 74239ef
Merge remote-tracking branch 'upstream/lektor' into jinjai18n
johnzhou721 86eccb3
linebreak using my gettext version conventions to prvent further big …
johnzhou721 08ecfb0
Merge remote-tracking branch 'upstream/lektor' into jinjai18n, msgcat…
johnzhou721 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[jinja2: **/templates/**.html] | ||
encoding = utf-8 | ||
trimmed = True | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
extensions = jinja2.ext.do |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to replace with new version after beeware/lektor-i18n-plugin#6 gets merged. That is just for extra safety, seem to work fine without it but you never know when the internal impls of any of those programs change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
../ is my local checkout I used to update the pos