Skip to content

Commit

Permalink
Update Crowdin logo
Browse files Browse the repository at this point in the history
See https://support.crowdin.com/using-logo/

A complication in this commit is that it uses symlinks to easily
incorporate dark and light variants of the logo on macOS without
duplicating any files.

This risks being complicated on Windows, so update README to provide
instructions on how to enable symlinks in modern versions of Windows.
  • Loading branch information
vslavik committed Sep 28, 2023
1 parent 52ea74f commit 3219c24
Show file tree
Hide file tree
Showing 19 changed files with 62 additions and 12 deletions.
12 changes: 4 additions & 8 deletions Poedit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
B22C5F0A17DDC67400ECAFD1 /* language.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22C5F0817DDC67400ECAFD1 /* language.cpp */; };
B22E69111A93699E002C06C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B22E69101A93699E002C06C7 /* SystemConfiguration.framework */; };
B230E2281A73F81400FB1E57 /* hidpi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B230E2261A73F81400FB1E57 /* hidpi.cpp */; };
B23149D32AC5CB4B00B42587 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B23149D22AC5CB4B00B42587 /* Assets.xcassets */; };
B2377A202159179B0085E9C4 /* catalog_xliff.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2377A1E2159179B0085E9C4 /* catalog_xliff.cpp */; };
B2380F9A1A9B821200B7D8C9 /* crowdin_gui.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2380F981A9B821200B7D8C9 /* crowdin_gui.cpp */; };
B238F675261237C4002D6845 /* filemonitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B238F674261237C4002D6845 /* filemonitor.cpp */; };
Expand Down Expand Up @@ -164,8 +165,6 @@
B2BF84C4170849D00030AA22 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2BF84BB170846940030AA22 /* Carbon.framework */; };
B2C21633251906CC002B144A /* recent_files.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C21632251906CC002B144A /* recent_files.cpp */; };
B2C62E191AA8A29000901D63 /* http_client.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C62E181AA8A29000901D63 /* http_client.cpp */; };
B2CE2FEB1A94EBDE0020A620 /* CrowdinLogoTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = B2CE2FE91A94EBDE0020A620 /* CrowdinLogoTemplate.png */; };
B2CE2FEC1A94EBDE0020A620 /* CrowdinLogoTemplate@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B2CE2FEA1A94EBDE0020A620 /* CrowdinLogoTemplate@2x.png */; };
B2CE2FEF1A94EBF50020A620 /* crowdin_client.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2CE2FED1A94EBF50020A620 /* crowdin_client.cpp */; };
B2CE2FF21A94F19D0020A620 /* Prefs-Accounts.png in Resources */ = {isa = PBXBuildFile; fileRef = B2CE2FF01A94F19D0020A620 /* Prefs-Accounts.png */; };
B2CE2FF31A94F19D0020A620 /* Prefs-Accounts@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B2CE2FF11A94F19D0020A620 /* Prefs-Accounts@2x.png */; };
Expand Down Expand Up @@ -356,6 +355,7 @@
B22E69101A93699E002C06C7 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
B230E2261A73F81400FB1E57 /* hidpi.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hidpi.cpp; sourceTree = "<group>"; };
B230E2271A73F81400FB1E57 /* hidpi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hidpi.h; sourceTree = "<group>"; };
B23149D22AC5CB4B00B42587 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = macos/Assets.xcassets; sourceTree = "<group>"; };
B2377A1E2159179B0085E9C4 /* catalog_xliff.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = catalog_xliff.cpp; sourceTree = "<group>"; };
B2377A1F2159179B0085E9C4 /* catalog_xliff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = catalog_xliff.h; sourceTree = "<group>"; };
B2380F981A9B821200B7D8C9 /* crowdin_gui.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = crowdin_gui.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -557,8 +557,6 @@
B2CDAA1B1A61866300261248 /* bg */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = bg; path = bg.lproj/InfoPlist.strings; sourceTree = "<group>"; };
B2CDAA1C1A61866300261248 /* bg */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = bg; path = bg.lproj/MoveApplication.strings; sourceTree = "<group>"; };
B2CDAA1D1A61867600261248 /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/InfoPlist.strings; sourceTree = "<group>"; };
B2CE2FE91A94EBDE0020A620 /* CrowdinLogoTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CrowdinLogoTemplate.png; sourceTree = "<group>"; };
B2CE2FEA1A94EBDE0020A620 /* CrowdinLogoTemplate@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "CrowdinLogoTemplate@2x.png"; sourceTree = "<group>"; };
B2CE2FED1A94EBF50020A620 /* crowdin_client.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = crowdin_client.cpp; sourceTree = "<group>"; };
B2CE2FEE1A94EBF50020A620 /* crowdin_client.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crowdin_client.h; sourceTree = "<group>"; };
B2CE2FF01A94F19D0020A620 /* Prefs-Accounts.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Prefs-Accounts.png"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1058,6 +1056,7 @@
B2E836DF1709ECF100F31559 /* Artwork */ = {
isa = PBXGroup;
children = (
B23149D22AC5CB4B00B42587 /* Assets.xcassets */,
B2B1EB0619E45FE7009A59B7 /* Toolbar */,
B2166F4019AE4024000A6AA0 /* Preferences */,
B24ACD8316F6263900399242 /* Poedit.iconset */,
Expand Down Expand Up @@ -1093,8 +1092,6 @@
B209005D19CAD64400D6382E /* SuggestionTMTemplate.png */,
B2E7F16F1E04534A005FA992 /* SuggestionTMTemplate@2x.png */,
B2E836E01709ED2A00F31559 /* window-close.png */,
B2CE2FE91A94EBDE0020A620 /* CrowdinLogoTemplate.png */,
B2CE2FEA1A94EBDE0020A620 /* CrowdinLogoTemplate@2x.png */,
B2B735F62A5865320037A0DA /* LocalazyLogo.png */,
B2B735F72A5865320037A0DA /* LocalazyLogo@2x.png */,
B25DB35B1E3E5102006D7228 /* ExtractorsGNUgettext.png */,
Expand Down Expand Up @@ -1283,6 +1280,7 @@
B2E836DE1709ECD600F31559 /* dsa_pub.pem in Resources */,
B24D19691E84503B00C6DD8D /* StatusWarning.png in Resources */,
B267EAFE1E045959005541E7 /* StatusError@2x.png in Resources */,
B23149D32AC5CB4B00B42587 /* Assets.xcassets in Resources */,
B2CE2FF31A94F19D0020A620 /* Prefs-Accounts@2x.png in Resources */,
B29B282019D2E87600D27DC8 /* sidebar.png in Resources */,
B2E836E91709ED2A00F31559 /* window-close.png in Resources */,
Expand Down Expand Up @@ -1311,7 +1309,6 @@
B2A012B321BEE4C5008051FD /* SuggestionTMTemplate@2x.png in Resources */,
B20F31D0216654DA005B7037 /* StatusWarningBlack.png in Resources */,
B20F31CC216654D2005B7037 /* StatusErrorBlack@2x.png in Resources */,
B2CE2FEB1A94EBDE0020A620 /* CrowdinLogoTemplate.png in Resources */,
B2B735F92A5865320037A0DA /* LocalazyLogo@2x.png in Resources */,
B2CE2FF21A94F19D0020A620 /* Prefs-Accounts.png in Resources */,
B2E3EE4E256D658500FCE1BF /* Prefs-Advanced.png in Resources */,
Expand All @@ -1325,7 +1322,6 @@
B29AE89717103992008D1F8A /* summary.xrc in Resources */,
B29AE89A17103992008D1F8A /* toolbar.xrc in Resources */,
B26E2C9125A245BD008D6DF1 /* CloseButtonHoverTemplate.png in Resources */,
B2CE2FEC1A94EBDE0020A620 /* CrowdinLogoTemplate@2x.png in Resources */,
B2EC60A41812D9D40059756A /* icudt57l.dat in Resources */,
B25DB35E1E3E5102006D7228 /* ExtractorsGNUgettext@2x.png in Resources */,
B24D196A1E84503B00C6DD8D /* StatusWarning@2x.png in Resources */,
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ They can be installed with Homebrew and `macos/Brewfile`:
brew bundle --file=macos/Brewfile


### Windows using Visual Studio 2019
### Windows using Visual Studio

You need a full git checkout to build on Windows; see below for details.
You need a full git checkout to build on Windows; see below for details. Note that the repository uses
symlinks and so you'll need to enabled [Developer Mode](https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development) and configure git to allow symlinks:

git config --global core.symlinks true

After checkout, use the `Poedit.sln` solution to build everything. To build the installer, open `win32/poedit.iss` in Inno Setup and compile the project.

Expand Down
Binary file added artwork/CrowdinLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/CrowdinLogo@1.5x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/CrowdinLogo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/CrowdinLogoDark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/CrowdinLogoDark@1.5x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/CrowdinLogoDark@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed artwork/CrowdinLogoTemplate.png
Binary file not shown.
Binary file removed artwork/CrowdinLogoTemplate@1.5x.png
Binary file not shown.
Binary file removed artwork/CrowdinLogoTemplate@2x.png
Binary file not shown.
3 changes: 2 additions & 1 deletion artwork/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ dist_uiicons_DATA = \
linux/sidebar.png \
AccountCrowdin.png \
AccountLocalazy.png \
CrowdinLogoTemplate.png \
CrowdinLogo.png \
CrowdinLogoDark.png \
LocalazyLogo.png \
DownvoteTemplate.png \
ExtractorsGNUgettext.png \
Expand Down
6 changes: 6 additions & 0 deletions artwork/macos/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
40 changes: 40 additions & 0 deletions artwork/macos/Assets.xcassets/CrowdinLogo.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"images" : [
{
"filename" : "CrowdinLogo.png",
"idiom" : "mac",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "CrowdinLogoDark.png",
"idiom" : "mac",
"scale" : "1x"
},
{
"filename" : "CrowdinLogo@2x.png",
"idiom" : "mac",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "CrowdinLogoDark@2x.png",
"idiom" : "mac",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
2 changes: 1 addition & 1 deletion src/crowdin_gui.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CrowdinLoginPanel : public AccountDetailPanel
CrowdinLoginPanel(wxWindow *parent, int flags = 0);

wxString GetServiceName() const override { return "Crowdin"; }
wxString GetServiceLogo() const override { return "CrowdinLogoTemplate"; }
wxString GetServiceLogo() const override { return "CrowdinLogo"; }
wxString GetServiceDescription() const override;
wxString GetServiceLearnMoreURL() const override;

Expand Down

0 comments on commit 3219c24

Please sign in to comment.